Class TerraformError (0.28.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
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

HTTP_RESPONSE_CODE_FIELD_NUMBER

public static final int HTTP_RESPONSE_CODE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_ADDRESS_FIELD_NUMBER

public static final int RESOURCE_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TerraformError getDefaultInstance()
Returns
Type Description
TerraformError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TerraformError.Builder newBuilder()
Returns
Type Description
TerraformError.Builder

newBuilder(TerraformError prototype)

public static TerraformError.Builder newBuilder(TerraformError prototype)
Parameter
Name Description
prototype TerraformError
Returns
Type Description
TerraformError.Builder

parseDelimitedFrom(InputStream input)

public static TerraformError parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TerraformError
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformError
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TerraformError parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TerraformError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TerraformError parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TerraformError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TerraformError parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TerraformError
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformError
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TerraformError parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TerraformError
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformError
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TerraformError parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TerraformError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TerraformError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformError
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TerraformError> parser()
Returns
Type Description
Parser<TerraformError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TerraformError getDefaultInstanceForType()
Returns
Type Description
TerraformError

getError()

public Status getError()

Original error response from underlying Google API, if available.

.google.rpc.Status error = 4;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorDescription()

public String getErrorDescription()

A human-readable error description.

string error_description = 3;

Returns
Type Description
String

The errorDescription.

getErrorDescriptionBytes()

public ByteString getErrorDescriptionBytes()

A human-readable error description.

string error_description = 3;

Returns
Type Description
ByteString

The bytes for errorDescription.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Original error response from underlying Google API, if available.

.google.rpc.Status error = 4;

Returns
Type Description
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
Type Description
int

The httpResponseCode.

getParserForType()

public Parser<TerraformError> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for resourceAddress.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasError()

public boolean hasError()

Original error response from underlying Google API, if available.

.google.rpc.Status error = 4;

Returns
Type Description
boolean

Whether the error field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TerraformError.Builder newBuilderForType()
Returns
Type Description
TerraformError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TerraformError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TerraformError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TerraformError.Builder toBuilder()
Returns
Type Description
TerraformError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException