Class TerraformError (0.11.0)

public final class TerraformError extends GeneratedMessageV3 implements TerraformErrorOrBuilder

Errors encountered during actuation using Terraform

Protobuf type google.cloud.config.v1.TerraformError

Static Fields

ERROR_DESCRIPTION_FIELD_NUMBER

public static final int ERROR_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

HTTP_RESPONSE_CODE_FIELD_NUMBER

public static final int HTTP_RESPONSE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_ADDRESS_FIELD_NUMBER

public static final int RESOURCE_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TerraformError getDefaultInstance()
Returns
TypeDescription
TerraformError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TerraformError.Builder newBuilder()
Returns
TypeDescription
TerraformError.Builder

newBuilder(TerraformError prototype)

public static TerraformError.Builder newBuilder(TerraformError prototype)
Parameter
NameDescription
prototypeTerraformError
Returns
TypeDescription
TerraformError.Builder

parseDelimitedFrom(InputStream input)

public static TerraformError parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TerraformError parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TerraformError parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TerraformError parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TerraformError parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TerraformError parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformError
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TerraformError> parser()
Returns
TypeDescription
Parser<TerraformError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TerraformError getDefaultInstanceForType()
Returns
TypeDescription
TerraformError

getError()

public Status getError()

Original error response from underlying Google API, if available.

.google.rpc.Status error = 4;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorDescription()

public String getErrorDescription()

A human-readable error description.

string error_description = 3;

Returns
TypeDescription
String

The errorDescription.

getErrorDescriptionBytes()

public ByteString getErrorDescriptionBytes()

A human-readable error description.

string error_description = 3;

Returns
TypeDescription
ByteString

The bytes for errorDescription.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Original error response from underlying Google API, if available.

.google.rpc.Status error = 4;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getHttpResponseCode()

public int getHttpResponseCode()

HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource. If unset or 0, no HTTP response code was returned by Terraform.

int32 http_response_code = 2;

Returns
TypeDescription
int

The httpResponseCode.

getParserForType()

public Parser<TerraformError> getParserForType()
Returns
TypeDescription
Parser<TerraformError>
Overrides

getResourceAddress()

public String getResourceAddress()

Address of the resource associated with the error, e.g. google_compute_network.vpc_network.

string resource_address = 1;

Returns
TypeDescription
String

The resourceAddress.

getResourceAddressBytes()

public ByteString getResourceAddressBytes()

Address of the resource associated with the error, e.g. google_compute_network.vpc_network.

string resource_address = 1;

Returns
TypeDescription
ByteString

The bytes for resourceAddress.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasError()

public boolean hasError()

Original error response from underlying Google API, if available.

.google.rpc.Status error = 4;

Returns
TypeDescription
boolean

Whether the error field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TerraformError.Builder newBuilderForType()
Returns
TypeDescription
TerraformError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TerraformError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TerraformError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TerraformError.Builder toBuilder()
Returns
TypeDescription
TerraformError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException