public static final class ErrorMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder> implements ErrorMessageOrBuilder
Message containing details of an errorProtobuf type
io.axoniq.axonserver.grpc.ErrorMessage
Modifier and Type | Method and Description |
---|---|
ErrorMessage.Builder |
addAllDetails(Iterable<String> values)
A collection of messages providing more details about root causes of the error
|
ErrorMessage.Builder |
addDetails(String value)
A collection of messages providing more details about root causes of the error
|
ErrorMessage.Builder |
addDetailsBytes(com.google.protobuf.ByteString value)
A collection of messages providing more details about root causes of the error
|
ErrorMessage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ErrorMessage |
build() |
ErrorMessage |
buildPartial() |
ErrorMessage.Builder |
clear() |
ErrorMessage.Builder |
clearDetails()
A collection of messages providing more details about root causes of the error
|
ErrorMessage.Builder |
clearErrorCode()
An Error Code identifying the type of error
|
ErrorMessage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ErrorMessage.Builder |
clearLocation()
A description of the location (client component, server) where the error occurred
|
ErrorMessage.Builder |
clearMessage()
A human readable message explaining the error
|
ErrorMessage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ErrorMessage.Builder |
clone() |
ErrorMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDetails(int index)
A collection of messages providing more details about root causes of the error
|
com.google.protobuf.ByteString |
getDetailsBytes(int index)
A collection of messages providing more details about root causes of the error
|
int |
getDetailsCount()
A collection of messages providing more details about root causes of the error
|
com.google.protobuf.ProtocolStringList |
getDetailsList()
A collection of messages providing more details about root causes of the error
|
String |
getErrorCode()
An Error Code identifying the type of error
|
com.google.protobuf.ByteString |
getErrorCodeBytes()
An Error Code identifying the type of error
|
String |
getLocation()
A description of the location (client component, server) where the error occurred
|
com.google.protobuf.ByteString |
getLocationBytes()
A description of the location (client component, server) where the error occurred
|
String |
getMessage()
A human readable message explaining the error
|
com.google.protobuf.ByteString |
getMessageBytes()
A human readable message explaining the error
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ErrorMessage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ErrorMessage.Builder |
mergeFrom(ErrorMessage other) |
ErrorMessage.Builder |
mergeFrom(com.google.protobuf.Message other) |
ErrorMessage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ErrorMessage.Builder |
setDetails(int index,
String value)
A collection of messages providing more details about root causes of the error
|
ErrorMessage.Builder |
setErrorCode(String value)
An Error Code identifying the type of error
|
ErrorMessage.Builder |
setErrorCodeBytes(com.google.protobuf.ByteString value)
An Error Code identifying the type of error
|
ErrorMessage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ErrorMessage.Builder |
setLocation(String value)
A description of the location (client component, server) where the error occurred
|
ErrorMessage.Builder |
setLocationBytes(com.google.protobuf.ByteString value)
A description of the location (client component, server) where the error occurred
|
ErrorMessage.Builder |
setMessage(String value)
A human readable message explaining the error
|
ErrorMessage.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
A human readable message explaining the error
|
ErrorMessage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ErrorMessage.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public ErrorMessage.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public ErrorMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ErrorMessage build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ErrorMessage buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ErrorMessage.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public ErrorMessage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public ErrorMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public ErrorMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public ErrorMessage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public ErrorMessage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public ErrorMessage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ErrorMessage.Builder>
public ErrorMessage.Builder mergeFrom(ErrorMessage other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public ErrorMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ErrorMessage.Builder>
IOException
public String getMessage()
A human readable message explaining the error
string message = 1;
getMessage
in interface ErrorMessageOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
A human readable message explaining the error
string message = 1;
getMessageBytes
in interface ErrorMessageOrBuilder
public ErrorMessage.Builder setMessage(String value)
A human readable message explaining the error
string message = 1;
public ErrorMessage.Builder clearMessage()
A human readable message explaining the error
string message = 1;
public ErrorMessage.Builder setMessageBytes(com.google.protobuf.ByteString value)
A human readable message explaining the error
string message = 1;
public String getLocation()
A description of the location (client component, server) where the error occurred
string location = 2;
getLocation
in interface ErrorMessageOrBuilder
public com.google.protobuf.ByteString getLocationBytes()
A description of the location (client component, server) where the error occurred
string location = 2;
getLocationBytes
in interface ErrorMessageOrBuilder
public ErrorMessage.Builder setLocation(String value)
A description of the location (client component, server) where the error occurred
string location = 2;
public ErrorMessage.Builder clearLocation()
A description of the location (client component, server) where the error occurred
string location = 2;
public ErrorMessage.Builder setLocationBytes(com.google.protobuf.ByteString value)
A description of the location (client component, server) where the error occurred
string location = 2;
public com.google.protobuf.ProtocolStringList getDetailsList()
A collection of messages providing more details about root causes of the error
repeated string details = 3;
getDetailsList
in interface ErrorMessageOrBuilder
public int getDetailsCount()
A collection of messages providing more details about root causes of the error
repeated string details = 3;
getDetailsCount
in interface ErrorMessageOrBuilder
public String getDetails(int index)
A collection of messages providing more details about root causes of the error
repeated string details = 3;
getDetails
in interface ErrorMessageOrBuilder
public com.google.protobuf.ByteString getDetailsBytes(int index)
A collection of messages providing more details about root causes of the error
repeated string details = 3;
getDetailsBytes
in interface ErrorMessageOrBuilder
public ErrorMessage.Builder setDetails(int index, String value)
A collection of messages providing more details about root causes of the error
repeated string details = 3;
public ErrorMessage.Builder addDetails(String value)
A collection of messages providing more details about root causes of the error
repeated string details = 3;
public ErrorMessage.Builder addAllDetails(Iterable<String> values)
A collection of messages providing more details about root causes of the error
repeated string details = 3;
public ErrorMessage.Builder clearDetails()
A collection of messages providing more details about root causes of the error
repeated string details = 3;
public ErrorMessage.Builder addDetailsBytes(com.google.protobuf.ByteString value)
A collection of messages providing more details about root causes of the error
repeated string details = 3;
public String getErrorCode()
An Error Code identifying the type of error
string error_code = 4;
getErrorCode
in interface ErrorMessageOrBuilder
public com.google.protobuf.ByteString getErrorCodeBytes()
An Error Code identifying the type of error
string error_code = 4;
getErrorCodeBytes
in interface ErrorMessageOrBuilder
public ErrorMessage.Builder setErrorCode(String value)
An Error Code identifying the type of error
string error_code = 4;
public ErrorMessage.Builder clearErrorCode()
An Error Code identifying the type of error
string error_code = 4;
public ErrorMessage.Builder setErrorCodeBytes(com.google.protobuf.ByteString value)
An Error Code identifying the type of error
string error_code = 4;
public final ErrorMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
public final ErrorMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorMessage.Builder>
Copyright © 2010–2020. All rights reserved.