Class WeaviateProtoBatch.BatchObject
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.weaviate.client.grpc.protocol.v1.WeaviateProtoBatch.BatchObject
-
- All Implemented Interfaces:
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 typeweaviate.v1.BatchObject- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWeaviateProtoBatch.BatchObject.BuilderProtobuf typeweaviate.v1.BatchObjectstatic classWeaviateProtoBatch.BatchObject.MultiTargetRefPropsProtobuf typeweaviate.v1.BatchObject.MultiTargetRefPropsstatic interfaceWeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilderstatic classWeaviateProtoBatch.BatchObject.PropertiesProtobuf typeweaviate.v1.BatchObject.Propertiesstatic interfaceWeaviateProtoBatch.BatchObject.PropertiesOrBuilderstatic classWeaviateProtoBatch.BatchObject.SingleTargetRefPropsProtobuf typeweaviate.v1.BatchObject.SingleTargetRefPropsstatic interfaceWeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCOLLECTION_FIELD_NUMBERstatic intPROPERTIES_FIELD_NUMBERstatic intTENANT_FIELD_NUMBERstatic intUUID_FIELD_NUMBERstatic intVECTOR_BYTES_FIELD_NUMBERstatic intVECTOR_FIELD_NUMBERstatic intVECTORS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCollection()string collection = 4;com.google.protobuf.ByteStringgetCollectionBytes()string collection = 4;static WeaviateProtoBatch.BatchObjectgetDefaultInstance()WeaviateProtoBatch.BatchObjectgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<WeaviateProtoBatch.BatchObject>getParserForType()WeaviateProtoBatch.BatchObject.PropertiesgetProperties().weaviate.v1.BatchObject.Properties properties = 3;WeaviateProtoBatch.BatchObject.PropertiesOrBuildergetPropertiesOrBuilder().weaviate.v1.BatchObject.Properties properties = 3;intgetSerializedSize()StringgetTenant()string tenant = 5;com.google.protobuf.ByteStringgetTenantBytes()string tenant = 5;StringgetUuid()string uuid = 1;com.google.protobuf.ByteStringgetUuidBytes()string uuid = 1;floatgetVector(int index)Deprecated.weaviate.v1.BatchObject.vector is deprecated.com.google.protobuf.ByteStringgetVectorBytes()bytes vector_bytes = 6;intgetVectorCount()Deprecated.weaviate.v1.BatchObject.vector is deprecated.List<Float>getVectorList()Deprecated.weaviate.v1.BatchObject.vector is deprecated.WeaviateProtoBase.VectorsgetVectors(int index)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDintgetVectorsCount()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDList<WeaviateProtoBase.Vectors>getVectorsList()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDWeaviateProtoBase.VectorsOrBuildergetVectorsOrBuilder(int index)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDList<? extends WeaviateProtoBase.VectorsOrBuilder>getVectorsOrBuilderList()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDinthashCode()booleanhasProperties().weaviate.v1.BatchObject.Properties properties = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WeaviateProtoBatch.BatchObject.BuildernewBuilder()static WeaviateProtoBatch.BatchObject.BuildernewBuilder(WeaviateProtoBatch.BatchObject prototype)WeaviateProtoBatch.BatchObject.BuildernewBuilderForType()protected WeaviateProtoBatch.BatchObject.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WeaviateProtoBatch.BatchObjectparseDelimitedFrom(InputStream input)static WeaviateProtoBatch.BatchObjectparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoBatch.BatchObjectparseFrom(byte[] data)static WeaviateProtoBatch.BatchObjectparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoBatch.BatchObjectparseFrom(com.google.protobuf.ByteString data)static WeaviateProtoBatch.BatchObjectparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoBatch.BatchObjectparseFrom(com.google.protobuf.CodedInputStream input)static WeaviateProtoBatch.BatchObjectparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoBatch.BatchObjectparseFrom(InputStream input)static WeaviateProtoBatch.BatchObjectparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoBatch.BatchObjectparseFrom(ByteBuffer data)static WeaviateProtoBatch.BatchObjectparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<WeaviateProtoBatch.BatchObject>parser()WeaviateProtoBatch.BatchObject.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VECTOR_FIELD_NUMBER
public static final int VECTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLECTION_FIELD_NUMBER
public static final int COLLECTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TENANT_FIELD_NUMBER
public static final int TENANT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VECTOR_BYTES_FIELD_NUMBER
public static final int VECTOR_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VECTORS_FIELD_NUMBER
public static final int VECTORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getUuid
public String 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 public List<Float> 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 public int 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 public float getVector(int index)
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
public WeaviateProtoBatch.BatchObject.Properties getProperties()
.weaviate.v1.BatchObject.Properties properties = 3;- Specified by:
getPropertiesin interfaceWeaviateProtoBatch.BatchObjectOrBuilder- Returns:
- The properties.
-
getPropertiesOrBuilder
public WeaviateProtoBatch.BatchObject.PropertiesOrBuilder getPropertiesOrBuilder()
.weaviate.v1.BatchObject.Properties properties = 3;- Specified by:
getPropertiesOrBuilderin interfaceWeaviateProtoBatch.BatchObjectOrBuilder
-
getCollection
public String 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
public String 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
public List<WeaviateProtoBase.Vectors> getVectorsList()
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .weaviate.v1.Vectors vectors = 23;- Specified by:
getVectorsListin interfaceWeaviateProtoBatch.BatchObjectOrBuilder
-
getVectorsOrBuilderList
public List<? extends WeaviateProtoBase.VectorsOrBuilder> 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
public WeaviateProtoBase.Vectors getVectors(int index)
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .weaviate.v1.Vectors vectors = 23;- Specified by:
getVectorsin interfaceWeaviateProtoBatch.BatchObjectOrBuilder
-
getVectorsOrBuilder
public WeaviateProtoBase.VectorsOrBuilder getVectorsOrBuilder(int index)
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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static WeaviateProtoBatch.BatchObject parseFrom(InputStream input) throws IOException
- 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
public WeaviateProtoBatch.BatchObject.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WeaviateProtoBatch.BatchObject.Builder newBuilder()
-
newBuilder
public static WeaviateProtoBatch.BatchObject.Builder newBuilder(WeaviateProtoBatch.BatchObject prototype)
-
toBuilder
public WeaviateProtoBatch.BatchObject.Builder 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
public static WeaviateProtoBatch.BatchObject getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<WeaviateProtoBatch.BatchObject> parser()
-
getParserForType
public com.google.protobuf.Parser<WeaviateProtoBatch.BatchObject> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public WeaviateProtoBatch.BatchObject getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-