Class WeaviateProtoBatch.BatchObject
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
io.weaviate.client.grpc.protocol.v1.WeaviateProtoBatch.BatchObject
- All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WeaviateProtoBatch.BatchObjectOrBuilder,Serializable
- Enclosing class:
- WeaviateProtoBatch
public static final class WeaviateProtoBatch.BatchObject
extends com.google.protobuf.GeneratedMessageV3
implements WeaviateProtoBatch.BatchObjectOrBuilder
Protobuf type
weaviate.v1.BatchObject- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeweaviate.v1.BatchObjectstatic final classProtobuf typeweaviate.v1.BatchObject.MultiTargetRefPropsstatic interfacestatic final classProtobuf typeweaviate.v1.BatchObject.Propertiesstatic interfacestatic final classProtobuf typeweaviate.v1.BatchObject.SingleTargetRefPropsstatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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 Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionSerializer, com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriterNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object> Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstring collection = 4;com.google.protobuf.ByteStringstring collection = 4;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<WeaviateProtoBatch.BatchObject>.weaviate.v1.BatchObject.Properties properties = 3;.weaviate.v1.BatchObject.Properties properties = 3;intstring tenant = 5;com.google.protobuf.ByteStringstring tenant = 5;getUuid()string uuid = 1;com.google.protobuf.ByteStringstring uuid = 1;floatgetVector(int index) Deprecated.weaviate.v1.BatchObject.vector is deprecated.com.google.protobuf.ByteStringbytes vector_bytes = 6;intDeprecated.weaviate.v1.BatchObject.vector is deprecated.Deprecated.weaviate.v1.BatchObject.vector is deprecated.getVectors(int index) protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDintprotolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDprotolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDgetVectorsOrBuilder(int index) protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDList<? extends WeaviateProtoBase.VectorsOrBuilder>protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDinthashCode()boolean.weaviate.v1.BatchObject.Properties properties = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(WeaviateProtoBatch.BatchObject prototype) protected WeaviateProtoBatch.BatchObject.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<WeaviateProtoBatch.BatchObject>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForTypeMethods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, newExtensionSerializer, newExtensionWriter, newMessageSetExtensionSerializer, newMessageSetExtensionWriterMethods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, getUnknownFields, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER- See Also:
-
VECTOR_FIELD_NUMBER
public static final int VECTOR_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
COLLECTION_FIELD_NUMBER
public static final int COLLECTION_FIELD_NUMBER- See Also:
-
TENANT_FIELD_NUMBER
public static final int TENANT_FIELD_NUMBER- See Also:
-
VECTOR_BYTES_FIELD_NUMBER
public static final int VECTOR_BYTES_FIELD_NUMBER- See Also:
-
VECTORS_FIELD_NUMBER
public static final int VECTORS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getUuid
string uuid = 1;- Specified by:
getUuidin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()string uuid = 1;- Specified by:
getUuidBytesin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- The bytes for uuid.
-
getVectorList
Deprecated.weaviate.v1.BatchObject.vector is deprecated. See v1/batch.proto;l=45protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 2 [deprecated = true];- Specified by:
getVectorListin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- A list containing the vector.
-
getVectorCount
Deprecated.weaviate.v1.BatchObject.vector is deprecated. See v1/batch.proto;l=45protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 2 [deprecated = true];- Specified by:
getVectorCountin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- The count of vector.
-
getVector
Deprecated.weaviate.v1.BatchObject.vector is deprecated. See v1/batch.proto;l=45protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 2 [deprecated = true];- Specified by:
getVectorin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The vector at the given index.
-
hasProperties
public boolean hasProperties().weaviate.v1.BatchObject.Properties properties = 3;- Specified by:
hasPropertiesin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
.weaviate.v1.BatchObject.Properties properties = 3;- Specified by:
getPropertiesin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- The properties.
-
getPropertiesOrBuilder
.weaviate.v1.BatchObject.Properties properties = 3;- Specified by:
getPropertiesOrBuilderin interfaceWeaviateProtoBatch.BatchObjectOrBuilder
-
getCollection
string collection = 4;- Specified by:
getCollectionin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- The collection.
-
getCollectionBytes
public com.google.protobuf.ByteString getCollectionBytes()string collection = 4;- Specified by:
getCollectionBytesin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- The bytes for collection.
-
getTenant
string tenant = 5;- Specified by:
getTenantin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- The tenant.
-
getTenantBytes
public com.google.protobuf.ByteString getTenantBytes()string tenant = 5;- Specified by:
getTenantBytesin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- The bytes for tenant.
-
getVectorBytes
public com.google.protobuf.ByteString getVectorBytes()bytes vector_bytes = 6;- Specified by:
getVectorBytesin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- The vectorBytes.
-
getVectorsList
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .weaviate.v1.Vectors vectors = 23;- Specified by:
getVectorsListin interfaceWeaviateProtoBatch.BatchObjectOrBuilder
-
getVectorsOrBuilderList
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .weaviate.v1.Vectors vectors = 23;- Specified by:
getVectorsOrBuilderListin interfaceWeaviateProtoBatch.BatchObjectOrBuilder
-
getVectorsCount
public int getVectorsCount()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .weaviate.v1.Vectors vectors = 23;- Specified by:
getVectorsCountin interfaceWeaviateProtoBatch.BatchObjectOrBuilder
-
getVectors
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .weaviate.v1.Vectors vectors = 23;- Specified by:
getVectorsin interfaceWeaviateProtoBatch.BatchObjectOrBuilder
-
getVectorsOrBuilder
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .weaviate.v1.Vectors vectors = 23;- Specified by:
getVectorsOrBuilderin interfaceWeaviateProtoBatch.BatchObjectOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static WeaviateProtoBatch.BatchObject parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoBatch.BatchObject parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoBatch.BatchObject parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoBatch.BatchObject parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoBatch.BatchObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoBatch.BatchObject parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WeaviateProtoBatch.BatchObject parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static WeaviateProtoBatch.BatchObject parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static WeaviateProtoBatch.BatchObject parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static WeaviateProtoBatch.BatchObject parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static WeaviateProtoBatch.BatchObject parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static WeaviateProtoBatch.BatchObject.Builder newBuilder(WeaviateProtoBatch.BatchObject prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WeaviateProtoBatch.BatchObject.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-