public final class TerraformError extends GeneratedMessageV3 implements TerraformErrorOrBuilder
Errors encountered during actuation using Terraform
Protobuf type google.cloud.config.v1.TerraformError
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ERROR_DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ERROR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int HTTP_RESPONSE_CODE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int RESOURCE_ADDRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static TerraformError getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static TerraformError.Builder newBuilder()
public static TerraformError.Builder newBuilder(TerraformError prototype)
public static TerraformError parseDelimitedFrom(InputStream input)
public static TerraformError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TerraformError parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static TerraformError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TerraformError parseFrom(ByteString data)
public static TerraformError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TerraformError parseFrom(CodedInputStream input)
public static TerraformError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TerraformError parseFrom(InputStream input)
public static TerraformError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TerraformError parseFrom(ByteBuffer data)
public static TerraformError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<TerraformError> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public TerraformError getDefaultInstanceForType()
Original error response from underlying Google API, if available.
.google.rpc.Status error = 4;
Returns |
---|
Type | Description |
com.google.rpc.Status | The error.
|
public String getErrorDescription()
A human-readable error description.
string error_description = 3;
Returns |
---|
Type | Description |
String | The errorDescription.
|
public ByteString getErrorDescriptionBytes()
A human-readable error description.
string error_description = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for errorDescription.
|
public StatusOrBuilder getErrorOrBuilder()
Original error response from underlying Google API, if available.
.google.rpc.Status error = 4;
Returns |
---|
Type | Description |
com.google.rpc.StatusOrBuilder | |
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.
|
public Parser<TerraformError> getParserForType()
Overrides
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.
|
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.
|
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TerraformError.Builder newBuilderForType()
protected TerraformError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public TerraformError.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides