Class UpdateRestorePlanRequest.Builder (0.2.6)

public static final class UpdateRestorePlanRequest.Builder extends GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder> implements UpdateRestorePlanRequestOrBuilder

Request message for UpdateRestorePlan.

Protobuf type google.cloud.gkebackup.v1.UpdateRestorePlanRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateRestorePlanRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides

build()

public UpdateRestorePlanRequest build()
Returns
TypeDescription
UpdateRestorePlanRequest

buildPartial()

public UpdateRestorePlanRequest buildPartial()
Returns
TypeDescription
UpdateRestorePlanRequest

clear()

public UpdateRestorePlanRequest.Builder clear()
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateRestorePlanRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateRestorePlanRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides

clearRestorePlan()

public UpdateRestorePlanRequest.Builder clearRestorePlan()

Required. A new version of the RestorePlan resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateRestorePlanRequest.Builder

clearUpdateMask()

public UpdateRestorePlanRequest.Builder clearUpdateMask()

This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the restore_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in restore_plan will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_plan are ignored and are not used to update the target RestorePlan.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateRestorePlanRequest.Builder

clone()

public UpdateRestorePlanRequest.Builder clone()
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateRestorePlanRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateRestorePlanRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRestorePlan()

public RestorePlan getRestorePlan()

Required. A new version of the RestorePlan resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RestorePlan

The restorePlan.

getRestorePlanBuilder()

public RestorePlan.Builder getRestorePlanBuilder()

Required. A new version of the RestorePlan resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RestorePlan.Builder

getRestorePlanOrBuilder()

public RestorePlanOrBuilder getRestorePlanOrBuilder()

Required. A new version of the RestorePlan resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RestorePlanOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the restore_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in restore_plan will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_plan are ignored and are not used to update the target RestorePlan.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the restore_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in restore_plan will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_plan are ignored and are not used to update the target RestorePlan.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the restore_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in restore_plan will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_plan are ignored and are not used to update the target RestorePlan.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasRestorePlan()

public boolean hasRestorePlan()

Required. A new version of the RestorePlan resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the restorePlan field is set.

hasUpdateMask()

public boolean hasUpdateMask()

This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the restore_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in restore_plan will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_plan are ignored and are not used to update the target RestorePlan.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateRestorePlanRequest other)

public UpdateRestorePlanRequest.Builder mergeFrom(UpdateRestorePlanRequest other)
Parameter
NameDescription
otherUpdateRestorePlanRequest
Returns
TypeDescription
UpdateRestorePlanRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateRestorePlanRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateRestorePlanRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides

mergeRestorePlan(RestorePlan value)

public UpdateRestorePlanRequest.Builder mergeRestorePlan(RestorePlan value)

Required. A new version of the RestorePlan resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueRestorePlan
Returns
TypeDescription
UpdateRestorePlanRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRestorePlanRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateRestorePlanRequest.Builder mergeUpdateMask(FieldMask value)

This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the restore_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in restore_plan will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_plan are ignored and are not used to update the target RestorePlan.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRestorePlanRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateRestorePlanRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides

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

public UpdateRestorePlanRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides

setRestorePlan(RestorePlan value)

public UpdateRestorePlanRequest.Builder setRestorePlan(RestorePlan value)

Required. A new version of the RestorePlan resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueRestorePlan
Returns
TypeDescription
UpdateRestorePlanRequest.Builder

setRestorePlan(RestorePlan.Builder builderForValue)

public UpdateRestorePlanRequest.Builder setRestorePlan(RestorePlan.Builder builderForValue)

Required. A new version of the RestorePlan resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueRestorePlan.Builder
Returns
TypeDescription
UpdateRestorePlanRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRestorePlanRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateRestorePlanRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateRestorePlanRequest.Builder setUpdateMask(FieldMask value)

This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the restore_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in restore_plan will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_plan are ignored and are not used to update the target RestorePlan.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRestorePlanRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateRestorePlanRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the restore_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in restore_plan will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_plan are ignored and are not used to update the target RestorePlan.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateRestorePlanRequest.Builder