Class BackupChannel.Builder

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

public static final class BackupChannel.Builder extends com.google.protobuf.GeneratedMessage.Builder<BackupChannel.Builder> implements BackupChannelOrBuilder
 A BackupChannel imposes constraints on where clusters can be backed up.
 The BackupChannel should be in the same project and region
 as the cluster being backed up.
 The backup can be created only in destination_project.
 
Protobuf type google.cloud.gkebackup.v1.BackupChannel
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BackupChannel.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BackupChannel.Builder>
    • internalGetFieldAccessorTable

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

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

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

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

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

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

      public BackupChannel.Builder mergeFrom(BackupChannel other)
    • isInitialized

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

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

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

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

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

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

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

      public String getDestinationProject()
       Required. Immutable. The project where Backups are allowed to be stored.
       The format is `projects/{projectId}` or `projects/{projectNumber}`.
       
      string destination_project = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDestinationProject in interface BackupChannelOrBuilder
      Returns:
      The destinationProject.
    • getDestinationProjectBytes

      public com.google.protobuf.ByteString getDestinationProjectBytes()
       Required. Immutable. The project where Backups are allowed to be stored.
       The format is `projects/{projectId}` or `projects/{projectNumber}`.
       
      string destination_project = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDestinationProjectBytes in interface BackupChannelOrBuilder
      Returns:
      The bytes for destinationProject.
    • setDestinationProject

      public BackupChannel.Builder setDestinationProject(String value)
       Required. Immutable. The project where Backups are allowed to be stored.
       The format is `projects/{projectId}` or `projects/{projectNumber}`.
       
      string destination_project = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The destinationProject to set.
      Returns:
      This builder for chaining.
    • clearDestinationProject

      public BackupChannel.Builder clearDestinationProject()
       Required. Immutable. The project where Backups are allowed to be stored.
       The format is `projects/{projectId}` or `projects/{projectNumber}`.
       
      string destination_project = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDestinationProjectBytes

      public BackupChannel.Builder setDestinationProjectBytes(com.google.protobuf.ByteString value)
       Required. Immutable. The project where Backups are allowed to be stored.
       The format is `projects/{projectId}` or `projects/{projectNumber}`.
       
      string destination_project = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for destinationProject to set.
      Returns:
      This builder for chaining.
    • getUid

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

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

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

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

      public BackupChannel.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. Server generated global unique identifier of
       [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
       
      string uid = 3 [(.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 BackupChannel resource was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface BackupChannelOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

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

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

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

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

      public BackupChannel.Builder clearCreateTime()
       Output only. The timestamp when this BackupChannel resource 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 timestamp when this BackupChannel resource was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

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

      public boolean hasUpdateTime()
       Output only. The timestamp when this BackupChannel resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface BackupChannelOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when this BackupChannel resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface BackupChannelOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public BackupChannel.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this BackupChannel resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public BackupChannel.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when this BackupChannel resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public BackupChannel.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this BackupChannel resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public BackupChannel.Builder clearUpdateTime()
       Output only. The timestamp when this BackupChannel resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The timestamp when this BackupChannel resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when this BackupChannel resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface BackupChannelOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: BackupChannelOrBuilder
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface BackupChannelOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface BackupChannelOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface BackupChannelOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface BackupChannelOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface BackupChannelOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface BackupChannelOrBuilder
    • clearLabels

      public BackupChannel.Builder clearLabels()
    • removeLabels

      public BackupChannel.Builder removeLabels(String key)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

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

      public BackupChannel.Builder putLabels(String key, String value)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public BackupChannel.Builder putAllLabels(Map<String,String> values)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getDescription

      public String getDescription()
       Optional. User specified descriptive string for this BackupChannel.
       
      string description = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface BackupChannelOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. User specified descriptive string for this BackupChannel.
       
      string description = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface BackupChannelOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public BackupChannel.Builder setDescription(String value)
       Optional. User specified descriptive string for this BackupChannel.
       
      string description = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public BackupChannel.Builder clearDescription()
       Optional. User specified descriptive string for this BackupChannel.
       
      string description = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public BackupChannel.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. User specified descriptive string for this BackupChannel.
       
      string description = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getEtag

      public String getEtag()
       Output only. `etag` is used for optimistic concurrency control as a way to
       help prevent simultaneous updates of a BackupChannel from overwriting each
       other. It is strongly suggested that systems make use of the 'etag' in the
       read-modify-write cycle to perform BackupChannel updates in order to
       avoid race conditions: An `etag` is returned in the response to
       `GetBackupChannel`, and systems are expected to put that etag in the
       request to `UpdateBackupChannel` or `DeleteBackupChannel` 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 BackupChannelOrBuilder
      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 BackupChannel from overwriting each
       other. It is strongly suggested that systems make use of the 'etag' in the
       read-modify-write cycle to perform BackupChannel updates in order to
       avoid race conditions: An `etag` is returned in the response to
       `GetBackupChannel`, and systems are expected to put that etag in the
       request to `UpdateBackupChannel` or `DeleteBackupChannel` 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 BackupChannelOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public BackupChannel.Builder setEtag(String value)
       Output only. `etag` is used for optimistic concurrency control as a way to
       help prevent simultaneous updates of a BackupChannel from overwriting each
       other. It is strongly suggested that systems make use of the 'etag' in the
       read-modify-write cycle to perform BackupChannel updates in order to
       avoid race conditions: An `etag` is returned in the response to
       `GetBackupChannel`, and systems are expected to put that etag in the
       request to `UpdateBackupChannel` or `DeleteBackupChannel` 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 BackupChannel.Builder clearEtag()
       Output only. `etag` is used for optimistic concurrency control as a way to
       help prevent simultaneous updates of a BackupChannel from overwriting each
       other. It is strongly suggested that systems make use of the 'etag' in the
       read-modify-write cycle to perform BackupChannel updates in order to
       avoid race conditions: An `etag` is returned in the response to
       `GetBackupChannel`, and systems are expected to put that etag in the
       request to `UpdateBackupChannel` or `DeleteBackupChannel` 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 BackupChannel.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 BackupChannel from overwriting each
       other. It is strongly suggested that systems make use of the 'etag' in the
       read-modify-write cycle to perform BackupChannel updates in order to
       avoid race conditions: An `etag` is returned in the response to
       `GetBackupChannel`, and systems are expected to put that etag in the
       request to `UpdateBackupChannel` or `DeleteBackupChannel` 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.
    • getDestinationProjectId

      public String getDestinationProjectId()
       Output only. The project_id where Backups are allowed to be stored.
       Example Project ID: "my-project-id".
       This will be an OUTPUT_ONLY field to return the project_id of the
       destination project.
       
      string destination_project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDestinationProjectId in interface BackupChannelOrBuilder
      Returns:
      The destinationProjectId.
    • getDestinationProjectIdBytes

      public com.google.protobuf.ByteString getDestinationProjectIdBytes()
       Output only. The project_id where Backups are allowed to be stored.
       Example Project ID: "my-project-id".
       This will be an OUTPUT_ONLY field to return the project_id of the
       destination project.
       
      string destination_project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDestinationProjectIdBytes in interface BackupChannelOrBuilder
      Returns:
      The bytes for destinationProjectId.
    • setDestinationProjectId

      public BackupChannel.Builder setDestinationProjectId(String value)
       Output only. The project_id where Backups are allowed to be stored.
       Example Project ID: "my-project-id".
       This will be an OUTPUT_ONLY field to return the project_id of the
       destination project.
       
      string destination_project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The destinationProjectId to set.
      Returns:
      This builder for chaining.
    • clearDestinationProjectId

      public BackupChannel.Builder clearDestinationProjectId()
       Output only. The project_id where Backups are allowed to be stored.
       Example Project ID: "my-project-id".
       This will be an OUTPUT_ONLY field to return the project_id of the
       destination project.
       
      string destination_project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDestinationProjectIdBytes

      public BackupChannel.Builder setDestinationProjectIdBytes(com.google.protobuf.ByteString value)
       Output only. The project_id where Backups are allowed to be stored.
       Example Project ID: "my-project-id".
       This will be an OUTPUT_ONLY field to return the project_id of the
       destination project.
       
      string destination_project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for destinationProjectId to set.
      Returns:
      This builder for chaining.