public static final class UpsertRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder> implements UpsertRequestOrBuilder
The request for the `upsert` operation.Protobuf type
UpsertRequest| Modifier and Type | Method and Description |
|---|---|
UpsertRequest.Builder |
addAllVectors(java.lang.Iterable<? extends Vector> values)
An array containing the vectors to upsert.
|
UpsertRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
UpsertRequest.Builder |
addVectors(int index,
Vector.Builder builderForValue)
An array containing the vectors to upsert.
|
UpsertRequest.Builder |
addVectors(int index,
Vector value)
An array containing the vectors to upsert.
|
UpsertRequest.Builder |
addVectors(Vector.Builder builderForValue)
An array containing the vectors to upsert.
|
UpsertRequest.Builder |
addVectors(Vector value)
An array containing the vectors to upsert.
|
Vector.Builder |
addVectorsBuilder()
An array containing the vectors to upsert.
|
Vector.Builder |
addVectorsBuilder(int index)
An array containing the vectors to upsert.
|
UpsertRequest |
build() |
UpsertRequest |
buildPartial() |
UpsertRequest.Builder |
clear() |
UpsertRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UpsertRequest.Builder |
clearNamespace()
This is the namespace name where you upsert vectors.
|
UpsertRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UpsertRequest.Builder |
clearVectors()
An array containing the vectors to upsert.
|
UpsertRequest.Builder |
clone() |
UpsertRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getNamespace()
This is the namespace name where you upsert vectors.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
This is the namespace name where you upsert vectors.
|
Vector |
getVectors(int index)
An array containing the vectors to upsert.
|
Vector.Builder |
getVectorsBuilder(int index)
An array containing the vectors to upsert.
|
java.util.List<Vector.Builder> |
getVectorsBuilderList()
An array containing the vectors to upsert.
|
int |
getVectorsCount()
An array containing the vectors to upsert.
|
java.util.List<Vector> |
getVectorsList()
An array containing the vectors to upsert.
|
VectorOrBuilder |
getVectorsOrBuilder(int index)
An array containing the vectors to upsert.
|
java.util.List<? extends VectorOrBuilder> |
getVectorsOrBuilderList()
An array containing the vectors to upsert.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpsertRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpsertRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpsertRequest.Builder |
mergeFrom(UpsertRequest other) |
UpsertRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpsertRequest.Builder |
removeVectors(int index)
An array containing the vectors to upsert.
|
UpsertRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
UpsertRequest.Builder |
setNamespace(java.lang.String value)
This is the namespace name where you upsert vectors.
|
UpsertRequest.Builder |
setNamespaceBytes(com.google.protobuf.ByteString value)
This is the namespace name where you upsert vectors.
|
UpsertRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
UpsertRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpsertRequest.Builder |
setVectors(int index,
Vector.Builder builderForValue)
An array containing the vectors to upsert.
|
UpsertRequest.Builder |
setVectors(int index,
Vector value)
An array containing the vectors to upsert.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public UpsertRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public UpsertRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UpsertRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UpsertRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UpsertRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public UpsertRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public UpsertRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public UpsertRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public UpsertRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public UpsertRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public UpsertRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpsertRequest.Builder>public UpsertRequest.Builder mergeFrom(UpsertRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public UpsertRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpsertRequest.Builder>java.io.IOExceptionpublic java.util.List<Vector> getVectorsList()
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];getVectorsList in interface UpsertRequestOrBuilderpublic int getVectorsCount()
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];getVectorsCount in interface UpsertRequestOrBuilderpublic Vector getVectors(int index)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];getVectors in interface UpsertRequestOrBuilderpublic UpsertRequest.Builder setVectors(int index, Vector value)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public UpsertRequest.Builder setVectors(int index, Vector.Builder builderForValue)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public UpsertRequest.Builder addVectors(Vector value)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public UpsertRequest.Builder addVectors(int index, Vector value)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public UpsertRequest.Builder addVectors(Vector.Builder builderForValue)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public UpsertRequest.Builder addVectors(int index, Vector.Builder builderForValue)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public UpsertRequest.Builder addAllVectors(java.lang.Iterable<? extends Vector> values)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public UpsertRequest.Builder clearVectors()
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public UpsertRequest.Builder removeVectors(int index)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public Vector.Builder getVectorsBuilder(int index)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public VectorOrBuilder getVectorsOrBuilder(int index)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];getVectorsOrBuilder in interface UpsertRequestOrBuilderpublic java.util.List<? extends VectorOrBuilder> getVectorsOrBuilderList()
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];getVectorsOrBuilderList in interface UpsertRequestOrBuilderpublic Vector.Builder addVectorsBuilder()
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public Vector.Builder addVectorsBuilder(int index)
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public java.util.List<Vector.Builder> getVectorsBuilderList()
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
repeated .Vector vectors = 1 [(.google.api.field_behavior) = REQUIRED];public java.lang.String getNamespace()
This is the namespace name where you upsert vectors.
string namespace = 2;getNamespace in interface UpsertRequestOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
This is the namespace name where you upsert vectors.
string namespace = 2;getNamespaceBytes in interface UpsertRequestOrBuilderpublic UpsertRequest.Builder setNamespace(java.lang.String value)
This is the namespace name where you upsert vectors.
string namespace = 2;value - The namespace to set.public UpsertRequest.Builder clearNamespace()
This is the namespace name where you upsert vectors.
string namespace = 2;public UpsertRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
This is the namespace name where you upsert vectors.
string namespace = 2;value - The bytes for namespace to set.public final UpsertRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>public final UpsertRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertRequest.Builder>