Class MetaDataValue

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

    @Generated
    public final class MetaDataValue
    extends com.google.protobuf.GeneratedMessage
    implements MetaDataValueOrBuilder
     The value of a MetaData entry. 
     
    Protobuf type io.axoniq.axonserver.grpc.MetaDataValue
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MetaDataValue.Builder
      The value of a MetaData entry.
      static class  MetaDataValue.DataCase  
      • 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 Detail

      • TEXT_VALUE_FIELD_NUMBER

        public static final int TEXT_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NUMBER_VALUE_FIELD_NUMBER

        public static final int NUMBER_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BOOLEAN_VALUE_FIELD_NUMBER

        public static final int BOOLEAN_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DOUBLE_VALUE_FIELD_NUMBER

        public static final int DOUBLE_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BYTES_VALUE_FIELD_NUMBER

        public static final int BYTES_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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
      • hasTextValue

        public boolean hasTextValue()
         The text value of the Meta Data entry. 
         
        string text_value = 1;
        Specified by:
        hasTextValue in interface MetaDataValueOrBuilder
        Returns:
        Whether the textValue field is set.
      • getTextValueBytes

        public com.google.protobuf.ByteString getTextValueBytes()
         The text value of the Meta Data entry. 
         
        string text_value = 1;
        Specified by:
        getTextValueBytes in interface MetaDataValueOrBuilder
        Returns:
        The bytes for textValue.
      • hasNumberValue

        public boolean hasNumberValue()
         The numeric value of the Meta Data entry. 
         
        sint64 number_value = 2;
        Specified by:
        hasNumberValue in interface MetaDataValueOrBuilder
        Returns:
        Whether the numberValue field is set.
      • getNumberValue

        public long getNumberValue()
         The numeric value of the Meta Data entry. 
         
        sint64 number_value = 2;
        Specified by:
        getNumberValue in interface MetaDataValueOrBuilder
        Returns:
        The numberValue.
      • hasBooleanValue

        public boolean hasBooleanValue()
         The boolean value of the Meta Data entry. 
         
        bool boolean_value = 3;
        Specified by:
        hasBooleanValue in interface MetaDataValueOrBuilder
        Returns:
        Whether the booleanValue field is set.
      • getBooleanValue

        public boolean getBooleanValue()
         The boolean value of the Meta Data entry. 
         
        bool boolean_value = 3;
        Specified by:
        getBooleanValue in interface MetaDataValueOrBuilder
        Returns:
        The booleanValue.
      • hasDoubleValue

        public boolean hasDoubleValue()
         The floating point value of the Meta Data entry. 
         
        double double_value = 4;
        Specified by:
        hasDoubleValue in interface MetaDataValueOrBuilder
        Returns:
        Whether the doubleValue field is set.
      • getDoubleValue

        public double getDoubleValue()
         The floating point value of the Meta Data entry. 
         
        double double_value = 4;
        Specified by:
        getDoubleValue in interface MetaDataValueOrBuilder
        Returns:
        The doubleValue.
      • hasBytesValue

        public boolean hasBytesValue()
         The binary value of the Meta Data entry. 
         
        .io.axoniq.axonserver.grpc.SerializedObject bytes_value = 5;
        Specified by:
        hasBytesValue in interface MetaDataValueOrBuilder
        Returns:
        Whether the bytesValue field is set.
      • 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 MetaDataValue parseFrom​(ByteBuffer data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public static MetaDataValue getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<MetaDataValue> 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 MetaDataValue getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder