Class UpdateRestoreChannelRequest.Builder (0.86.0)

public static final class UpdateRestoreChannelRequest.Builder extends GeneratedMessage.Builder<UpdateRestoreChannelRequest.Builder> implements UpdateRestoreChannelRequestOrBuilder

Request message for UpdateRestoreChannel.

Protobuf type google.cloud.gkebackup.v1.UpdateRestoreChannelRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateRestoreChannelRequest build()
Returns
Type Description
UpdateRestoreChannelRequest

buildPartial()

public UpdateRestoreChannelRequest buildPartial()
Returns
Type Description
UpdateRestoreChannelRequest

clear()

public UpdateRestoreChannelRequest.Builder clear()
Returns
Type Description
UpdateRestoreChannelRequest.Builder
Overrides

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];

Returns
Type Description
UpdateRestoreChannelRequest.Builder

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];

Returns
Type Description
UpdateRestoreChannelRequest.Builder

getDefaultInstanceForType()

public UpdateRestoreChannelRequest getDefaultInstanceForType()
Returns
Type Description
UpdateRestoreChannelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
RestoreChannel

The restoreChannel.

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];

Returns
Type Description
RestoreChannel.Builder

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];

Returns
Type Description
RestoreChannelOrBuilder

getUpdateMask()

public 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];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public 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];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public 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];

Returns
Type Description
FieldMaskOrBuilder

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];

Returns
Type Description
boolean

Whether the restoreChannel field is set.

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];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateRestoreChannelRequest other)

public UpdateRestoreChannelRequest.Builder mergeFrom(UpdateRestoreChannelRequest other)
Parameter
Name Description
other UpdateRestoreChannelRequest
Returns
Type Description
UpdateRestoreChannelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateRestoreChannelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRestoreChannelRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateRestoreChannelRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateRestoreChannelRequest.Builder
Overrides

mergeRestoreChannel(RestoreChannel value)

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];

Parameter
Name Description
value RestoreChannel
Returns
Type Description
UpdateRestoreChannelRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateRestoreChannelRequest.Builder mergeUpdateMask(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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateRestoreChannelRequest.Builder

setRestoreChannel(RestoreChannel value)

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];

Parameter
Name Description
value RestoreChannel
Returns
Type Description
UpdateRestoreChannelRequest.Builder

setRestoreChannel(RestoreChannel.Builder builderForValue)

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];

Parameter
Name Description
builderForValue RestoreChannel.Builder
Returns
Type Description
UpdateRestoreChannelRequest.Builder

setUpdateMask(FieldMask value)

public UpdateRestoreChannelRequest.Builder setUpdateMask(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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateRestoreChannelRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateRestoreChannelRequest.Builder setUpdateMask(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateRestoreChannelRequest.Builder