public final class Vector extends com.google.protobuf.GeneratedMessageV3 implements VectorOrBuilder
Vector| Modifier and Type | Class and Description |
|---|---|
static class |
Vector.Builder
Protobuf type
Vector |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ID_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
SPARSE_VALUES_FIELD_NUMBER |
static int |
VALUES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Vector |
getDefaultInstance() |
Vector |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.StructOrBuilder |
getMetadataOrBuilder()
This is the metadata included in the request.
|
com.google.protobuf.Parser<Vector> |
getParserForType() |
int |
getSerializedSize() |
SparseValues |
getSparseValues()
This is the vector sparse data
|
SparseValuesOrBuilder |
getSparseValuesOrBuilder()
This is the vector sparse data
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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() |
static Vector.Builder |
newBuilder() |
static Vector.Builder |
newBuilder(Vector prototype) |
Vector.Builder |
newBuilderForType() |
protected Vector.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Vector |
parseDelimitedFrom(java.io.InputStream input) |
static Vector |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Vector |
parseFrom(byte[] data) |
static Vector |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Vector |
parseFrom(java.nio.ByteBuffer data) |
static Vector |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Vector |
parseFrom(com.google.protobuf.ByteString data) |
static Vector |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Vector |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Vector |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Vector |
parseFrom(java.io.InputStream input) |
static Vector |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Vector> |
parser() |
Vector.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
public static final int SPARSE_VALUES_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
This is the metadata included in the request.
.google.protobuf.Struct metadata = 3;getMetadataOrBuilder in interface VectorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Vector parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vector parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vector parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vector parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vector parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Vector parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Vector parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Vector parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Vector parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Vector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Vector.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Vector.Builder newBuilder()
public static Vector.Builder newBuilder(Vector prototype)
public Vector.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Vector.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Vector getDefaultInstance()
public static com.google.protobuf.Parser<Vector> parser()
public com.google.protobuf.Parser<Vector> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Vector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder