Interface ErrorOrBuilder

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

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

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsDetails​(String key)
      Additional information about the error.
      Map<String,​String> getDetails()
      Deprecated.
      int getDetailsCount()
      Additional information about the error.
      Map<String,​String> getDetailsMap()
      Additional information about the error.
      String getDetailsOrDefault​(String key, String defaultValue)
      Additional information about the error.
      String getDetailsOrThrow​(String key)
      Additional information about the error.
      com.google.protobuf.Timestamp getErrorTime()
      The time when the error occurred.
      com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()
      The time when the error occurred.
      String getErrorUuid()
      A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
      com.google.protobuf.ByteString getErrorUuidBytes()
      A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
      String getMessage()
      A message containing more information about the error that occurred.
      com.google.protobuf.ByteString getMessageBytes()
      A message containing more information about the error that occurred.
      String getReason()
      A title that explains the reason for the error.
      com.google.protobuf.ByteString getReasonBytes()
      A title that explains the reason for the error.
      boolean hasErrorTime()
      The time when the error occurred.
      • 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

      • getReason

        String getReason()
         A title that explains the reason for the error.
         
        string reason = 1;
        Returns:
        The reason.
      • getReasonBytes

        com.google.protobuf.ByteString getReasonBytes()
         A title that explains the reason for the error.
         
        string reason = 1;
        Returns:
        The bytes for reason.
      • getErrorUuid

        String getErrorUuid()
         A unique identifier for this specific error,
         allowing it to be traced throughout the system in logs and API responses.
         
        string error_uuid = 2;
        Returns:
        The errorUuid.
      • getErrorUuidBytes

        com.google.protobuf.ByteString getErrorUuidBytes()
         A unique identifier for this specific error,
         allowing it to be traced throughout the system in logs and API responses.
         
        string error_uuid = 2;
        Returns:
        The bytes for errorUuid.
      • getMessage

        String getMessage()
         A message containing more information about the error that occurred.
         
        string message = 3;
        Returns:
        The message.
      • getMessageBytes

        com.google.protobuf.ByteString getMessageBytes()
         A message containing more information about the error that occurred.
         
        string message = 3;
        Returns:
        The bytes for message.
      • hasErrorTime

        boolean hasErrorTime()
         The time when the error occurred.
         
        .google.protobuf.Timestamp error_time = 4;
        Returns:
        Whether the errorTime field is set.
      • getErrorTime

        com.google.protobuf.Timestamp getErrorTime()
         The time when the error occurred.
         
        .google.protobuf.Timestamp error_time = 4;
        Returns:
        The errorTime.
      • getErrorTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()
         The time when the error occurred.
         
        .google.protobuf.Timestamp error_time = 4;
      • getDetailsCount

        int getDetailsCount()
         Additional information about the error.
         
        map<string, string> details = 5;
      • containsDetails

        boolean containsDetails​(String key)
         Additional information about the error.
         
        map<string, string> details = 5;
      • getDetailsMap

        Map<String,​String> getDetailsMap()
         Additional information about the error.
         
        map<string, string> details = 5;
      • getDetailsOrDefault

        String getDetailsOrDefault​(String key,
                                   String defaultValue)
         Additional information about the error.
         
        map<string, string> details = 5;
      • getDetailsOrThrow

        String getDetailsOrThrow​(String key)
         Additional information about the error.
         
        map<string, string> details = 5;