Class Backup.Builder

  • All Implemented Interfaces:
    BackupOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Backup

    public static final class Backup.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
    implements BackupOrBuilder
     A Filestore backup.
     
    Protobuf type google.cloud.filestore.v1.Backup
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
      • internalGetFieldAccessorTable

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

        public Backup.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<Backup.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<Backup.Builder>
      • getDefaultInstanceForType

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

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

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

        public Backup.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<Backup.Builder>
      • setField

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

        public Backup.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<Backup.Builder>
      • clearOneof

        public Backup.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<Backup.Builder>
      • setRepeatedField

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

        public Backup.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<Backup.Builder>
      • mergeFrom

        public Backup.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Backup.Builder>
      • isInitialized

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

        public Backup.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<Backup.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. The resource name of the backup, in the format
         `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface BackupOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The resource name of the backup, in the format
         `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface BackupOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Backup.Builder setName​(String value)
         Output only. The resource name of the backup, in the format
         `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Backup.Builder clearName()
         Output only. The resource name of the backup, in the format
         `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Backup.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the backup, in the format
         `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         A description of the backup with 2048 characters or less.
         Requests with longer descriptions will be rejected.
         
        string description = 2;
        Specified by:
        getDescription in interface BackupOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         A description of the backup with 2048 characters or less.
         Requests with longer descriptions will be rejected.
         
        string description = 2;
        Specified by:
        getDescriptionBytes in interface BackupOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Backup.Builder setDescription​(String value)
         A description of the backup with 2048 characters or less.
         Requests with longer descriptions will be rejected.
         
        string description = 2;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Backup.Builder clearDescription()
         A description of the backup with 2048 characters or less.
         Requests with longer descriptions will be rejected.
         
        string description = 2;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Backup.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         A description of the backup with 2048 characters or less.
         Requests with longer descriptions will be rejected.
         
        string description = 2;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         Output only. The backup state.
         
        .google.cloud.filestore.v1.Backup.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface BackupOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Backup.Builder setStateValue​(int value)
         Output only. The backup state.
         
        .google.cloud.filestore.v1.Backup.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public Backup.State getState()
         Output only. The backup state.
         
        .google.cloud.filestore.v1.Backup.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface BackupOrBuilder
        Returns:
        The state.
      • setState

        public Backup.Builder setState​(Backup.State value)
         Output only. The backup state.
         
        .google.cloud.filestore.v1.Backup.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Backup.Builder clearState()
         Output only. The backup state.
         
        .google.cloud.filestore.v1.Backup.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The time when the backup was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface BackupOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The time when the backup was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface BackupOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Backup.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the backup was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Backup.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time when the backup was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Backup.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the backup was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Backup.Builder clearCreateTime()
         Output only. The time when the backup was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The time when the backup was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time when the backup was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface BackupOrBuilder
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: BackupOrBuilder
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 5;
        Specified by:
        getLabelsCount in interface BackupOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 5;
        Specified by:
        containsLabels in interface BackupOrBuilder
      • removeLabels

        public Backup.Builder removeLabels​(String key)
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 5;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Backup.Builder putLabels​(String key,
                                        String value)
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 5;
      • putAllLabels

        public Backup.Builder putAllLabels​(Map<String,​String> values)
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 5;
      • getCapacityGb

        public long getCapacityGb()
         Output only. Capacity of the source file share when the backup was created.
         
        int64 capacity_gb = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCapacityGb in interface BackupOrBuilder
        Returns:
        The capacityGb.
      • setCapacityGb

        public Backup.Builder setCapacityGb​(long value)
         Output only. Capacity of the source file share when the backup was created.
         
        int64 capacity_gb = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The capacityGb to set.
        Returns:
        This builder for chaining.
      • clearCapacityGb

        public Backup.Builder clearCapacityGb()
         Output only. Capacity of the source file share when the backup was created.
         
        int64 capacity_gb = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getStorageBytes

        public long getStorageBytes()
         Output only. The size of the storage used by the backup. As backups share
         storage, this number is expected to change with backup creation/deletion.
         
        int64 storage_bytes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStorageBytes in interface BackupOrBuilder
        Returns:
        The storageBytes.
      • setStorageBytes

        public Backup.Builder setStorageBytes​(long value)
         Output only. The size of the storage used by the backup. As backups share
         storage, this number is expected to change with backup creation/deletion.
         
        int64 storage_bytes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The storageBytes to set.
        Returns:
        This builder for chaining.
      • clearStorageBytes

        public Backup.Builder clearStorageBytes()
         Output only. The size of the storage used by the backup. As backups share
         storage, this number is expected to change with backup creation/deletion.
         
        int64 storage_bytes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getSourceInstance

        public String getSourceInstance()
         The resource name of the source Filestore instance, in the format
         `projects/{project_number}/locations/{location_id}/instances/{instance_id}`,
         used to create this backup.
         
        string source_instance = 8 [(.google.api.resource_reference) = { ... }
        Specified by:
        getSourceInstance in interface BackupOrBuilder
        Returns:
        The sourceInstance.
      • getSourceInstanceBytes

        public com.google.protobuf.ByteString getSourceInstanceBytes()
         The resource name of the source Filestore instance, in the format
         `projects/{project_number}/locations/{location_id}/instances/{instance_id}`,
         used to create this backup.
         
        string source_instance = 8 [(.google.api.resource_reference) = { ... }
        Specified by:
        getSourceInstanceBytes in interface BackupOrBuilder
        Returns:
        The bytes for sourceInstance.
      • setSourceInstance

        public Backup.Builder setSourceInstance​(String value)
         The resource name of the source Filestore instance, in the format
         `projects/{project_number}/locations/{location_id}/instances/{instance_id}`,
         used to create this backup.
         
        string source_instance = 8 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The sourceInstance to set.
        Returns:
        This builder for chaining.
      • clearSourceInstance

        public Backup.Builder clearSourceInstance()
         The resource name of the source Filestore instance, in the format
         `projects/{project_number}/locations/{location_id}/instances/{instance_id}`,
         used to create this backup.
         
        string source_instance = 8 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setSourceInstanceBytes

        public Backup.Builder setSourceInstanceBytes​(com.google.protobuf.ByteString value)
         The resource name of the source Filestore instance, in the format
         `projects/{project_number}/locations/{location_id}/instances/{instance_id}`,
         used to create this backup.
         
        string source_instance = 8 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for sourceInstance to set.
        Returns:
        This builder for chaining.
      • getSourceFileShare

        public String getSourceFileShare()
         Name of the file share in the source Filestore instance that the
         backup is created from.
         
        string source_file_share = 9;
        Specified by:
        getSourceFileShare in interface BackupOrBuilder
        Returns:
        The sourceFileShare.
      • getSourceFileShareBytes

        public com.google.protobuf.ByteString getSourceFileShareBytes()
         Name of the file share in the source Filestore instance that the
         backup is created from.
         
        string source_file_share = 9;
        Specified by:
        getSourceFileShareBytes in interface BackupOrBuilder
        Returns:
        The bytes for sourceFileShare.
      • setSourceFileShare

        public Backup.Builder setSourceFileShare​(String value)
         Name of the file share in the source Filestore instance that the
         backup is created from.
         
        string source_file_share = 9;
        Parameters:
        value - The sourceFileShare to set.
        Returns:
        This builder for chaining.
      • clearSourceFileShare

        public Backup.Builder clearSourceFileShare()
         Name of the file share in the source Filestore instance that the
         backup is created from.
         
        string source_file_share = 9;
        Returns:
        This builder for chaining.
      • setSourceFileShareBytes

        public Backup.Builder setSourceFileShareBytes​(com.google.protobuf.ByteString value)
         Name of the file share in the source Filestore instance that the
         backup is created from.
         
        string source_file_share = 9;
        Parameters:
        value - The bytes for sourceFileShare to set.
        Returns:
        This builder for chaining.
      • getSourceInstanceTierValue

        public int getSourceInstanceTierValue()
         Output only. The service tier of the source Filestore instance that this
         backup is created from.
         
        .google.cloud.filestore.v1.Instance.Tier source_instance_tier = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSourceInstanceTierValue in interface BackupOrBuilder
        Returns:
        The enum numeric value on the wire for sourceInstanceTier.
      • setSourceInstanceTierValue

        public Backup.Builder setSourceInstanceTierValue​(int value)
         Output only. The service tier of the source Filestore instance that this
         backup is created from.
         
        .google.cloud.filestore.v1.Instance.Tier source_instance_tier = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for sourceInstanceTier to set.
        Returns:
        This builder for chaining.
      • getSourceInstanceTier

        public Instance.Tier getSourceInstanceTier()
         Output only. The service tier of the source Filestore instance that this
         backup is created from.
         
        .google.cloud.filestore.v1.Instance.Tier source_instance_tier = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSourceInstanceTier in interface BackupOrBuilder
        Returns:
        The sourceInstanceTier.
      • setSourceInstanceTier

        public Backup.Builder setSourceInstanceTier​(Instance.Tier value)
         Output only. The service tier of the source Filestore instance that this
         backup is created from.
         
        .google.cloud.filestore.v1.Instance.Tier source_instance_tier = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The sourceInstanceTier to set.
        Returns:
        This builder for chaining.
      • clearSourceInstanceTier

        public Backup.Builder clearSourceInstanceTier()
         Output only. The service tier of the source Filestore instance that this
         backup is created from.
         
        .google.cloud.filestore.v1.Instance.Tier source_instance_tier = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getDownloadBytes

        public long getDownloadBytes()
         Output only. Amount of bytes that will be downloaded if the backup is
         restored. This may be different than storage bytes, since sequential
         backups of the same disk will share storage.
         
        int64 download_bytes = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDownloadBytes in interface BackupOrBuilder
        Returns:
        The downloadBytes.
      • setDownloadBytes

        public Backup.Builder setDownloadBytes​(long value)
         Output only. Amount of bytes that will be downloaded if the backup is
         restored. This may be different than storage bytes, since sequential
         backups of the same disk will share storage.
         
        int64 download_bytes = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The downloadBytes to set.
        Returns:
        This builder for chaining.
      • clearDownloadBytes

        public Backup.Builder clearDownloadBytes()
         Output only. Amount of bytes that will be downloaded if the backup is
         restored. This may be different than storage bytes, since sequential
         backups of the same disk will share storage.
         
        int64 download_bytes = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasSatisfiesPzs

        public boolean hasSatisfiesPzs()
         Output only. Reserved for future use.
         
        .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSatisfiesPzs in interface BackupOrBuilder
        Returns:
        Whether the satisfiesPzs field is set.
      • getSatisfiesPzs

        public com.google.protobuf.BoolValue getSatisfiesPzs()
         Output only. Reserved for future use.
         
        .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSatisfiesPzs in interface BackupOrBuilder
        Returns:
        The satisfiesPzs.
      • setSatisfiesPzs

        public Backup.Builder setSatisfiesPzs​(com.google.protobuf.BoolValue value)
         Output only. Reserved for future use.
         
        .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setSatisfiesPzs

        public Backup.Builder setSatisfiesPzs​(com.google.protobuf.BoolValue.Builder builderForValue)
         Output only. Reserved for future use.
         
        .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeSatisfiesPzs

        public Backup.Builder mergeSatisfiesPzs​(com.google.protobuf.BoolValue value)
         Output only. Reserved for future use.
         
        .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearSatisfiesPzs

        public Backup.Builder clearSatisfiesPzs()
         Output only. Reserved for future use.
         
        .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getSatisfiesPzsBuilder

        public com.google.protobuf.BoolValue.Builder getSatisfiesPzsBuilder()
         Output only. Reserved for future use.
         
        .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getSatisfiesPzsOrBuilder

        public com.google.protobuf.BoolValueOrBuilder getSatisfiesPzsOrBuilder()
         Output only. Reserved for future use.
         
        .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSatisfiesPzsOrBuilder in interface BackupOrBuilder
      • getKmsKey

        public String getKmsKey()
         Immutable. KMS key name used for data encryption.
         
        string kms_key = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getKmsKey in interface BackupOrBuilder
        Returns:
        The kmsKey.
      • getKmsKeyBytes

        public com.google.protobuf.ByteString getKmsKeyBytes()
         Immutable. KMS key name used for data encryption.
         
        string kms_key = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getKmsKeyBytes in interface BackupOrBuilder
        Returns:
        The bytes for kmsKey.
      • setKmsKey

        public Backup.Builder setKmsKey​(String value)
         Immutable. KMS key name used for data encryption.
         
        string kms_key = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The kmsKey to set.
        Returns:
        This builder for chaining.
      • clearKmsKey

        public Backup.Builder clearKmsKey()
         Immutable. KMS key name used for data encryption.
         
        string kms_key = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setKmsKeyBytes

        public Backup.Builder setKmsKeyBytes​(com.google.protobuf.ByteString value)
         Immutable. KMS key name used for data encryption.
         
        string kms_key = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for kmsKey to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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