Class BackupPlanBinding.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.Builder>
com.google.cloud.gkebackup.v1.BackupPlanBinding.Builder
All Implemented Interfaces:
BackupPlanBindingOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BackupPlanBinding

public static final class BackupPlanBinding.Builder extends com.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.Builder> implements BackupPlanBindingOrBuilder
 A BackupPlanBinding binds a BackupPlan with a BackupChannel.
 This resource is created automatically when a BackupPlan is created using a
 BackupChannel. This also serves as a holder for cross-project fields
 that need to be displayed in the current project.
 
Protobuf type google.cloud.gkebackup.v1.BackupPlanBinding
  • Method Details

    • getDescriptor

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

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

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

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

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

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

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

      public BackupPlanBinding.Builder mergeFrom(BackupPlanBinding other)
    • isInitialized

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

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

      public String getName()
       Identifier. The fully qualified name of the BackupPlanBinding.
       `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface BackupPlanBindingOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The fully qualified name of the BackupPlanBinding.
       `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface BackupPlanBindingOrBuilder
      Returns:
      The bytes for name.
    • setName

      public BackupPlanBinding.Builder setName(String value)
       Identifier. The fully qualified name of the BackupPlanBinding.
       `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public BackupPlanBinding.Builder clearName()
       Identifier. The fully qualified name of the BackupPlanBinding.
       `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public BackupPlanBinding.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The fully qualified name of the BackupPlanBinding.
       `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getUid

      public String getUid()
       Output only. Server generated global unique identifier of
       [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUid in interface BackupPlanBindingOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. Server generated global unique identifier of
       [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUidBytes in interface BackupPlanBindingOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public BackupPlanBinding.Builder setUid(String value)
       Output only. Server generated global unique identifier of
       [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public BackupPlanBinding.Builder clearUid()
       Output only. Server generated global unique identifier of
       [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setUidBytes

      public BackupPlanBinding.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. Server generated global unique identifier of
       [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

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

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface BackupPlanBindingOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public BackupPlanBinding.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public BackupPlanBinding.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public BackupPlanBinding.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public BackupPlanBinding.Builder clearCreateTime()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface BackupPlanBindingOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface BackupPlanBindingOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface BackupPlanBindingOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public BackupPlanBinding.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public BackupPlanBinding.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public BackupPlanBinding.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public BackupPlanBinding.Builder clearUpdateTime()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface BackupPlanBindingOrBuilder
    • getBackupPlan

      public String getBackupPlan()
       Output only. Immutable. The fully qualified name of the BackupPlan bound
       with the parent BackupChannel.
       `projects/*/locations/*/backupPlans/{backup_plan}`
       
      string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getBackupPlan in interface BackupPlanBindingOrBuilder
      Returns:
      The backupPlan.
    • getBackupPlanBytes

      public com.google.protobuf.ByteString getBackupPlanBytes()
       Output only. Immutable. The fully qualified name of the BackupPlan bound
       with the parent BackupChannel.
       `projects/*/locations/*/backupPlans/{backup_plan}`
       
      string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getBackupPlanBytes in interface BackupPlanBindingOrBuilder
      Returns:
      The bytes for backupPlan.
    • setBackupPlan

      public BackupPlanBinding.Builder setBackupPlan(String value)
       Output only. Immutable. The fully qualified name of the BackupPlan bound
       with the parent BackupChannel.
       `projects/*/locations/*/backupPlans/{backup_plan}`
       
      string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The backupPlan to set.
      Returns:
      This builder for chaining.
    • clearBackupPlan

      public BackupPlanBinding.Builder clearBackupPlan()
       Output only. Immutable. The fully qualified name of the BackupPlan bound
       with the parent BackupChannel.
       `projects/*/locations/*/backupPlans/{backup_plan}`
       
      string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setBackupPlanBytes

      public BackupPlanBinding.Builder setBackupPlanBytes(com.google.protobuf.ByteString value)
       Output only. Immutable. The fully qualified name of the BackupPlan bound
       with the parent BackupChannel.
       `projects/*/locations/*/backupPlans/{backup_plan}`
       
      string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for backupPlan to set.
      Returns:
      This builder for chaining.
    • getCluster

      public String getCluster()
       Output only. Immutable. The fully qualified name of the cluster that is
       being backed up Valid formats:
      
       - `projects/*/locations/*/clusters/*`
       - `projects/*/zones/*/clusters/*`
       
      string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCluster in interface BackupPlanBindingOrBuilder
      Returns:
      The cluster.
    • getClusterBytes

      public com.google.protobuf.ByteString getClusterBytes()
       Output only. Immutable. The fully qualified name of the cluster that is
       being backed up Valid formats:
      
       - `projects/*/locations/*/clusters/*`
       - `projects/*/zones/*/clusters/*`
       
      string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getClusterBytes in interface BackupPlanBindingOrBuilder
      Returns:
      The bytes for cluster.
    • setCluster

      public BackupPlanBinding.Builder setCluster(String value)
       Output only. Immutable. The fully qualified name of the cluster that is
       being backed up Valid formats:
      
       - `projects/*/locations/*/clusters/*`
       - `projects/*/zones/*/clusters/*`
       
      string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The cluster to set.
      Returns:
      This builder for chaining.
    • clearCluster

      public BackupPlanBinding.Builder clearCluster()
       Output only. Immutable. The fully qualified name of the cluster that is
       being backed up Valid formats:
      
       - `projects/*/locations/*/clusters/*`
       - `projects/*/zones/*/clusters/*`
       
      string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setClusterBytes

      public BackupPlanBinding.Builder setClusterBytes(com.google.protobuf.ByteString value)
       Output only. Immutable. The fully qualified name of the cluster that is
       being backed up Valid formats:
      
       - `projects/*/locations/*/clusters/*`
       - `projects/*/zones/*/clusters/*`
       
      string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for cluster to set.
      Returns:
      This builder for chaining.
    • hasBackupPlanDetails

      public boolean hasBackupPlanDetails()
       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasBackupPlanDetails in interface BackupPlanBindingOrBuilder
      Returns:
      Whether the backupPlanDetails field is set.
    • getBackupPlanDetails

      public BackupPlanBinding.BackupPlanDetails getBackupPlanDetails()
       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBackupPlanDetails in interface BackupPlanBindingOrBuilder
      Returns:
      The backupPlanDetails.
    • setBackupPlanDetails

       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setBackupPlanDetails

      public BackupPlanBinding.Builder setBackupPlanDetails(BackupPlanBinding.BackupPlanDetails.Builder builderForValue)
       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeBackupPlanDetails

      public BackupPlanBinding.Builder mergeBackupPlanDetails(BackupPlanBinding.BackupPlanDetails value)
       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearBackupPlanDetails

      public BackupPlanBinding.Builder clearBackupPlanDetails()
       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBackupPlanDetailsBuilder

      public BackupPlanBinding.BackupPlanDetails.Builder getBackupPlanDetailsBuilder()
       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBackupPlanDetailsOrBuilder

      public BackupPlanBinding.BackupPlanDetailsOrBuilder getBackupPlanDetailsOrBuilder()
       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBackupPlanDetailsOrBuilder in interface BackupPlanBindingOrBuilder
    • getEtag

      public String getEtag()
       Output only. `etag` is used for optimistic concurrency control as a way to
       help prevent simultaneous updates of a BackupPlanBinding from overwriting
       each other. It is strongly suggested that systems make use of the 'etag' in
       the read-modify-write cycle to perform BackupPlanBinding updates in
       order to avoid race conditions: An `etag` is returned in the response to
       `GetBackupPlanBinding`, and systems are expected to put that etag in
       the request to `UpdateBackupPlanBinding` or
       `DeleteBackupPlanBinding` to ensure that their change will be applied
       to the same version of the resource.
       
      string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtag in interface BackupPlanBindingOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Output only. `etag` is used for optimistic concurrency control as a way to
       help prevent simultaneous updates of a BackupPlanBinding from overwriting
       each other. It is strongly suggested that systems make use of the 'etag' in
       the read-modify-write cycle to perform BackupPlanBinding updates in
       order to avoid race conditions: An `etag` is returned in the response to
       `GetBackupPlanBinding`, and systems are expected to put that etag in
       the request to `UpdateBackupPlanBinding` or
       `DeleteBackupPlanBinding` to ensure that their change will be applied
       to the same version of the resource.
       
      string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtagBytes in interface BackupPlanBindingOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public BackupPlanBinding.Builder setEtag(String value)
       Output only. `etag` is used for optimistic concurrency control as a way to
       help prevent simultaneous updates of a BackupPlanBinding from overwriting
       each other. It is strongly suggested that systems make use of the 'etag' in
       the read-modify-write cycle to perform BackupPlanBinding updates in
       order to avoid race conditions: An `etag` is returned in the response to
       `GetBackupPlanBinding`, and systems are expected to put that etag in
       the request to `UpdateBackupPlanBinding` or
       `DeleteBackupPlanBinding` to ensure that their change will be applied
       to the same version of the resource.
       
      string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public BackupPlanBinding.Builder clearEtag()
       Output only. `etag` is used for optimistic concurrency control as a way to
       help prevent simultaneous updates of a BackupPlanBinding from overwriting
       each other. It is strongly suggested that systems make use of the 'etag' in
       the read-modify-write cycle to perform BackupPlanBinding updates in
       order to avoid race conditions: An `etag` is returned in the response to
       `GetBackupPlanBinding`, and systems are expected to put that etag in
       the request to `UpdateBackupPlanBinding` or
       `DeleteBackupPlanBinding` to ensure that their change will be applied
       to the same version of the resource.
       
      string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public BackupPlanBinding.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Output only. `etag` is used for optimistic concurrency control as a way to
       help prevent simultaneous updates of a BackupPlanBinding from overwriting
       each other. It is strongly suggested that systems make use of the 'etag' in
       the read-modify-write cycle to perform BackupPlanBinding updates in
       order to avoid race conditions: An `etag` is returned in the response to
       `GetBackupPlanBinding`, and systems are expected to put that etag in
       the request to `UpdateBackupPlanBinding` or
       `DeleteBackupPlanBinding` to ensure that their change will be applied
       to the same version of the resource.
       
      string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.