Class RestoreChannel.Builder

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

public static final class RestoreChannel.Builder extends com.google.protobuf.GeneratedMessage.Builder<RestoreChannel.Builder> implements RestoreChannelOrBuilder
 A RestoreChannel imposes constraints on where backups can be restored.
 The RestoreChannel should be in the same project and region
 as the backups. The backups can only be restored in the
 `destination_project`.
 
Protobuf type google.cloud.gkebackup.v1.RestoreChannel
  • 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<RestoreChannel.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

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

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

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

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

      public RestoreChannel.Builder mergeFrom(RestoreChannel other)
    • isInitialized

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

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

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

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

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

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

      public RestoreChannel.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The fully qualified name of the RestoreChannel.
       `projects/*/locations/*/restoreChannels/*`
       
      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 into which the backups will be restored.
       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 RestoreChannelOrBuilder
      Returns:
      The destinationProject.
    • getDestinationProjectBytes

      public com.google.protobuf.ByteString getDestinationProjectBytes()
       Required. Immutable. The project into which the backups will be restored.
       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 RestoreChannelOrBuilder
      Returns:
      The bytes for destinationProject.
    • setDestinationProject

      public RestoreChannel.Builder setDestinationProject(String value)
       Required. Immutable. The project into which the backups will be restored.
       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 RestoreChannel.Builder clearDestinationProject()
       Required. Immutable. The project into which the backups will be restored.
       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 RestoreChannel.Builder setDestinationProjectBytes(com.google.protobuf.ByteString value)
       Required. Immutable. The project into which the backups will be restored.
       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 RestoreChannelOrBuilder
      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 RestoreChannelOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public RestoreChannel.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 RestoreChannel.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 RestoreChannel.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 RestoreChannel was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface RestoreChannelOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

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

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

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

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

      public RestoreChannel.Builder clearCreateTime()
       Output only. The timestamp when this RestoreChannel 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 RestoreChannel 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 RestoreChannel was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface RestoreChannelOrBuilder
    • hasUpdateTime

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

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

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

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

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

      public RestoreChannel.Builder clearUpdateTime()
       Output only. The timestamp when this RestoreChannel 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 RestoreChannel 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 RestoreChannel was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface RestoreChannelOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: RestoreChannelOrBuilder
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface RestoreChannelOrBuilder
    • 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 RestoreChannelOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface RestoreChannelOrBuilder
    • 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 RestoreChannelOrBuilder
    • 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 RestoreChannelOrBuilder
    • 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 RestoreChannelOrBuilder
    • clearLabels

      public RestoreChannel.Builder clearLabels()
    • removeLabels

      public RestoreChannel.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 RestoreChannel.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 RestoreChannel.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 RestoreChannel.
       
      string description = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface RestoreChannelOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

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

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

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

      public RestoreChannel.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. User specified descriptive string for this RestoreChannel.
       
      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 RestoreChannel from overwriting each
       other. It is strongly suggested that systems make use of the 'etag' in the
       read-modify-write cycle to perform RestoreChannel updates in order to
       avoid race conditions: An `etag` is returned in the response to
       `GetRestoreChannel`, and systems are expected to put that etag in the
       request to `UpdateRestoreChannel` or `DeleteRestoreChannel` 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 RestoreChannelOrBuilder
      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 RestoreChannel from overwriting each
       other. It is strongly suggested that systems make use of the 'etag' in the
       read-modify-write cycle to perform RestoreChannel updates in order to
       avoid race conditions: An `etag` is returned in the response to
       `GetRestoreChannel`, and systems are expected to put that etag in the
       request to `UpdateRestoreChannel` or `DeleteRestoreChannel` 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 RestoreChannelOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

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

      public com.google.protobuf.ByteString getDestinationProjectIdBytes()
       Output only. The project_id where backups will be restored.
       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 RestoreChannelOrBuilder
      Returns:
      The bytes for destinationProjectId.
    • setDestinationProjectId

      public RestoreChannel.Builder setDestinationProjectId(String value)
       Output only. The project_id where backups will be restored.
       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 RestoreChannel.Builder clearDestinationProjectId()
       Output only. The project_id where backups will be restored.
       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 RestoreChannel.Builder setDestinationProjectIdBytes(com.google.protobuf.ByteString value)
       Output only. The project_id where backups will be restored.
       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.