Package io.milvus.grpc
Class DescribeSnapshotResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.DescribeSnapshotResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DescribeSnapshotResponseOrBuilder,Serializable
public final class DescribeSnapshotResponse extends com.google.protobuf.GeneratedMessageV3 implements DescribeSnapshotResponseOrBuilder
Protobuf typemilvus.proto.milvus.DescribeSnapshotResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDescribeSnapshotResponse.BuilderProtobuf typemilvus.proto.milvus.DescribeSnapshotResponse-
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_NAME_FIELD_NUMBERstatic intCREATE_TS_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPARTITION_NAMES_FIELD_NUMBERstatic intS3_LOCATION_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCollectionName()collection namecom.google.protobuf.ByteStringgetCollectionNameBytes()collection namelonggetCreateTs()create timestamp, all stream data before this timestamp will be flushed to segment list.static DescribeSnapshotResponsegetDefaultInstance()DescribeSnapshotResponsegetDefaultInstanceForType()StringgetDescription()user-defined snapshot descriptioncom.google.protobuf.ByteStringgetDescriptionBytes()user-defined snapshot descriptionstatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetName()user-defined snapshot namecom.google.protobuf.ByteStringgetNameBytes()user-defined snapshot namecom.google.protobuf.Parser<DescribeSnapshotResponse>getParserForType()StringgetPartitionNames(int index)the partition names in the snapshot.com.google.protobuf.ByteStringgetPartitionNamesBytes(int index)the partition names in the snapshot.intgetPartitionNamesCount()the partition names in the snapshot.com.google.protobuf.ProtocolStringListgetPartitionNamesList()the partition names in the snapshot.StringgetS3Location()s3 location of the snapshot meta file if snapshot is exported to s3.com.google.protobuf.ByteStringgetS3LocationBytes()s3 location of the snapshot meta file if snapshot is exported to s3.intgetSerializedSize()StatusgetStatus().milvus.proto.common.Status status = 1;StatusOrBuildergetStatusOrBuilder().milvus.proto.common.Status status = 1;inthashCode()booleanhasStatus().milvus.proto.common.Status status = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DescribeSnapshotResponse.BuildernewBuilder()static DescribeSnapshotResponse.BuildernewBuilder(DescribeSnapshotResponse prototype)DescribeSnapshotResponse.BuildernewBuilderForType()protected DescribeSnapshotResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DescribeSnapshotResponseparseDelimitedFrom(InputStream input)static DescribeSnapshotResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescribeSnapshotResponseparseFrom(byte[] data)static DescribeSnapshotResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescribeSnapshotResponseparseFrom(com.google.protobuf.ByteString data)static DescribeSnapshotResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescribeSnapshotResponseparseFrom(com.google.protobuf.CodedInputStream input)static DescribeSnapshotResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescribeSnapshotResponseparseFrom(InputStream input)static DescribeSnapshotResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescribeSnapshotResponseparseFrom(ByteBuffer data)static DescribeSnapshotResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DescribeSnapshotResponse>parser()DescribeSnapshotResponse.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
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLECTION_NAME_FIELD_NUMBER
public static final int COLLECTION_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITION_NAMES_FIELD_NUMBER
public static final int PARTITION_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TS_FIELD_NUMBER
public static final int CREATE_TS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
S3_LOCATION_FIELD_NUMBER
public static final int S3_LOCATION_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
-
hasStatus
public boolean hasStatus()
.milvus.proto.common.Status status = 1;- Specified by:
hasStatusin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public Status getStatus()
.milvus.proto.common.Status status = 1;- Specified by:
getStatusin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
public StatusOrBuilder getStatusOrBuilder()
.milvus.proto.common.Status status = 1;- Specified by:
getStatusOrBuilderin interfaceDescribeSnapshotResponseOrBuilder
-
getName
public String getName()
user-defined snapshot name
string name = 2;- Specified by:
getNamein interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
user-defined snapshot name
string name = 2;- Specified by:
getNameBytesin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
user-defined snapshot description
string description = 3;- Specified by:
getDescriptionin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
user-defined snapshot description
string description = 3;- Specified by:
getDescriptionBytesin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The bytes for description.
-
getCollectionName
public String getCollectionName()
collection name
string collection_name = 4;- Specified by:
getCollectionNamein interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()
collection name
string collection_name = 4;- Specified by:
getCollectionNameBytesin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The bytes for collectionName.
-
getPartitionNamesList
public com.google.protobuf.ProtocolStringList getPartitionNamesList()
the partition names in the snapshot.
repeated string partition_names = 5;- Specified by:
getPartitionNamesListin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- A list containing the partitionNames.
-
getPartitionNamesCount
public int getPartitionNamesCount()
the partition names in the snapshot.
repeated string partition_names = 5;- Specified by:
getPartitionNamesCountin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The count of partitionNames.
-
getPartitionNames
public String getPartitionNames(int index)
the partition names in the snapshot.
repeated string partition_names = 5;- Specified by:
getPartitionNamesin interfaceDescribeSnapshotResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitionNames at the given index.
-
getPartitionNamesBytes
public com.google.protobuf.ByteString getPartitionNamesBytes(int index)
the partition names in the snapshot.
repeated string partition_names = 5;- Specified by:
getPartitionNamesBytesin interfaceDescribeSnapshotResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionNames at the given index.
-
getCreateTs
public long getCreateTs()
create timestamp, all stream data before this timestamp will be flushed to segment list.
int64 create_ts = 6;- Specified by:
getCreateTsin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The createTs.
-
getS3Location
public String getS3Location()
s3 location of the snapshot meta file if snapshot is exported to s3.
string s3_location = 7;- Specified by:
getS3Locationin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The s3Location.
-
getS3LocationBytes
public com.google.protobuf.ByteString getS3LocationBytes()
s3 location of the snapshot meta file if snapshot is exported to s3.
string s3_location = 7;- Specified by:
getS3LocationBytesin interfaceDescribeSnapshotResponseOrBuilder- Returns:
- The bytes for s3Location.
-
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 DescribeSnapshotResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeSnapshotResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeSnapshotResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeSnapshotResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeSnapshotResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeSnapshotResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeSnapshotResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DescribeSnapshotResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DescribeSnapshotResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DescribeSnapshotResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DescribeSnapshotResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DescribeSnapshotResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DescribeSnapshotResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DescribeSnapshotResponse.Builder newBuilder()
-
newBuilder
public static DescribeSnapshotResponse.Builder newBuilder(DescribeSnapshotResponse prototype)
-
toBuilder
public DescribeSnapshotResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DescribeSnapshotResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DescribeSnapshotResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DescribeSnapshotResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<DescribeSnapshotResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DescribeSnapshotResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-