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 booleancontainsDetails(String key)Additional information about the error.Map<String,String>getDetails()Deprecated.intgetDetailsCount()Additional information about the error.Map<String,String>getDetailsMap()Additional information about the error.StringgetDetailsOrDefault(String key, String defaultValue)Additional information about the error.StringgetDetailsOrThrow(String key)Additional information about the error.com.google.protobuf.TimestampgetErrorTime()The time when the error occurred.com.google.protobuf.TimestampOrBuildergetErrorTimeOrBuilder()The time when the error occurred.StringgetErrorUuid()A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.com.google.protobuf.ByteStringgetErrorUuidBytes()A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.StringgetMessage()A message containing more information about the error that occurred.com.google.protobuf.ByteStringgetMessageBytes()A message containing more information about the error that occurred.StringgetReason()A title that explains the reason for the error.com.google.protobuf.ByteStringgetReasonBytes()A title that explains the reason for the error.booleanhasErrorTime()The time when the error occurred.-
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;
-
getDetails
@Deprecated Map<String,String> getDetails()
Deprecated.UsegetDetailsMap()instead.
-
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;
-
-