public static final class Vector.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Vector.Builder> implements VectorOrBuilder
Vector| Modifier and Type | Method and Description |
|---|---|
Vector.Builder |
addAllValues(java.lang.Iterable<? extends java.lang.Float> values)
This is the vector data included in the request.
|
Vector.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Vector.Builder |
addValues(float value)
This is the vector data included in the request.
|
Vector |
build() |
Vector |
buildPartial() |
Vector.Builder |
clear() |
Vector.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Vector.Builder |
clearId()
This is the vector's unique id.
|
Vector.Builder |
clearMetadata()
This is the metadata included in the request.
|
Vector.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Vector.Builder |
clearSparseValues()
This is the vector sparse data
|
Vector.Builder |
clearValues()
This is the vector data included in the request.
|
Vector.Builder |
clone() |
Vector |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getId()
This is the vector's unique id.
|
com.google.protobuf.ByteString |
getIdBytes()
This is the vector's unique id.
|
com.google.protobuf.Struct |
getMetadata()
This is the metadata included in the request.
|
com.google.protobuf.Struct.Builder |
getMetadataBuilder()
This is the metadata included in the request.
|
com.google.protobuf.StructOrBuilder |
getMetadataOrBuilder()
This is the metadata included in the request.
|
SparseValues |
getSparseValues()
This is the vector sparse data
|
SparseValues.Builder |
getSparseValuesBuilder()
This is the vector sparse data
|
SparseValuesOrBuilder |
getSparseValuesOrBuilder()
This is the vector sparse data
|
float |
getValues(int index)
This is the vector data included in the request.
|
int |
getValuesCount()
This is the vector data included in the request.
|
java.util.List<java.lang.Float> |
getValuesList()
This is the vector data included in the request.
|
boolean |
hasMetadata()
This is the metadata included in the request.
|
boolean |
hasSparseValues()
This is the vector sparse data
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Vector.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Vector.Builder |
mergeFrom(com.google.protobuf.Message other) |
Vector.Builder |
mergeFrom(Vector other) |
Vector.Builder |
mergeMetadata(com.google.protobuf.Struct value)
This is the metadata included in the request.
|
Vector.Builder |
mergeSparseValues(SparseValues value)
This is the vector sparse data
|
Vector.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Vector.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Vector.Builder |
setId(java.lang.String value)
This is the vector's unique id.
|
Vector.Builder |
setIdBytes(com.google.protobuf.ByteString value)
This is the vector's unique id.
|
Vector.Builder |
setMetadata(com.google.protobuf.Struct.Builder builderForValue)
This is the metadata included in the request.
|
Vector.Builder |
setMetadata(com.google.protobuf.Struct value)
This is the metadata included in the request.
|
Vector.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Vector.Builder |
setSparseValues(SparseValues.Builder builderForValue)
This is the vector sparse data
|
Vector.Builder |
setSparseValues(SparseValues value)
This is the vector sparse data
|
Vector.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Vector.Builder |
setValues(int index,
float value)
This is the vector data included in the request.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Vector.Builder>public Vector.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Vector.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<Vector.Builder>public Vector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Vector build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Vector buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Vector.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Vector.Builder>public Vector.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<Vector.Builder>public Vector.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Vector.Builder>public Vector.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Vector.Builder>public Vector.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<Vector.Builder>public Vector.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<Vector.Builder>public Vector.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Vector.Builder>public Vector.Builder mergeFrom(Vector other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Vector.Builder>public Vector.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<Vector.Builder>java.io.IOExceptionpublic java.lang.String getId()
This is the vector's unique id.
string id = 1;getId in interface VectorOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
This is the vector's unique id.
string id = 1;getIdBytes in interface VectorOrBuilderpublic Vector.Builder setId(java.lang.String value)
This is the vector's unique id.
string id = 1;value - The id to set.public Vector.Builder clearId()
This is the vector's unique id.
string id = 1;public Vector.Builder setIdBytes(com.google.protobuf.ByteString value)
This is the vector's unique id.
string id = 1;value - The bytes for id to set.public java.util.List<java.lang.Float> getValuesList()
This is the vector data included in the request.
repeated float values = 2;getValuesList in interface VectorOrBuilderpublic int getValuesCount()
This is the vector data included in the request.
repeated float values = 2;getValuesCount in interface VectorOrBuilderpublic float getValues(int index)
This is the vector data included in the request.
repeated float values = 2;getValues in interface VectorOrBuilderindex - The index of the element to return.public Vector.Builder setValues(int index, float value)
This is the vector data included in the request.
repeated float values = 2;index - The index to set the value at.value - The values to set.public Vector.Builder addValues(float value)
This is the vector data included in the request.
repeated float values = 2;value - The values to add.public Vector.Builder addAllValues(java.lang.Iterable<? extends java.lang.Float> values)
This is the vector data included in the request.
repeated float values = 2;values - The values to add.public Vector.Builder clearValues()
This is the vector data included in the request.
repeated float values = 2;public boolean hasSparseValues()
This is the vector sparse data
.SparseValues sparse_values = 4;hasSparseValues in interface VectorOrBuilderpublic SparseValues getSparseValues()
This is the vector sparse data
.SparseValues sparse_values = 4;getSparseValues in interface VectorOrBuilderpublic Vector.Builder setSparseValues(SparseValues value)
This is the vector sparse data
.SparseValues sparse_values = 4;public Vector.Builder setSparseValues(SparseValues.Builder builderForValue)
This is the vector sparse data
.SparseValues sparse_values = 4;public Vector.Builder mergeSparseValues(SparseValues value)
This is the vector sparse data
.SparseValues sparse_values = 4;public Vector.Builder clearSparseValues()
This is the vector sparse data
.SparseValues sparse_values = 4;public SparseValues.Builder getSparseValuesBuilder()
This is the vector sparse data
.SparseValues sparse_values = 4;public SparseValuesOrBuilder getSparseValuesOrBuilder()
This is the vector sparse data
.SparseValues sparse_values = 4;getSparseValuesOrBuilder in interface VectorOrBuilderpublic boolean hasMetadata()
This is the metadata included in the request.
.google.protobuf.Struct metadata = 3;hasMetadata in interface VectorOrBuilderpublic com.google.protobuf.Struct getMetadata()
This is the metadata included in the request.
.google.protobuf.Struct metadata = 3;getMetadata in interface VectorOrBuilderpublic Vector.Builder setMetadata(com.google.protobuf.Struct value)
This is the metadata included in the request.
.google.protobuf.Struct metadata = 3;public Vector.Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue)
This is the metadata included in the request.
.google.protobuf.Struct metadata = 3;public Vector.Builder mergeMetadata(com.google.protobuf.Struct value)
This is the metadata included in the request.
.google.protobuf.Struct metadata = 3;public Vector.Builder clearMetadata()
This is the metadata included in the request.
.google.protobuf.Struct metadata = 3;public com.google.protobuf.Struct.Builder getMetadataBuilder()
This is the metadata included in the request.
.google.protobuf.Struct metadata = 3;public com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
This is the metadata included in the request.
.google.protobuf.Struct metadata = 3;getMetadataOrBuilder in interface VectorOrBuilderpublic final Vector.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Vector.Builder>public final Vector.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Vector.Builder>