Class ErrorMessage

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ErrorMessageOrBuilder, Serializable

    @Generated
    public final class ErrorMessage
    extends com.google.protobuf.GeneratedMessage
    implements ErrorMessageOrBuilder
     Message containing details of an error 
     
    Protobuf type io.axoniq.axonserver.grpc.ErrorMessage
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ErrorMessage.Builder
      Message containing details of an error
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

        com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,​T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

        com.google.protobuf.AbstractMessage.BuilderParent
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DETAILS_FIELD_NUMBER  
      static int ERROR_CODE_FIELD_NUMBER  
      static int LOCATION_FIELD_NUMBER  
      static int MESSAGE_FIELD_NUMBER  
      • Fields inherited from class com.google.protobuf.GeneratedMessage

        alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields
      • Fields inherited from class com.google.protobuf.AbstractMessage

        memoizedSize
      • Fields inherited from class com.google.protobuf.AbstractMessageLite

        memoizedHashCode
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • getMessage

        public String getMessage()
         A human readable message explaining the error 
         
        string message = 1;
        Specified by:
        getMessage in interface ErrorMessageOrBuilder
        Returns:
        The message.
      • getMessageBytes

        public com.google.protobuf.ByteString getMessageBytes()
         A human readable message explaining the error 
         
        string message = 1;
        Specified by:
        getMessageBytes in interface ErrorMessageOrBuilder
        Returns:
        The bytes for message.
      • getLocation

        public String getLocation()
         A description of the location (client component, server) where the error occurred 
         
        string location = 2;
        Specified by:
        getLocation in interface ErrorMessageOrBuilder
        Returns:
        The location.
      • getLocationBytes

        public com.google.protobuf.ByteString getLocationBytes()
         A description of the location (client component, server) where the error occurred 
         
        string location = 2;
        Specified by:
        getLocationBytes in interface ErrorMessageOrBuilder
        Returns:
        The bytes for location.
      • getDetailsList

        public com.google.protobuf.ProtocolStringList getDetailsList()
         A collection of messages providing more details about root causes of the error 
         
        repeated string details = 3;
        Specified by:
        getDetailsList in interface ErrorMessageOrBuilder
        Returns:
        A list containing the details.
      • getDetailsCount

        public int getDetailsCount()
         A collection of messages providing more details about root causes of the error 
         
        repeated string details = 3;
        Specified by:
        getDetailsCount in interface ErrorMessageOrBuilder
        Returns:
        The count of details.
      • getDetails

        public String getDetails​(int index)
         A collection of messages providing more details about root causes of the error 
         
        repeated string details = 3;
        Specified by:
        getDetails in interface ErrorMessageOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The details at the given index.
      • getDetailsBytes

        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;
        Specified by:
        getDetailsBytes in interface ErrorMessageOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the details at the given index.
      • getErrorCode

        public String getErrorCode()
         An Error Code identifying the type of error 
         
        string error_code = 4;
        Specified by:
        getErrorCode in interface ErrorMessageOrBuilder
        Returns:
        The errorCode.
      • getErrorCodeBytes

        public com.google.protobuf.ByteString getErrorCodeBytes()
         An Error Code identifying the type of error 
         
        string error_code = 4;
        Specified by:
        getErrorCodeBytes in interface ErrorMessageOrBuilder
        Returns:
        The bytes for errorCode.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ErrorMessage parseFrom​(ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ErrorMessage parseFrom​(ByteBuffer data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ErrorMessage parseFrom​(com.google.protobuf.ByteString data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ErrorMessage parseFrom​(com.google.protobuf.ByteString data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ErrorMessage parseFrom​(byte[] data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ErrorMessage parseFrom​(byte[] data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ErrorMessage parseFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Throws:
        IOException
      • newBuilderForType

        public ErrorMessage.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ErrorMessage.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ErrorMessage.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getDefaultInstance

        public static ErrorMessage getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<ErrorMessage> parser()
      • getParserForType

        public com.google.protobuf.Parser<ErrorMessage> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public ErrorMessage getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder