Class MetaDataValue.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MetaDataValueOrBuilder, Cloneable
    Enclosing class:
    MetaDataValue

    public static final class MetaDataValue.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<MetaDataValue.Builder>
    implements MetaDataValueOrBuilder
     The value of a MetaData entry. 
     
    Protobuf type io.axoniq.axonserver.grpc.MetaDataValue
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MetaDataValue.Builder>
      • clear

        public MetaDataValue.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<MetaDataValue.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MetaDataValue.Builder>
      • getDefaultInstanceForType

        public MetaDataValue getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

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

        public MetaDataValue.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetaDataValue.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MetaDataValue.Builder>
      • mergeFrom

        public MetaDataValue.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetaDataValue.Builder>
        Throws:
        IOException
      • 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.
      • setTextValue

        public MetaDataValue.Builder setTextValue​(String value)
         The text value of the Meta Data entry. 
         
        string text_value = 1;
        Parameters:
        value - The textValue to set.
        Returns:
        This builder for chaining.
      • clearTextValue

        public MetaDataValue.Builder clearTextValue()
         The text value of the Meta Data entry. 
         
        string text_value = 1;
        Returns:
        This builder for chaining.
      • setTextValueBytes

        public MetaDataValue.Builder setTextValueBytes​(com.google.protobuf.ByteString value)
         The text value of the Meta Data entry. 
         
        string text_value = 1;
        Parameters:
        value - The bytes for textValue to set.
        Returns:
        This builder for chaining.
      • 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.
      • setNumberValue

        public MetaDataValue.Builder setNumberValue​(long value)
         The numeric value of the Meta Data entry. 
         
        sint64 number_value = 2;
        Parameters:
        value - The numberValue to set.
        Returns:
        This builder for chaining.
      • clearNumberValue

        public MetaDataValue.Builder clearNumberValue()
         The numeric value of the Meta Data entry. 
         
        sint64 number_value = 2;
        Returns:
        This builder for chaining.
      • 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.
      • setBooleanValue

        public MetaDataValue.Builder setBooleanValue​(boolean value)
         The boolean value of the Meta Data entry. 
         
        bool boolean_value = 3;
        Parameters:
        value - The booleanValue to set.
        Returns:
        This builder for chaining.
      • clearBooleanValue

        public MetaDataValue.Builder clearBooleanValue()
         The boolean value of the Meta Data entry. 
         
        bool boolean_value = 3;
        Returns:
        This builder for chaining.
      • 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.
      • setDoubleValue

        public MetaDataValue.Builder setDoubleValue​(double value)
         The floating point value of the Meta Data entry. 
         
        double double_value = 4;
        Parameters:
        value - The doubleValue to set.
        Returns:
        This builder for chaining.
      • clearDoubleValue

        public MetaDataValue.Builder clearDoubleValue()
         The floating point value of the Meta Data entry. 
         
        double double_value = 4;
        Returns:
        This builder for chaining.
      • 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.
      • setBytesValue

        public MetaDataValue.Builder setBytesValue​(SerializedObject value)
         The binary value of the Meta Data entry. 
         
        .io.axoniq.axonserver.grpc.SerializedObject bytes_value = 5;
      • mergeBytesValue

        public MetaDataValue.Builder mergeBytesValue​(SerializedObject value)
         The binary value of the Meta Data entry. 
         
        .io.axoniq.axonserver.grpc.SerializedObject bytes_value = 5;
      • clearBytesValue

        public MetaDataValue.Builder clearBytesValue()
         The binary value of the Meta Data entry. 
         
        .io.axoniq.axonserver.grpc.SerializedObject bytes_value = 5;
      • getBytesValueBuilder

        public SerializedObject.Builder getBytesValueBuilder()
         The binary value of the Meta Data entry. 
         
        .io.axoniq.axonserver.grpc.SerializedObject bytes_value = 5;