Class UpdateRestoreChannelRequest.Builder

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

public static final class UpdateRestoreChannelRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateRestoreChannelRequest.Builder> implements UpdateRestoreChannelRequestOrBuilder
 Request message for UpdateRestoreChannel.
 
Protobuf type google.cloud.gkebackup.v1.UpdateRestoreChannelRequest
  • 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<UpdateRestoreChannelRequest.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<UpdateRestoreChannelRequest.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<UpdateRestoreChannelRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public UpdateRestoreChannelRequest.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<UpdateRestoreChannelRequest.Builder>
      Throws:
      IOException
    • hasRestoreChannel

      public boolean hasRestoreChannel()
       Required. A new version of the RestoreChannel resource that contains
       updated fields. This may be sparsely populated if an `update_mask` is
       provided.
       
      .google.cloud.gkebackup.v1.RestoreChannel restore_channel = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasRestoreChannel in interface UpdateRestoreChannelRequestOrBuilder
      Returns:
      Whether the restoreChannel field is set.
    • getRestoreChannel

      public RestoreChannel getRestoreChannel()
       Required. A new version of the RestoreChannel resource that contains
       updated fields. This may be sparsely populated if an `update_mask` is
       provided.
       
      .google.cloud.gkebackup.v1.RestoreChannel restore_channel = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRestoreChannel in interface UpdateRestoreChannelRequestOrBuilder
      Returns:
      The restoreChannel.
    • setRestoreChannel

      public UpdateRestoreChannelRequest.Builder setRestoreChannel(RestoreChannel value)
       Required. A new version of the RestoreChannel resource that contains
       updated fields. This may be sparsely populated if an `update_mask` is
       provided.
       
      .google.cloud.gkebackup.v1.RestoreChannel restore_channel = 1 [(.google.api.field_behavior) = REQUIRED];
    • setRestoreChannel

      public UpdateRestoreChannelRequest.Builder setRestoreChannel(RestoreChannel.Builder builderForValue)
       Required. A new version of the RestoreChannel resource that contains
       updated fields. This may be sparsely populated if an `update_mask` is
       provided.
       
      .google.cloud.gkebackup.v1.RestoreChannel restore_channel = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeRestoreChannel

      public UpdateRestoreChannelRequest.Builder mergeRestoreChannel(RestoreChannel value)
       Required. A new version of the RestoreChannel resource that contains
       updated fields. This may be sparsely populated if an `update_mask` is
       provided.
       
      .google.cloud.gkebackup.v1.RestoreChannel restore_channel = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearRestoreChannel

      public UpdateRestoreChannelRequest.Builder clearRestoreChannel()
       Required. A new version of the RestoreChannel resource that contains
       updated fields. This may be sparsely populated if an `update_mask` is
       provided.
       
      .google.cloud.gkebackup.v1.RestoreChannel restore_channel = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRestoreChannelBuilder

      public RestoreChannel.Builder getRestoreChannelBuilder()
       Required. A new version of the RestoreChannel resource that contains
       updated fields. This may be sparsely populated if an `update_mask` is
       provided.
       
      .google.cloud.gkebackup.v1.RestoreChannel restore_channel = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRestoreChannelOrBuilder

      public RestoreChannelOrBuilder getRestoreChannelOrBuilder()
       Required. A new version of the RestoreChannel resource that contains
       updated fields. This may be sparsely populated if an `update_mask` is
       provided.
       
      .google.cloud.gkebackup.v1.RestoreChannel restore_channel = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRestoreChannelOrBuilder in interface UpdateRestoreChannelRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. This is used to specify the fields to be overwritten in the
       RestoreChannel targeted for update. The values for each of these
       updated fields will be taken from the `restore_channel` provided
       with this request. Field names are relative to the root of the resource
       (e.g., `description`, `destination_project_id`, etc.)
       If no `update_mask` is provided, all fields in `restore_channel` will
       be written to the target RestoreChannel resource. Note that
       OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and
       are not used to update the target RestoreChannel.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateRestoreChannelRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. This is used to specify the fields to be overwritten in the
       RestoreChannel targeted for update. The values for each of these
       updated fields will be taken from the `restore_channel` provided
       with this request. Field names are relative to the root of the resource
       (e.g., `description`, `destination_project_id`, etc.)
       If no `update_mask` is provided, all fields in `restore_channel` will
       be written to the target RestoreChannel resource. Note that
       OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and
       are not used to update the target RestoreChannel.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateRestoreChannelRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateRestoreChannelRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. This is used to specify the fields to be overwritten in the
       RestoreChannel targeted for update. The values for each of these
       updated fields will be taken from the `restore_channel` provided
       with this request. Field names are relative to the root of the resource
       (e.g., `description`, `destination_project_id`, etc.)
       If no `update_mask` is provided, all fields in `restore_channel` will
       be written to the target RestoreChannel resource. Note that
       OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and
       are not used to update the target RestoreChannel.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateRestoreChannelRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. This is used to specify the fields to be overwritten in the
       RestoreChannel targeted for update. The values for each of these
       updated fields will be taken from the `restore_channel` provided
       with this request. Field names are relative to the root of the resource
       (e.g., `description`, `destination_project_id`, etc.)
       If no `update_mask` is provided, all fields in `restore_channel` will
       be written to the target RestoreChannel resource. Note that
       OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and
       are not used to update the target RestoreChannel.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateRestoreChannelRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. This is used to specify the fields to be overwritten in the
       RestoreChannel targeted for update. The values for each of these
       updated fields will be taken from the `restore_channel` provided
       with this request. Field names are relative to the root of the resource
       (e.g., `description`, `destination_project_id`, etc.)
       If no `update_mask` is provided, all fields in `restore_channel` will
       be written to the target RestoreChannel resource. Note that
       OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and
       are not used to update the target RestoreChannel.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateRestoreChannelRequest.Builder clearUpdateMask()
       Optional. This is used to specify the fields to be overwritten in the
       RestoreChannel targeted for update. The values for each of these
       updated fields will be taken from the `restore_channel` provided
       with this request. Field names are relative to the root of the resource
       (e.g., `description`, `destination_project_id`, etc.)
       If no `update_mask` is provided, all fields in `restore_channel` will
       be written to the target RestoreChannel resource. Note that
       OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and
       are not used to update the target RestoreChannel.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. This is used to specify the fields to be overwritten in the
       RestoreChannel targeted for update. The values for each of these
       updated fields will be taken from the `restore_channel` provided
       with this request. Field names are relative to the root of the resource
       (e.g., `description`, `destination_project_id`, etc.)
       If no `update_mask` is provided, all fields in `restore_channel` will
       be written to the target RestoreChannel resource. Note that
       OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and
       are not used to update the target RestoreChannel.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. This is used to specify the fields to be overwritten in the
       RestoreChannel targeted for update. The values for each of these
       updated fields will be taken from the `restore_channel` provided
       with this request. Field names are relative to the root of the resource
       (e.g., `description`, `destination_project_id`, etc.)
       If no `update_mask` is provided, all fields in `restore_channel` will
       be written to the target RestoreChannel resource. Note that
       OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and
       are not used to update the target RestoreChannel.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateRestoreChannelRequestOrBuilder