Interface TerraformErrorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TerraformError, TerraformError.Builder

@Generated public interface TerraformErrorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Output only.
    A human-readable error description.
    com.google.protobuf.ByteString
    A human-readable error description.
    Output only.
    int
    HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource.
    Address of the resource associated with the error, e.g.
    com.google.protobuf.ByteString
    Address of the resource associated with the error, e.g.
    boolean
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getResourceAddress

      String getResourceAddress()
       Address of the resource associated with the error,
       e.g. `google_compute_network.vpc_network`.
       
      string resource_address = 1;
      Returns:
      The resourceAddress.
    • getResourceAddressBytes

      com.google.protobuf.ByteString getResourceAddressBytes()
       Address of the resource associated with the error,
       e.g. `google_compute_network.vpc_network`.
       
      string resource_address = 1;
      Returns:
      The bytes for resourceAddress.
    • getHttpResponseCode

      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:
      The httpResponseCode.
    • getErrorDescription

      String getErrorDescription()
       A human-readable error description.
       
      string error_description = 3;
      Returns:
      The errorDescription.
    • getErrorDescriptionBytes

      com.google.protobuf.ByteString getErrorDescriptionBytes()
       A human-readable error description.
       
      string error_description = 3;
      Returns:
      The bytes for errorDescription.
    • hasError

      boolean hasError()
       Output only. Original error response from underlying Google API, if
       available.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the error field is set.
    • getError

      Status getError()
       Output only. Original error response from underlying Google API, if
       available.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The error.
    • getErrorOrBuilder

      StatusOrBuilder getErrorOrBuilder()
       Output only. Original error response from underlying Google API, if
       available.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];