Interface TerraformErrorOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.rpc.Status getError()
      Original error response from underlying Google API, if available.
      String getErrorDescription()
      A human-readable error description.
      com.google.protobuf.ByteString getErrorDescriptionBytes()
      A human-readable error description.
      com.google.rpc.StatusOrBuilder getErrorOrBuilder()
      Original error response from underlying Google API, if available.
      int getHttpResponseCode()
      HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource.
      String getResourceAddress()
      Address of the resource associated with the error, e.g.
      com.google.protobuf.ByteString getResourceAddressBytes()
      Address of the resource associated with the error, e.g.
      boolean hasError()
      Original error response from underlying Google API, if available.
      • 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 Detail

      • 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()
         Original error response from underlying Google API, if available.
         
        .google.rpc.Status error = 4;
        Returns:
        Whether the error field is set.
      • getError

        com.google.rpc.Status getError()
         Original error response from underlying Google API, if available.
         
        .google.rpc.Status error = 4;
        Returns:
        The error.
      • getErrorOrBuilder

        com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         Original error response from underlying Google API, if available.
         
        .google.rpc.Status error = 4;