Class Schema.PrimitiveValue.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Schema.PrimitiveValue.Builder>
      • clear

        public Schema.PrimitiveValue.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.GeneratedMessageV3.Builder<Schema.PrimitiveValue.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.GeneratedMessageV3.Builder<Schema.PrimitiveValue.Builder>
      • getDefaultInstanceForType

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

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

        public Schema.PrimitiveValue buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Schema.PrimitiveValue.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Schema.PrimitiveValue.Builder>
      • clearField

        public Schema.PrimitiveValue.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Schema.PrimitiveValue.Builder>
      • clearOneof

        public Schema.PrimitiveValue.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Schema.PrimitiveValue.Builder>
      • setRepeatedField

        public Schema.PrimitiveValue.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Schema.PrimitiveValue.Builder>
      • addRepeatedField

        public Schema.PrimitiveValue.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Schema.PrimitiveValue.Builder>
      • isInitialized

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

        public Schema.PrimitiveValue.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<Schema.PrimitiveValue.Builder>
        Throws:
        IOException
      • getTagValue

        public int getTagValue()
         Type tag indicates which value field is set
         
        .relationalai.protocol.PrimitiveType tag = 1;
        Specified by:
        getTagValue in interface Schema.PrimitiveValueOrBuilder
        Returns:
        The enum numeric value on the wire for tag.
      • setTagValue

        public Schema.PrimitiveValue.Builder setTagValue​(int value)
         Type tag indicates which value field is set
         
        .relationalai.protocol.PrimitiveType tag = 1;
        Parameters:
        value - The enum numeric value on the wire for tag to set.
        Returns:
        This builder for chaining.
      • setTag

        public Schema.PrimitiveValue.Builder setTag​(Schema.PrimitiveType value)
         Type tag indicates which value field is set
         
        .relationalai.protocol.PrimitiveType tag = 1;
        Parameters:
        value - The tag to set.
        Returns:
        This builder for chaining.
      • clearTag

        public Schema.PrimitiveValue.Builder clearTag()
         Type tag indicates which value field is set
         
        .relationalai.protocol.PrimitiveType tag = 1;
        Returns:
        This builder for chaining.
      • hasInt128Val

        public boolean hasInt128Val()
         Not present in protobuf
         
        .relationalai.protocol.RelInt128 int128_val = 2;
        Specified by:
        hasInt128Val in interface Schema.PrimitiveValueOrBuilder
        Returns:
        Whether the int128Val field is set.
      • clearInt128Val

        public Schema.PrimitiveValue.Builder clearInt128Val()
         Not present in protobuf
         
        .relationalai.protocol.RelInt128 int128_val = 2;
      • getInt128ValBuilder

        public Schema.RelInt128.Builder getInt128ValBuilder()
         Not present in protobuf
         
        .relationalai.protocol.RelInt128 int128_val = 2;
      • setInt64Val

        public Schema.PrimitiveValue.Builder setInt64Val​(long value)
        int64 int64_val = 3;
        Parameters:
        value - The int64Val to set.
        Returns:
        This builder for chaining.
      • setInt32Val

        public Schema.PrimitiveValue.Builder setInt32Val​(int value)
        int32 int32_val = 4;
        Parameters:
        value - The int32Val to set.
        Returns:
        This builder for chaining.
      • hasInt16Val

        public boolean hasInt16Val()
         Not present in protobuf; int32
         
        int32 int16_val = 5;
        Specified by:
        hasInt16Val in interface Schema.PrimitiveValueOrBuilder
        Returns:
        Whether the int16Val field is set.
      • setInt16Val

        public Schema.PrimitiveValue.Builder setInt16Val​(int value)
         Not present in protobuf; int32
         
        int32 int16_val = 5;
        Parameters:
        value - The int16Val to set.
        Returns:
        This builder for chaining.
      • clearInt16Val

        public Schema.PrimitiveValue.Builder clearInt16Val()
         Not present in protobuf; int32
         
        int32 int16_val = 5;
        Returns:
        This builder for chaining.
      • hasInt8Val

        public boolean hasInt8Val()
         Not present in protobuf; int32
         
        int32 int8_val = 6;
        Specified by:
        hasInt8Val in interface Schema.PrimitiveValueOrBuilder
        Returns:
        Whether the int8Val field is set.
      • setInt8Val

        public Schema.PrimitiveValue.Builder setInt8Val​(int value)
         Not present in protobuf; int32
         
        int32 int8_val = 6;
        Parameters:
        value - The int8Val to set.
        Returns:
        This builder for chaining.
      • clearInt8Val

        public Schema.PrimitiveValue.Builder clearInt8Val()
         Not present in protobuf; int32
         
        int32 int8_val = 6;
        Returns:
        This builder for chaining.
      • hasUint128Val

        public boolean hasUint128Val()
         Not present in protobuf
         
        .relationalai.protocol.RelUInt128 uint128_val = 7;
        Specified by:
        hasUint128Val in interface Schema.PrimitiveValueOrBuilder
        Returns:
        Whether the uint128Val field is set.
      • clearUint128Val

        public Schema.PrimitiveValue.Builder clearUint128Val()
         Not present in protobuf
         
        .relationalai.protocol.RelUInt128 uint128_val = 7;
      • getUint128ValBuilder

        public Schema.RelUInt128.Builder getUint128ValBuilder()
         Not present in protobuf
         
        .relationalai.protocol.RelUInt128 uint128_val = 7;
      • setUint64Val

        public Schema.PrimitiveValue.Builder setUint64Val​(long value)
        uint64 uint64_val = 8;
        Parameters:
        value - The uint64Val to set.
        Returns:
        This builder for chaining.
      • setUint32Val

        public Schema.PrimitiveValue.Builder setUint32Val​(int value)
        uint32 uint32_val = 9;
        Parameters:
        value - The uint32Val to set.
        Returns:
        This builder for chaining.
      • hasUint16Val

        public boolean hasUint16Val()
         Not present in protobuf; uint32
         
        uint32 uint16_val = 10;
        Specified by:
        hasUint16Val in interface Schema.PrimitiveValueOrBuilder
        Returns:
        Whether the uint16Val field is set.
      • setUint16Val

        public Schema.PrimitiveValue.Builder setUint16Val​(int value)
         Not present in protobuf; uint32
         
        uint32 uint16_val = 10;
        Parameters:
        value - The uint16Val to set.
        Returns:
        This builder for chaining.
      • clearUint16Val

        public Schema.PrimitiveValue.Builder clearUint16Val()
         Not present in protobuf; uint32
         
        uint32 uint16_val = 10;
        Returns:
        This builder for chaining.
      • hasUint8Val

        public boolean hasUint8Val()
         Not present in protobuf; uint32
         
        uint32 uint8_val = 11;
        Specified by:
        hasUint8Val in interface Schema.PrimitiveValueOrBuilder
        Returns:
        Whether the uint8Val field is set.
      • setUint8Val

        public Schema.PrimitiveValue.Builder setUint8Val​(int value)
         Not present in protobuf; uint32
         
        uint32 uint8_val = 11;
        Parameters:
        value - The uint8Val to set.
        Returns:
        This builder for chaining.
      • clearUint8Val

        public Schema.PrimitiveValue.Builder clearUint8Val()
         Not present in protobuf; uint32
         
        uint32 uint8_val = 11;
        Returns:
        This builder for chaining.
      • setFloat64Val

        public Schema.PrimitiveValue.Builder setFloat64Val​(double value)
        double float64_val = 12;
        Parameters:
        value - The float64Val to set.
        Returns:
        This builder for chaining.
      • setFloat32Val

        public Schema.PrimitiveValue.Builder setFloat32Val​(float value)
        float float32_val = 13;
        Parameters:
        value - The float32Val to set.
        Returns:
        This builder for chaining.
      • hasFloat16Val

        public boolean hasFloat16Val()
         Not present in protobuf
         
        float float16_val = 14;
        Specified by:
        hasFloat16Val in interface Schema.PrimitiveValueOrBuilder
        Returns:
        Whether the float16Val field is set.
      • setFloat16Val

        public Schema.PrimitiveValue.Builder setFloat16Val​(float value)
         Not present in protobuf
         
        float float16_val = 14;
        Parameters:
        value - The float16Val to set.
        Returns:
        This builder for chaining.
      • clearFloat16Val

        public Schema.PrimitiveValue.Builder clearFloat16Val()
         Not present in protobuf
         
        float float16_val = 14;
        Returns:
        This builder for chaining.
      • setCharVal

        public Schema.PrimitiveValue.Builder setCharVal​(int value)
        uint32 char_val = 15;
        Parameters:
        value - The charVal to set.
        Returns:
        This builder for chaining.
      • setBoolVal

        public Schema.PrimitiveValue.Builder setBoolVal​(boolean value)
        bool bool_val = 16;
        Parameters:
        value - The boolVal to set.
        Returns:
        This builder for chaining.
      • hasStringVal

        public boolean hasStringVal()
         We use bytes for strings because proto has an encoding
         requirement for the proto3::string type.
         
        bytes string_val = 17;
        Specified by:
        hasStringVal in interface Schema.PrimitiveValueOrBuilder
        Returns:
        Whether the stringVal field is set.
      • getStringVal

        public com.google.protobuf.ByteString getStringVal()
         We use bytes for strings because proto has an encoding
         requirement for the proto3::string type.
         
        bytes string_val = 17;
        Specified by:
        getStringVal in interface Schema.PrimitiveValueOrBuilder
        Returns:
        The stringVal.
      • setStringVal

        public Schema.PrimitiveValue.Builder setStringVal​(com.google.protobuf.ByteString value)
         We use bytes for strings because proto has an encoding
         requirement for the proto3::string type.
         
        bytes string_val = 17;
        Parameters:
        value - The stringVal to set.
        Returns:
        This builder for chaining.
      • clearStringVal

        public Schema.PrimitiveValue.Builder clearStringVal()
         We use bytes for strings because proto has an encoding
         requirement for the proto3::string type.
         
        bytes string_val = 17;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Schema.PrimitiveValue.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Schema.PrimitiveValue.Builder>
      • mergeUnknownFields

        public final Schema.PrimitiveValue.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Schema.PrimitiveValue.Builder>