Interface ErrorsOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCode()
      [Output Only] The error type identifier for this error.
      com.google.protobuf.ByteString getCodeBytes()
      [Output Only] The error type identifier for this error.
      ErrorDetails getErrorDetails​(int index)
      [Output Only] An optional list of messages that contain the error details.
      int getErrorDetailsCount()
      [Output Only] An optional list of messages that contain the error details.
      List<ErrorDetails> getErrorDetailsList()
      [Output Only] An optional list of messages that contain the error details.
      ErrorDetailsOrBuilder getErrorDetailsOrBuilder​(int index)
      [Output Only] An optional list of messages that contain the error details.
      List<? extends ErrorDetailsOrBuilder> getErrorDetailsOrBuilderList()
      [Output Only] An optional list of messages that contain the error details.
      String getLocation()
      [Output Only] Indicates the field in the request that caused the error.
      com.google.protobuf.ByteString getLocationBytes()
      [Output Only] Indicates the field in the request that caused the error.
      String getMessage()
      [Output Only] An optional, human-readable error message.
      com.google.protobuf.ByteString getMessageBytes()
      [Output Only] An optional, human-readable error message.
      boolean hasCode()
      [Output Only] The error type identifier for this error.
      boolean hasLocation()
      [Output Only] Indicates the field in the request that caused the error.
      boolean hasMessage()
      [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 Detail

      • 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.