Package io.qdrant.client.grpc
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Represents a boolean value.Represents a double value.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Represents an integer valueRepresents a repeated `Value`.Represents a null value.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Represents a string value.Represents a structured value.clone()
boolean
Represents a boolean value.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
Represents a double value.long
Represents an integer valueRepresents a repeated `Value`.Represents a repeated `Value`.Represents a repeated `Value`.Represents a null value.int
Represents a null value.Represents a string value.com.google.protobuf.ByteString
Represents a string value.Represents a structured value.Represents a structured value.Represents a structured value.boolean
Represents a boolean value.boolean
Represents a double value.boolean
Represents an integer valueboolean
Represents a repeated `Value`.boolean
Represents a null value.boolean
Represents a string value.boolean
Represents a structured value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(JsonWithInt.Value other) Represents a repeated `Value`.Represents a structured value.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setBoolValue
(boolean value) Represents a boolean value.setDoubleValue
(double value) Represents a double value.setIntegerValue
(long value) Represents an integer valueRepresents a repeated `Value`.setListValue
(JsonWithInt.ListValue.Builder builderForValue) Represents a repeated `Value`.Represents a null value.setNullValueValue
(int value) Represents a null value.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStringValue
(String value) Represents a string value.setStringValueBytes
(com.google.protobuf.ByteString value) Represents a string value.setStructValue
(JsonWithInt.Struct value) Represents a structured value.setStructValue
(JsonWithInt.Struct.Builder builderForValue) Represents a structured value.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<JsonWithInt.Value.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<JsonWithInt.Value.Builder>
- Throws:
IOException
-
getKindCase
- Specified by:
getKindCase
in interfaceJsonWithInt.ValueOrBuilder
-
clearKind
-
hasNullValue
public boolean hasNullValue()Represents a null value.
.qdrant.NullValue null_value = 1;
- Specified by:
hasNullValue
in interfaceJsonWithInt.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 interfaceJsonWithInt.ValueOrBuilder
- Returns:
- The enum numeric value on the wire for nullValue.
-
setNullValueValue
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
Represents a null value.
.qdrant.NullValue null_value = 1;
- Specified by:
getNullValue
in interfaceJsonWithInt.ValueOrBuilder
- Returns:
- The nullValue.
-
setNullValue
Represents a null value.
.qdrant.NullValue null_value = 1;
- Parameters:
value
- The nullValue to set.- Returns:
- This builder for chaining.
-
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 interfaceJsonWithInt.ValueOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()Represents a double value.
double double_value = 2;
- Specified by:
getDoubleValue
in interfaceJsonWithInt.ValueOrBuilder
- Returns:
- The doubleValue.
-
setDoubleValue
Represents a double value.
double double_value = 2;
- Parameters:
value
- The doubleValue to set.- Returns:
- This builder for chaining.
-
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 interfaceJsonWithInt.ValueOrBuilder
- Returns:
- Whether the integerValue field is set.
-
getIntegerValue
public long getIntegerValue()Represents an integer value
int64 integer_value = 3;
- Specified by:
getIntegerValue
in interfaceJsonWithInt.ValueOrBuilder
- Returns:
- The integerValue.
-
setIntegerValue
Represents an integer value
int64 integer_value = 3;
- Parameters:
value
- The integerValue to set.- Returns:
- This builder for chaining.
-
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 interfaceJsonWithInt.ValueOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
Represents a string value.
string string_value = 4;
- Specified by:
getStringValue
in interfaceJsonWithInt.ValueOrBuilder
- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()Represents a string value.
string string_value = 4;
- Specified by:
getStringValueBytes
in interfaceJsonWithInt.ValueOrBuilder
- Returns:
- The bytes for stringValue.
-
setStringValue
Represents a string value.
string string_value = 4;
- Parameters:
value
- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
Represents a string value.
string string_value = 4;
- Returns:
- This builder for chaining.
-
setStringValueBytes
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 interfaceJsonWithInt.ValueOrBuilder
- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()Represents a boolean value.
bool bool_value = 5;
- Specified by:
getBoolValue
in interfaceJsonWithInt.ValueOrBuilder
- Returns:
- The boolValue.
-
setBoolValue
Represents a boolean value.
bool bool_value = 5;
- Parameters:
value
- The boolValue to set.- Returns:
- This builder for chaining.
-
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 interfaceJsonWithInt.ValueOrBuilder
- Returns:
- Whether the structValue field is set.
-
getStructValue
Represents a structured value.
.qdrant.Struct struct_value = 6;
- Specified by:
getStructValue
in interfaceJsonWithInt.ValueOrBuilder
- Returns:
- The structValue.
-
setStructValue
Represents a structured value.
.qdrant.Struct struct_value = 6;
-
setStructValue
Represents a structured value.
.qdrant.Struct struct_value = 6;
-
mergeStructValue
Represents a structured value.
.qdrant.Struct struct_value = 6;
-
clearStructValue
Represents a structured value.
.qdrant.Struct struct_value = 6;
-
getStructValueBuilder
Represents a structured value.
.qdrant.Struct struct_value = 6;
-
getStructValueOrBuilder
Represents a structured value.
.qdrant.Struct struct_value = 6;
- Specified by:
getStructValueOrBuilder
in interfaceJsonWithInt.ValueOrBuilder
-
hasListValue
public boolean hasListValue()Represents a repeated `Value`.
.qdrant.ListValue list_value = 7;
- Specified by:
hasListValue
in interfaceJsonWithInt.ValueOrBuilder
- Returns:
- Whether the listValue field is set.
-
getListValue
Represents a repeated `Value`.
.qdrant.ListValue list_value = 7;
- Specified by:
getListValue
in interfaceJsonWithInt.ValueOrBuilder
- Returns:
- The listValue.
-
setListValue
Represents a repeated `Value`.
.qdrant.ListValue list_value = 7;
-
setListValue
Represents a repeated `Value`.
.qdrant.ListValue list_value = 7;
-
mergeListValue
Represents a repeated `Value`.
.qdrant.ListValue list_value = 7;
-
clearListValue
Represents a repeated `Value`.
.qdrant.ListValue list_value = 7;
-
getListValueBuilder
Represents a repeated `Value`.
.qdrant.ListValue list_value = 7;
-
getListValueOrBuilder
Represents a repeated `Value`.
.qdrant.ListValue list_value = 7;
- Specified by:
getListValueOrBuilder
in interfaceJsonWithInt.ValueOrBuilder
-
setUnknownFields
public final JsonWithInt.Value.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder>
-
mergeUnknownFields
public final JsonWithInt.Value.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<JsonWithInt.Value.Builder>
-