public static final class UpdateRestorePlanRequest.Builder extends GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder> implements UpdateRestorePlanRequestOrBuilder
Request message for UpdateRestorePlan.
Protobuf type google.cloud.gkebackup.v1.UpdateRestorePlanRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateRestorePlanRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateRestorePlanRequest build()
Returns
buildPartial()
public UpdateRestorePlanRequest buildPartial()
Returns
clear()
public UpdateRestorePlanRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateRestorePlanRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateRestorePlanRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public UpdateRestorePlanRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateRestorePlanRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
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
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
Type | Description |
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
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateRestorePlanRequest other)
public UpdateRestorePlanRequest.Builder mergeFrom(UpdateRestorePlanRequest other)
Parameter
Returns
public UpdateRestorePlanRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateRestorePlanRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateRestorePlanRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateRestorePlanRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateRestorePlanRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateRestorePlanRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Name | Description |
builderForValue | Builder
|
Returns