Package io.milvus.grpc
Class DescribeSnapshotResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
- io.milvus.grpc.DescribeSnapshotResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DescribeSnapshotResponseOrBuilder,Cloneable
- Enclosing class:
- DescribeSnapshotResponse
public static final class DescribeSnapshotResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder> implements DescribeSnapshotResponseOrBuilder
Protobuf typemilvus.proto.milvus.DescribeSnapshotResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeSnapshotResponse.BuilderaddAllPartitionNames(Iterable<String> values)the partition names in the snapshot.DescribeSnapshotResponse.BuilderaddPartitionNames(String value)the partition names in the snapshot.DescribeSnapshotResponse.BuilderaddPartitionNamesBytes(com.google.protobuf.ByteString value)the partition names in the snapshot.DescribeSnapshotResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DescribeSnapshotResponsebuild()DescribeSnapshotResponsebuildPartial()DescribeSnapshotResponse.Builderclear()DescribeSnapshotResponse.BuilderclearCollectionName()collection nameDescribeSnapshotResponse.BuilderclearCreateTs()create timestamp, all stream data before this timestamp will be flushed to segment list.DescribeSnapshotResponse.BuilderclearDescription()user-defined snapshot descriptionDescribeSnapshotResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DescribeSnapshotResponse.BuilderclearName()user-defined snapshot nameDescribeSnapshotResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DescribeSnapshotResponse.BuilderclearPartitionNames()the partition names in the snapshot.DescribeSnapshotResponse.BuilderclearS3Location()s3 location of the snapshot meta file if snapshot is exported to s3.DescribeSnapshotResponse.BuilderclearStatus().milvus.proto.common.Status status = 1;DescribeSnapshotResponse.Builderclone()StringgetCollectionName()collection namecom.google.protobuf.ByteStringgetCollectionNameBytes()collection namelonggetCreateTs()create timestamp, all stream data before this timestamp will be flushed to segment list.DescribeSnapshotResponsegetDefaultInstanceForType()StringgetDescription()user-defined snapshot descriptioncom.google.protobuf.ByteStringgetDescriptionBytes()user-defined snapshot descriptionstatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName()user-defined snapshot namecom.google.protobuf.ByteStringgetNameBytes()user-defined snapshot nameStringgetPartitionNames(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.StatusgetStatus().milvus.proto.common.Status status = 1;Status.BuildergetStatusBuilder().milvus.proto.common.Status status = 1;StatusOrBuildergetStatusOrBuilder().milvus.proto.common.Status status = 1;booleanhasStatus().milvus.proto.common.Status status = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DescribeSnapshotResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DescribeSnapshotResponse.BuildermergeFrom(com.google.protobuf.Message other)DescribeSnapshotResponse.BuildermergeFrom(DescribeSnapshotResponse other)DescribeSnapshotResponse.BuildermergeStatus(Status value).milvus.proto.common.Status status = 1;DescribeSnapshotResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DescribeSnapshotResponse.BuildersetCollectionName(String value)collection nameDescribeSnapshotResponse.BuildersetCollectionNameBytes(com.google.protobuf.ByteString value)collection nameDescribeSnapshotResponse.BuildersetCreateTs(long value)create timestamp, all stream data before this timestamp will be flushed to segment list.DescribeSnapshotResponse.BuildersetDescription(String value)user-defined snapshot descriptionDescribeSnapshotResponse.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)user-defined snapshot descriptionDescribeSnapshotResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DescribeSnapshotResponse.BuildersetName(String value)user-defined snapshot nameDescribeSnapshotResponse.BuildersetNameBytes(com.google.protobuf.ByteString value)user-defined snapshot nameDescribeSnapshotResponse.BuildersetPartitionNames(int index, String value)the partition names in the snapshot.DescribeSnapshotResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DescribeSnapshotResponse.BuildersetS3Location(String value)s3 location of the snapshot meta file if snapshot is exported to s3.DescribeSnapshotResponse.BuildersetS3LocationBytes(com.google.protobuf.ByteString value)s3 location of the snapshot meta file if snapshot is exported to s3.DescribeSnapshotResponse.BuildersetStatus(Status value).milvus.proto.common.Status status = 1;DescribeSnapshotResponse.BuildersetStatus(Status.Builder builderForValue).milvus.proto.common.Status status = 1;DescribeSnapshotResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<DescribeSnapshotResponse.Builder>
-
clear
public DescribeSnapshotResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
getDefaultInstanceForType
public DescribeSnapshotResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DescribeSnapshotResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DescribeSnapshotResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DescribeSnapshotResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
setField
public DescribeSnapshotResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
clearField
public DescribeSnapshotResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
clearOneof
public DescribeSnapshotResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
setRepeatedField
public DescribeSnapshotResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
addRepeatedField
public DescribeSnapshotResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
mergeFrom
public DescribeSnapshotResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescribeSnapshotResponse.Builder>
-
mergeFrom
public DescribeSnapshotResponse.Builder mergeFrom(DescribeSnapshotResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
mergeFrom
public DescribeSnapshotResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescribeSnapshotResponse.Builder>- Throws:
IOException
-
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.
-
setStatus
public DescribeSnapshotResponse.Builder setStatus(Status value)
.milvus.proto.common.Status status = 1;
-
setStatus
public DescribeSnapshotResponse.Builder setStatus(Status.Builder builderForValue)
.milvus.proto.common.Status status = 1;
-
mergeStatus
public DescribeSnapshotResponse.Builder mergeStatus(Status value)
.milvus.proto.common.Status status = 1;
-
clearStatus
public DescribeSnapshotResponse.Builder clearStatus()
.milvus.proto.common.Status status = 1;
-
getStatusBuilder
public Status.Builder getStatusBuilder()
.milvus.proto.common.Status status = 1;
-
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.
-
setName
public DescribeSnapshotResponse.Builder setName(String value)
user-defined snapshot name
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DescribeSnapshotResponse.Builder clearName()
user-defined snapshot name
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public DescribeSnapshotResponse.Builder setNameBytes(com.google.protobuf.ByteString value)
user-defined snapshot name
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setDescription
public DescribeSnapshotResponse.Builder setDescription(String value)
user-defined snapshot description
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public DescribeSnapshotResponse.Builder clearDescription()
user-defined snapshot description
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public DescribeSnapshotResponse.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
user-defined snapshot description
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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.
-
setCollectionName
public DescribeSnapshotResponse.Builder setCollectionName(String value)
collection name
string collection_name = 4;- Parameters:
value- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
public DescribeSnapshotResponse.Builder clearCollectionName()
collection name
string collection_name = 4;- Returns:
- This builder for chaining.
-
setCollectionNameBytes
public DescribeSnapshotResponse.Builder setCollectionNameBytes(com.google.protobuf.ByteString value)
collection name
string collection_name = 4;- Parameters:
value- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
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.
-
setPartitionNames
public DescribeSnapshotResponse.Builder setPartitionNames(int index, String value)
the partition names in the snapshot.
repeated string partition_names = 5;- Parameters:
index- The index to set the value at.value- The partitionNames to set.- Returns:
- This builder for chaining.
-
addPartitionNames
public DescribeSnapshotResponse.Builder addPartitionNames(String value)
the partition names in the snapshot.
repeated string partition_names = 5;- Parameters:
value- The partitionNames to add.- Returns:
- This builder for chaining.
-
addAllPartitionNames
public DescribeSnapshotResponse.Builder addAllPartitionNames(Iterable<String> values)
the partition names in the snapshot.
repeated string partition_names = 5;- Parameters:
values- The partitionNames to add.- Returns:
- This builder for chaining.
-
clearPartitionNames
public DescribeSnapshotResponse.Builder clearPartitionNames()
the partition names in the snapshot.
repeated string partition_names = 5;- Returns:
- This builder for chaining.
-
addPartitionNamesBytes
public DescribeSnapshotResponse.Builder addPartitionNamesBytes(com.google.protobuf.ByteString value)
the partition names in the snapshot.
repeated string partition_names = 5;- Parameters:
value- The bytes of the partitionNames to add.- Returns:
- This builder for chaining.
-
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.
-
setCreateTs
public DescribeSnapshotResponse.Builder setCreateTs(long value)
create timestamp, all stream data before this timestamp will be flushed to segment list.
int64 create_ts = 6;- Parameters:
value- The createTs to set.- Returns:
- This builder for chaining.
-
clearCreateTs
public DescribeSnapshotResponse.Builder clearCreateTs()
create timestamp, all stream data before this timestamp will be flushed to segment list.
int64 create_ts = 6;- Returns:
- This builder for chaining.
-
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.
-
setS3Location
public DescribeSnapshotResponse.Builder setS3Location(String value)
s3 location of the snapshot meta file if snapshot is exported to s3.
string s3_location = 7;- Parameters:
value- The s3Location to set.- Returns:
- This builder for chaining.
-
clearS3Location
public DescribeSnapshotResponse.Builder clearS3Location()
s3 location of the snapshot meta file if snapshot is exported to s3.
string s3_location = 7;- Returns:
- This builder for chaining.
-
setS3LocationBytes
public DescribeSnapshotResponse.Builder setS3LocationBytes(com.google.protobuf.ByteString value)
s3 location of the snapshot meta file if snapshot is exported to s3.
string s3_location = 7;- Parameters:
value- The bytes for s3Location to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DescribeSnapshotResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
mergeUnknownFields
public final DescribeSnapshotResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
-
-