Class JsonWithInt.Value.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder>
io.qdrant.client.grpc.JsonWithInt.Value.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, JsonWithInt.ValueOrBuilder, Cloneable
Enclosing class:
JsonWithInt.Value

public static final class JsonWithInt.Value.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder> implements JsonWithInt.ValueOrBuilder
 `Value` represents a dynamically typed value which can be either
 null, a number, a string, a boolean, a recursive struct value, or a
 list of values. A producer of value is expected to set one of those
 variants, absence of any variant indicates an error.

 The JSON representation for `Value` is a JSON value.
 
Protobuf type qdrant.Value
  • Method Details

    • 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<JsonWithInt.Value.Builder>
    • clear

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

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

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

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

      public JsonWithInt.Value.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<JsonWithInt.Value.Builder>
    • setField

      public JsonWithInt.Value.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder>
    • clearField

      public JsonWithInt.Value.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<JsonWithInt.Value.Builder>
    • clearOneof

      public JsonWithInt.Value.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<JsonWithInt.Value.Builder>
    • setRepeatedField

      public JsonWithInt.Value.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<JsonWithInt.Value.Builder>
    • addRepeatedField

      public JsonWithInt.Value.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<JsonWithInt.Value.Builder>
    • mergeFrom

      public JsonWithInt.Value.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<JsonWithInt.Value.Builder>
    • mergeFrom

      public JsonWithInt.Value.Builder mergeFrom(JsonWithInt.Value other)
    • isInitialized

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

      public JsonWithInt.Value.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<JsonWithInt.Value.Builder>
      Throws:
      IOException
    • getKindCase

      public JsonWithInt.Value.KindCase getKindCase()
      Specified by:
      getKindCase in interface JsonWithInt.ValueOrBuilder
    • clearKind

      public JsonWithInt.Value.Builder clearKind()
    • hasNullValue

      public boolean hasNullValue()
       Represents a null value.
       
      .qdrant.NullValue null_value = 1;
      Specified by:
      hasNullValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      Whether the nullValue field is set.
    • getNullValueValue

      public int getNullValueValue()
       Represents a null value.
       
      .qdrant.NullValue null_value = 1;
      Specified by:
      getNullValueValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      The enum numeric value on the wire for nullValue.
    • setNullValueValue

      public JsonWithInt.Value.Builder setNullValueValue(int value)
       Represents a null value.
       
      .qdrant.NullValue null_value = 1;
      Parameters:
      value - The enum numeric value on the wire for nullValue to set.
      Returns:
      This builder for chaining.
    • getNullValue

      public JsonWithInt.NullValue getNullValue()
       Represents a null value.
       
      .qdrant.NullValue null_value = 1;
      Specified by:
      getNullValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      The nullValue.
    • setNullValue

      public JsonWithInt.Value.Builder setNullValue(JsonWithInt.NullValue value)
       Represents a null value.
       
      .qdrant.NullValue null_value = 1;
      Parameters:
      value - The nullValue to set.
      Returns:
      This builder for chaining.
    • clearNullValue

      public JsonWithInt.Value.Builder clearNullValue()
       Represents a null value.
       
      .qdrant.NullValue null_value = 1;
      Returns:
      This builder for chaining.
    • hasDoubleValue

      public boolean hasDoubleValue()
       Represents a double value.
       
      double double_value = 2;
      Specified by:
      hasDoubleValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      Whether the doubleValue field is set.
    • getDoubleValue

      public double getDoubleValue()
       Represents a double value.
       
      double double_value = 2;
      Specified by:
      getDoubleValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      The doubleValue.
    • setDoubleValue

      public JsonWithInt.Value.Builder setDoubleValue(double value)
       Represents a double value.
       
      double double_value = 2;
      Parameters:
      value - The doubleValue to set.
      Returns:
      This builder for chaining.
    • clearDoubleValue

      public JsonWithInt.Value.Builder clearDoubleValue()
       Represents a double value.
       
      double double_value = 2;
      Returns:
      This builder for chaining.
    • hasIntegerValue

      public boolean hasIntegerValue()
       Represents an integer value
       
      int64 integer_value = 3;
      Specified by:
      hasIntegerValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      Whether the integerValue field is set.
    • getIntegerValue

      public long getIntegerValue()
       Represents an integer value
       
      int64 integer_value = 3;
      Specified by:
      getIntegerValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      The integerValue.
    • setIntegerValue

      public JsonWithInt.Value.Builder setIntegerValue(long value)
       Represents an integer value
       
      int64 integer_value = 3;
      Parameters:
      value - The integerValue to set.
      Returns:
      This builder for chaining.
    • clearIntegerValue

      public JsonWithInt.Value.Builder clearIntegerValue()
       Represents an integer value
       
      int64 integer_value = 3;
      Returns:
      This builder for chaining.
    • hasStringValue

      public boolean hasStringValue()
       Represents a string value.
       
      string string_value = 4;
      Specified by:
      hasStringValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public String getStringValue()
       Represents a string value.
       
      string string_value = 4;
      Specified by:
      getStringValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      The stringValue.
    • getStringValueBytes

      public com.google.protobuf.ByteString getStringValueBytes()
       Represents a string value.
       
      string string_value = 4;
      Specified by:
      getStringValueBytes in interface JsonWithInt.ValueOrBuilder
      Returns:
      The bytes for stringValue.
    • setStringValue

      public JsonWithInt.Value.Builder setStringValue(String value)
       Represents a string value.
       
      string string_value = 4;
      Parameters:
      value - The stringValue to set.
      Returns:
      This builder for chaining.
    • clearStringValue

      public JsonWithInt.Value.Builder clearStringValue()
       Represents a string value.
       
      string string_value = 4;
      Returns:
      This builder for chaining.
    • setStringValueBytes

      public JsonWithInt.Value.Builder setStringValueBytes(com.google.protobuf.ByteString value)
       Represents a string value.
       
      string string_value = 4;
      Parameters:
      value - The bytes for stringValue to set.
      Returns:
      This builder for chaining.
    • hasBoolValue

      public boolean hasBoolValue()
       Represents a boolean value.
       
      bool bool_value = 5;
      Specified by:
      hasBoolValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      Whether the boolValue field is set.
    • getBoolValue

      public boolean getBoolValue()
       Represents a boolean value.
       
      bool bool_value = 5;
      Specified by:
      getBoolValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      The boolValue.
    • setBoolValue

      public JsonWithInt.Value.Builder setBoolValue(boolean value)
       Represents a boolean value.
       
      bool bool_value = 5;
      Parameters:
      value - The boolValue to set.
      Returns:
      This builder for chaining.
    • clearBoolValue

      public JsonWithInt.Value.Builder clearBoolValue()
       Represents a boolean value.
       
      bool bool_value = 5;
      Returns:
      This builder for chaining.
    • hasStructValue

      public boolean hasStructValue()
       Represents a structured value.
       
      .qdrant.Struct struct_value = 6;
      Specified by:
      hasStructValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      Whether the structValue field is set.
    • getStructValue

      public JsonWithInt.Struct getStructValue()
       Represents a structured value.
       
      .qdrant.Struct struct_value = 6;
      Specified by:
      getStructValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      The structValue.
    • setStructValue

      public JsonWithInt.Value.Builder setStructValue(JsonWithInt.Struct value)
       Represents a structured value.
       
      .qdrant.Struct struct_value = 6;
    • setStructValue

      public JsonWithInt.Value.Builder setStructValue(JsonWithInt.Struct.Builder builderForValue)
       Represents a structured value.
       
      .qdrant.Struct struct_value = 6;
    • mergeStructValue

      public JsonWithInt.Value.Builder mergeStructValue(JsonWithInt.Struct value)
       Represents a structured value.
       
      .qdrant.Struct struct_value = 6;
    • clearStructValue

      public JsonWithInt.Value.Builder clearStructValue()
       Represents a structured value.
       
      .qdrant.Struct struct_value = 6;
    • getStructValueBuilder

      public JsonWithInt.Struct.Builder getStructValueBuilder()
       Represents a structured value.
       
      .qdrant.Struct struct_value = 6;
    • getStructValueOrBuilder

      public JsonWithInt.StructOrBuilder getStructValueOrBuilder()
       Represents a structured value.
       
      .qdrant.Struct struct_value = 6;
      Specified by:
      getStructValueOrBuilder in interface JsonWithInt.ValueOrBuilder
    • hasListValue

      public boolean hasListValue()
       Represents a repeated `Value`.
       
      .qdrant.ListValue list_value = 7;
      Specified by:
      hasListValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      Whether the listValue field is set.
    • getListValue

      public JsonWithInt.ListValue getListValue()
       Represents a repeated `Value`.
       
      .qdrant.ListValue list_value = 7;
      Specified by:
      getListValue in interface JsonWithInt.ValueOrBuilder
      Returns:
      The listValue.
    • setListValue

      public JsonWithInt.Value.Builder setListValue(JsonWithInt.ListValue value)
       Represents a repeated `Value`.
       
      .qdrant.ListValue list_value = 7;
    • setListValue

      public JsonWithInt.Value.Builder setListValue(JsonWithInt.ListValue.Builder builderForValue)
       Represents a repeated `Value`.
       
      .qdrant.ListValue list_value = 7;
    • mergeListValue

      public JsonWithInt.Value.Builder mergeListValue(JsonWithInt.ListValue value)
       Represents a repeated `Value`.
       
      .qdrant.ListValue list_value = 7;
    • clearListValue

      public JsonWithInt.Value.Builder clearListValue()
       Represents a repeated `Value`.
       
      .qdrant.ListValue list_value = 7;
    • getListValueBuilder

      public JsonWithInt.ListValue.Builder getListValueBuilder()
       Represents a repeated `Value`.
       
      .qdrant.ListValue list_value = 7;
    • getListValueOrBuilder

      public JsonWithInt.ListValueOrBuilder getListValueOrBuilder()
       Represents a repeated `Value`.
       
      .qdrant.ListValue list_value = 7;
      Specified by:
      getListValueOrBuilder in interface JsonWithInt.ValueOrBuilder
    • setUnknownFields

      public final JsonWithInt.Value.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<JsonWithInt.Value.Builder>
    • mergeUnknownFields

      public final JsonWithInt.Value.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<JsonWithInt.Value.Builder>