public static final class UpdateRestoreChannelRequest.Builder extends GeneratedMessageV3.Builder<UpdateRestoreChannelRequest.Builder> implements UpdateRestoreChannelRequestOrBuilder
Request message for UpdateRestoreChannel.
Protobuf type google.cloud.gkebackup.v1.UpdateRestoreChannelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateRestoreChannelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateRestoreChannelRequest build()
buildPartial()
public UpdateRestoreChannelRequest buildPartial()
clear()
public UpdateRestoreChannelRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateRestoreChannelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateRestoreChannelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public UpdateRestoreChannelRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateRestoreChannelRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateRestoreChannelRequest other)
public UpdateRestoreChannelRequest.Builder mergeFrom(UpdateRestoreChannelRequest other)
public UpdateRestoreChannelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateRestoreChannelRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateRestoreChannelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateRestoreChannelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateRestoreChannelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateRestoreChannelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|