Interface TerraformErrorOrBuilder (0.4.0)

public interface TerraformErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract 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 abstract String getErrorDescription()

A human-readable error description.

string error_description = 3;

Returns
TypeDescription
String

The errorDescription.

getErrorDescriptionBytes()

public abstract ByteString getErrorDescriptionBytes()

A human-readable error description.

string error_description = 3;

Returns
TypeDescription
ByteString

The bytes for errorDescription.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Original error response from underlying Google API, if available.

.google.rpc.Status error = 4;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getHttpResponseCode()

public abstract 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.

getResourceAddress()

public abstract 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 abstract 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.

hasError()

public abstract 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.