Class UpdateRestoreChannelRequest.Builder (0.62.0)

public static final class UpdateRestoreChannelRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateRestoreChannelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateRestoreChannelRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public UpdateRestoreChannelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateRestoreChannelRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateRestoreChannelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRestoreChannelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateRestoreChannelRequest.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateRestoreChannelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateRestoreChannelRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateRestoreChannelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateRestoreChannelRequest.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRestoreChannelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateRestoreChannelRequest.Builder
Overrides

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