public final class ImportIaCError extends GeneratedMessage implements ImportIaCErrorOrBuilder
Message representing the error encountered during import.
Example: A variable with name "name" is expected to be of type string, but is
provided as number, inside a module named "my_module".
{
resource_address: "module.my_module.name"
file: "gs://my_bucket/main.tf"
range: {
start: {
line: 2
byte_offset: 1
column: 2
}
end: {
line: 2
byte_offset: 10
column: 10
}
}
description: "Error parsing field: \"name\". Expected type \"string\" but got
\"number\"."
type: INVALID
}
Protobuf type google.cloud.designcenter.v1.ImportIaCError
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FILE_FIELD_NUMBER
public static final int FILE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RANGE_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESOURCE_ADDRESS_FIELD_NUMBER
public static final int RESOURCE_ADDRESS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ImportIaCError getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportIaCError.Builder newBuilder()
newBuilder(ImportIaCError prototype)
public static ImportIaCError.Builder newBuilder(ImportIaCError prototype)
public static ImportIaCError parseDelimitedFrom(InputStream input)
public static ImportIaCError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportIaCError parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportIaCError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportIaCError parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportIaCError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportIaCError parseFrom(CodedInputStream input)
public static ImportIaCError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportIaCError parseFrom(InputStream input)
public static ImportIaCError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportIaCError parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportIaCError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportIaCError> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ImportIaCError getDefaultInstanceForType()
getDescription()
public 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 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 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];
getErrorCodeValue()
public 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()
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 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.
|
getParserForType()
public Parser<ImportIaCError> getParserForType()
Overrides
getRange()
public 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 CodeRangeOrBuilder getRangeOrBuilder()
Output only. The code portion where this error occurs.
.google.cloud.designcenter.v1.CodeRange range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResourceAddress()
public 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 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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getType()
public ImportIaCError.Type getType()
Output only. The type of error.
.google.cloud.designcenter.v1.ImportIaCError.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTypeValue()
public 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 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportIaCError.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ImportIaCError.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ImportIaCError.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides