Interface ErrorsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    [Output Only] The error type identifier for this error.
    com.google.protobuf.ByteString
    [Output Only] The error type identifier for this error.
    getErrorDetails(int index)
    [Output Only] An optional list of messages that contain the error details.
    int
    [Output Only] An optional list of messages that contain the error details.
    [Output Only] An optional list of messages that contain the error details.
    [Output Only] An optional list of messages that contain the error details.
    [Output Only] An optional list of messages that contain the error details.
    [Output Only] Indicates the field in the request that caused the error.
    com.google.protobuf.ByteString
    [Output Only] Indicates the field in the request that caused the error.
    [Output Only] An optional, human-readable error message.
    com.google.protobuf.ByteString
    [Output Only] An optional, human-readable error message.
    boolean
    [Output Only] The error type identifier for this error.
    boolean
    [Output Only] Indicates the field in the request that caused the error.
    boolean
    [Output Only] An optional, human-readable error message.

    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

    • hasCode

      boolean hasCode()
       [Output Only] The error type identifier for this error.
       
      optional string code = 3059181;
      Returns:
      Whether the code field is set.
    • getCode

      String getCode()
       [Output Only] The error type identifier for this error.
       
      optional string code = 3059181;
      Returns:
      The code.
    • getCodeBytes

      com.google.protobuf.ByteString getCodeBytes()
       [Output Only] The error type identifier for this error.
       
      optional string code = 3059181;
      Returns:
      The bytes for code.
    • getErrorDetailsList

      List<ErrorDetails> getErrorDetailsList()
       [Output Only] An optional list of messages that contain the error
       details. There is a set of defined message types to use for providing
       details.The syntax depends on the error code. For example,
       QuotaExceededInfo will have details when the error code is
       QUOTA_EXCEEDED.
       
      repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;
    • getErrorDetails

      ErrorDetails getErrorDetails(int index)
       [Output Only] An optional list of messages that contain the error
       details. There is a set of defined message types to use for providing
       details.The syntax depends on the error code. For example,
       QuotaExceededInfo will have details when the error code is
       QUOTA_EXCEEDED.
       
      repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;
    • getErrorDetailsCount

      int getErrorDetailsCount()
       [Output Only] An optional list of messages that contain the error
       details. There is a set of defined message types to use for providing
       details.The syntax depends on the error code. For example,
       QuotaExceededInfo will have details when the error code is
       QUOTA_EXCEEDED.
       
      repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;
    • getErrorDetailsOrBuilderList

      List<? extends ErrorDetailsOrBuilder> getErrorDetailsOrBuilderList()
       [Output Only] An optional list of messages that contain the error
       details. There is a set of defined message types to use for providing
       details.The syntax depends on the error code. For example,
       QuotaExceededInfo will have details when the error code is
       QUOTA_EXCEEDED.
       
      repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;
    • getErrorDetailsOrBuilder

      ErrorDetailsOrBuilder getErrorDetailsOrBuilder(int index)
       [Output Only] An optional list of messages that contain the error
       details. There is a set of defined message types to use for providing
       details.The syntax depends on the error code. For example,
       QuotaExceededInfo will have details when the error code is
       QUOTA_EXCEEDED.
       
      repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;
    • hasLocation

      boolean hasLocation()
       [Output Only] Indicates the field in the request that caused the error.
       This property is optional.
       
      optional string location = 290430901;
      Returns:
      Whether the location field is set.
    • getLocation

      String getLocation()
       [Output Only] Indicates the field in the request that caused the error.
       This property is optional.
       
      optional string location = 290430901;
      Returns:
      The location.
    • getLocationBytes

      com.google.protobuf.ByteString getLocationBytes()
       [Output Only] Indicates the field in the request that caused the error.
       This property is optional.
       
      optional string location = 290430901;
      Returns:
      The bytes for location.
    • hasMessage

      boolean hasMessage()
       [Output Only] An optional, human-readable error message.
       
      optional string message = 418054151;
      Returns:
      Whether the message field is set.
    • getMessage

      String getMessage()
       [Output Only] An optional, human-readable error message.
       
      optional string message = 418054151;
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
       [Output Only] An optional, human-readable error message.
       
      optional string message = 418054151;
      Returns:
      The bytes for message.