Class QueryValue.Builder

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

    public static final class QueryValue.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<QueryValue.Builder>
    implements QueryValueOrBuilder
     Value used in Query Responses to represent a value in its original type 
     
    Protobuf type io.axoniq.axonserver.grpc.event.QueryValue
    • 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<QueryValue.Builder>
      • clear

        public QueryValue.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<QueryValue.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<QueryValue.Builder>
      • getDefaultInstanceForType

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

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

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

        public QueryValue.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<QueryValue.Builder>
      • isInitialized

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

        public QueryValue.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<QueryValue.Builder>
        Throws:
        IOException
      • hasTextValue

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

        public com.google.protobuf.ByteString getTextValueBytes()
         The text value 
         
        string text_value = 1;
        Specified by:
        getTextValueBytes in interface QueryValueOrBuilder
        Returns:
        The bytes for textValue.
      • setTextValue

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

        public QueryValue.Builder clearTextValue()
         The text value 
         
        string text_value = 1;
        Returns:
        This builder for chaining.
      • setTextValueBytes

        public QueryValue.Builder setTextValueBytes​(com.google.protobuf.ByteString value)
         The text value 
         
        string text_value = 1;
        Parameters:
        value - The bytes for textValue to set.
        Returns:
        This builder for chaining.
      • hasNumberValue

        public boolean hasNumberValue()
         The (64 bits) integer value 
         
        sint64 number_value = 2;
        Specified by:
        hasNumberValue in interface QueryValueOrBuilder
        Returns:
        Whether the numberValue field is set.
      • getNumberValue

        public long getNumberValue()
         The (64 bits) integer value 
         
        sint64 number_value = 2;
        Specified by:
        getNumberValue in interface QueryValueOrBuilder
        Returns:
        The numberValue.
      • setNumberValue

        public QueryValue.Builder setNumberValue​(long value)
         The (64 bits) integer value 
         
        sint64 number_value = 2;
        Parameters:
        value - The numberValue to set.
        Returns:
        This builder for chaining.
      • clearNumberValue

        public QueryValue.Builder clearNumberValue()
         The (64 bits) integer value 
         
        sint64 number_value = 2;
        Returns:
        This builder for chaining.
      • hasBooleanValue

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

        public boolean getBooleanValue()
         The boolean value 
         
        bool boolean_value = 3;
        Specified by:
        getBooleanValue in interface QueryValueOrBuilder
        Returns:
        The booleanValue.
      • setBooleanValue

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

        public QueryValue.Builder clearBooleanValue()
         The boolean value 
         
        bool boolean_value = 3;
        Returns:
        This builder for chaining.
      • hasDoubleValue

        public boolean hasDoubleValue()
         The (64 bits) floating point value 
         
        double double_value = 4;
        Specified by:
        hasDoubleValue in interface QueryValueOrBuilder
        Returns:
        Whether the doubleValue field is set.
      • getDoubleValue

        public double getDoubleValue()
         The (64 bits) floating point value 
         
        double double_value = 4;
        Specified by:
        getDoubleValue in interface QueryValueOrBuilder
        Returns:
        The doubleValue.
      • setDoubleValue

        public QueryValue.Builder setDoubleValue​(double value)
         The (64 bits) floating point value 
         
        double double_value = 4;
        Parameters:
        value - The doubleValue to set.
        Returns:
        This builder for chaining.
      • clearDoubleValue

        public QueryValue.Builder clearDoubleValue()
         The (64 bits) floating point value 
         
        double double_value = 4;
        Returns:
        This builder for chaining.