Interface ImportIaCErrorOrBuilder (0.3.0)

public interface ImportIaCErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Output only. The description of the error.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Output only. The description of the error.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getErrorCode()

public abstract ImportIaCError.ErrorCode getErrorCode()

Output only. Specific error code for the import error.

.google.cloud.designcenter.v1.ImportIaCError.ErrorCode error_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportIaCError.ErrorCode

The errorCode.

getErrorCodeValue()

public abstract int getErrorCodeValue()

Output only. Specific error code for the import error.

.google.cloud.designcenter.v1.ImportIaCError.ErrorCode error_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for errorCode.

getFile()

public abstract String getFile()

Output only. The file where the error has occurred.

string file = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The file.

getFileBytes()

public abstract ByteString getFileBytes()

Output only. The file where the error has occurred.

string file = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for file.

getRange()

public abstract CodeRange getRange()

Output only. The code portion where this error occurs.

.google.cloud.designcenter.v1.CodeRange range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CodeRange

The range.

getRangeOrBuilder()

public abstract CodeRangeOrBuilder getRangeOrBuilder()

Output only. The code portion where this error occurs.

.google.cloud.designcenter.v1.CodeRange range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CodeRangeOrBuilder

getResourceAddress()

public abstract String getResourceAddress()

Output only. The resource address of the error.

string resource_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resourceAddress.

getResourceAddressBytes()

public abstract ByteString getResourceAddressBytes()

Output only. The resource address of the error.

string resource_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resourceAddress.

getType()

public abstract ImportIaCError.Type getType()

Output only. The type of error.

.google.cloud.designcenter.v1.ImportIaCError.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportIaCError.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Output only. The type of error.

.google.cloud.designcenter.v1.ImportIaCError.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasRange()

public abstract boolean hasRange()

Output only. The code portion where this error occurs.

.google.cloud.designcenter.v1.CodeRange range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the range field is set.