Class DescribeSnapshotResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
      • getDefaultInstanceForType

        public DescribeSnapshotResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DescribeSnapshotResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DescribeSnapshotResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public DescribeSnapshotResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
      • addRepeatedField

        public DescribeSnapshotResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescribeSnapshotResponse.Builder>
        Throws:
        IOException
      • getStatusBuilder

        public Status.Builder getStatusBuilder()
        .milvus.proto.common.Status status = 1;
      • 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.
      • 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.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         user-defined snapshot description
         
        string description = 3;
        Specified by:
        getDescriptionBytes in interface DescribeSnapshotResponseOrBuilder
        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.
      • 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:
        getPartitionNamesList in interface DescribeSnapshotResponseOrBuilder
        Returns:
        A list containing the partitionNames.
      • getPartitionNames

        public String getPartitionNames​(int index)
         the partition names in the snapshot.
         
        repeated string partition_names = 5;
        Specified by:
        getPartitionNames in interface DescribeSnapshotResponseOrBuilder
        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:
        getPartitionNamesBytes in interface DescribeSnapshotResponseOrBuilder
        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:
        getCreateTs in interface DescribeSnapshotResponseOrBuilder
        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.
      • 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:
        getS3LocationBytes in interface DescribeSnapshotResponseOrBuilder
        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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>
      • mergeUnknownFields

        public final DescribeSnapshotResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeSnapshotResponse.Builder>