Interface Generated.StatusCauseOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Generated.StatusCause, Generated.StatusCause.Builder
    Enclosing class:
    Generated

    public static interface Generated.StatusCauseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getField()
      The field of the resource that has caused this error, as named by its JSON serialization.
      com.google.protobuf.ByteString getFieldBytes()
      The field of the resource that has caused this error, as named by its JSON serialization.
      String getMessage()
      A human-readable description of the cause of the error.
      com.google.protobuf.ByteString getMessageBytes()
      A human-readable description of the cause of the error.
      String getReason()
      A machine-readable description of the cause of the error.
      com.google.protobuf.ByteString getReasonBytes()
      A machine-readable description of the cause of the error.
      boolean hasField()
      The field of the resource that has caused this error, as named by its JSON serialization.
      boolean hasMessage()
      A human-readable description of the cause of the error.
      boolean hasReason()
      A machine-readable description of the cause of the error.
      • 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

      • hasReason

        boolean hasReason()
         A machine-readable description of the cause of the error. If this value is
         empty there is no information available.
         +optional
         
        optional string reason = 1;
        Returns:
        Whether the reason field is set.
      • getReason

        String getReason()
         A machine-readable description of the cause of the error. If this value is
         empty there is no information available.
         +optional
         
        optional string reason = 1;
        Returns:
        The reason.
      • getReasonBytes

        com.google.protobuf.ByteString getReasonBytes()
         A machine-readable description of the cause of the error. If this value is
         empty there is no information available.
         +optional
         
        optional string reason = 1;
        Returns:
        The bytes for reason.
      • hasMessage

        boolean hasMessage()
         A human-readable description of the cause of the error.  This field may be
         presented as-is to a reader.
         +optional
         
        optional string message = 2;
        Returns:
        Whether the message field is set.
      • getMessage

        String getMessage()
         A human-readable description of the cause of the error.  This field may be
         presented as-is to a reader.
         +optional
         
        optional string message = 2;
        Returns:
        The message.
      • getMessageBytes

        com.google.protobuf.ByteString getMessageBytes()
         A human-readable description of the cause of the error.  This field may be
         presented as-is to a reader.
         +optional
         
        optional string message = 2;
        Returns:
        The bytes for message.
      • hasField

        boolean hasField()
         The field of the resource that has caused this error, as named by its JSON
         serialization. May include dot and postfix notation for nested attributes.
         Arrays are zero-indexed.  Fields may appear more than once in an array of
         causes due to fields having multiple errors.
         Optional.
        
         Examples:
           "name" - the field "name" on the current resource
           "items[0].name" - the field "name" on the first array entry in "items"
         +optional
         
        optional string field = 3;
        Returns:
        Whether the field field is set.
      • getField

        String getField()
         The field of the resource that has caused this error, as named by its JSON
         serialization. May include dot and postfix notation for nested attributes.
         Arrays are zero-indexed.  Fields may appear more than once in an array of
         causes due to fields having multiple errors.
         Optional.
        
         Examples:
           "name" - the field "name" on the current resource
           "items[0].name" - the field "name" on the first array entry in "items"
         +optional
         
        optional string field = 3;
        Returns:
        The field.
      • getFieldBytes

        com.google.protobuf.ByteString getFieldBytes()
         The field of the resource that has caused this error, as named by its JSON
         serialization. May include dot and postfix notation for nested attributes.
         Arrays are zero-indexed.  Fields may appear more than once in an array of
         causes due to fields having multiple errors.
         Optional.
        
         Examples:
           "name" - the field "name" on the current resource
           "items[0].name" - the field "name" on the first array entry in "items"
         +optional
         
        optional string field = 3;
        Returns:
        The bytes for field.