Class ExportSnapshotRequest.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<ExportSnapshotRequest.Builder>
      • clear

        public ExportSnapshotRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ExportSnapshotRequest.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<ExportSnapshotRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public ExportSnapshotRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ExportSnapshotRequest.Builder>
      • clearField

        public ExportSnapshotRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportSnapshotRequest.Builder>
      • clearOneof

        public ExportSnapshotRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExportSnapshotRequest.Builder>
      • setRepeatedField

        public ExportSnapshotRequest.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<ExportSnapshotRequest.Builder>
      • addRepeatedField

        public ExportSnapshotRequest.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<ExportSnapshotRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportSnapshotRequest.Builder>
      • mergeFrom

        public ExportSnapshotRequest.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<ExportSnapshotRequest.Builder>
        Throws:
        IOException
      • getBaseBuilder

        public MsgBase.Builder getBaseBuilder()
        .milvus.proto.common.MsgBase base = 1;
      • setName

        public ExportSnapshotRequest.Builder setName​(String value)
         source snapshot name
         
        string name = 2;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public ExportSnapshotRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         source snapshot name
         
        string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDbNameBytes

        public com.google.protobuf.ByteString getDbNameBytes()
         source db name (where the snapshot lives)
         
        string db_name = 3;
        Specified by:
        getDbNameBytes in interface ExportSnapshotRequestOrBuilder
        Returns:
        The bytes for dbName.
      • setDbName

        public ExportSnapshotRequest.Builder setDbName​(String value)
         source db name (where the snapshot lives)
         
        string db_name = 3;
        Parameters:
        value - The dbName to set.
        Returns:
        This builder for chaining.
      • clearDbName

        public ExportSnapshotRequest.Builder clearDbName()
         source db name (where the snapshot lives)
         
        string db_name = 3;
        Returns:
        This builder for chaining.
      • setDbNameBytes

        public ExportSnapshotRequest.Builder setDbNameBytes​(com.google.protobuf.ByteString value)
         source db name (where the snapshot lives)
         
        string db_name = 3;
        Parameters:
        value - The bytes for dbName to set.
        Returns:
        This builder for chaining.
      • getCollectionNameBytes

        public com.google.protobuf.ByteString getCollectionNameBytes()
         source collection name (where the snapshot lives)
         
        string collection_name = 4;
        Specified by:
        getCollectionNameBytes in interface ExportSnapshotRequestOrBuilder
        Returns:
        The bytes for collectionName.
      • setCollectionName

        public ExportSnapshotRequest.Builder setCollectionName​(String value)
         source collection name (where the snapshot lives)
         
        string collection_name = 4;
        Parameters:
        value - The collectionName to set.
        Returns:
        This builder for chaining.
      • clearCollectionName

        public ExportSnapshotRequest.Builder clearCollectionName()
         source collection name (where the snapshot lives)
         
        string collection_name = 4;
        Returns:
        This builder for chaining.
      • setCollectionNameBytes

        public ExportSnapshotRequest.Builder setCollectionNameBytes​(com.google.protobuf.ByteString value)
         source collection name (where the snapshot lives)
         
        string collection_name = 4;
        Parameters:
        value - The bytes for collectionName to set.
        Returns:
        This builder for chaining.
      • getTargetS3PathBytes

        public com.google.protobuf.ByteString getTargetS3PathBytes()
         target root path for the exported snapshot bundle
         
        string target_s3_path = 5;
        Specified by:
        getTargetS3PathBytes in interface ExportSnapshotRequestOrBuilder
        Returns:
        The bytes for targetS3Path.
      • setTargetS3Path

        public ExportSnapshotRequest.Builder setTargetS3Path​(String value)
         target root path for the exported snapshot bundle
         
        string target_s3_path = 5;
        Parameters:
        value - The targetS3Path to set.
        Returns:
        This builder for chaining.
      • clearTargetS3Path

        public ExportSnapshotRequest.Builder clearTargetS3Path()
         target root path for the exported snapshot bundle
         
        string target_s3_path = 5;
        Returns:
        This builder for chaining.
      • setTargetS3PathBytes

        public ExportSnapshotRequest.Builder setTargetS3PathBytes​(com.google.protobuf.ByteString value)
         target root path for the exported snapshot bundle
         
        string target_s3_path = 5;
        Parameters:
        value - The bytes for targetS3Path to set.
        Returns:
        This builder for chaining.
      • getExternalSpec

        public String getExternalSpec()
         Optional external storage spec JSON for the external snapshot storage.
         Snapshot APIs consume the extfs section for provider, endpoint, region,
         SSL, IAM, and credential settings.
         
        string external_spec = 6;
        Specified by:
        getExternalSpec in interface ExportSnapshotRequestOrBuilder
        Returns:
        The externalSpec.
      • getExternalSpecBytes

        public com.google.protobuf.ByteString getExternalSpecBytes()
         Optional external storage spec JSON for the external snapshot storage.
         Snapshot APIs consume the extfs section for provider, endpoint, region,
         SSL, IAM, and credential settings.
         
        string external_spec = 6;
        Specified by:
        getExternalSpecBytes in interface ExportSnapshotRequestOrBuilder
        Returns:
        The bytes for externalSpec.
      • setExternalSpec

        public ExportSnapshotRequest.Builder setExternalSpec​(String value)
         Optional external storage spec JSON for the external snapshot storage.
         Snapshot APIs consume the extfs section for provider, endpoint, region,
         SSL, IAM, and credential settings.
         
        string external_spec = 6;
        Parameters:
        value - The externalSpec to set.
        Returns:
        This builder for chaining.
      • clearExternalSpec

        public ExportSnapshotRequest.Builder clearExternalSpec()
         Optional external storage spec JSON for the external snapshot storage.
         Snapshot APIs consume the extfs section for provider, endpoint, region,
         SSL, IAM, and credential settings.
         
        string external_spec = 6;
        Returns:
        This builder for chaining.
      • setExternalSpecBytes

        public ExportSnapshotRequest.Builder setExternalSpecBytes​(com.google.protobuf.ByteString value)
         Optional external storage spec JSON for the external snapshot storage.
         Snapshot APIs consume the extfs section for provider, endpoint, region,
         SSL, IAM, and credential settings.
         
        string external_spec = 6;
        Parameters:
        value - The bytes for externalSpec to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ExportSnapshotRequest.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<ExportSnapshotRequest.Builder>
      • mergeUnknownFields

        public final ExportSnapshotRequest.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<ExportSnapshotRequest.Builder>