Package com.google.cloud.gkebackup.v1
Class UpdateRestorePlanRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
- com.google.cloud.gkebackup.v1.UpdateRestorePlanRequest.Builder
-
- All Implemented Interfaces:
UpdateRestorePlanRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateRestorePlanRequest
public static final class UpdateRestorePlanRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder> implements UpdateRestorePlanRequestOrBuilder
Request message for UpdateRestorePlan.
Protobuf typegoogle.cloud.gkebackup.v1.UpdateRestorePlanRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateRestorePlanRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UpdateRestorePlanRequestbuild()UpdateRestorePlanRequestbuildPartial()UpdateRestorePlanRequest.Builderclear()UpdateRestorePlanRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UpdateRestorePlanRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UpdateRestorePlanRequest.BuilderclearRestorePlan()Required.UpdateRestorePlanRequest.BuilderclearUpdateMask()This is used to specify the fields to be overwritten in the RestorePlan targeted for update.UpdateRestorePlanRequest.Builderclone()UpdateRestorePlanRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RestorePlangetRestorePlan()Required.RestorePlan.BuildergetRestorePlanBuilder()Required.RestorePlanOrBuildergetRestorePlanOrBuilder()Required.com.google.protobuf.FieldMaskgetUpdateMask()This is used to specify the fields to be overwritten in the RestorePlan targeted for update.com.google.protobuf.FieldMask.BuildergetUpdateMaskBuilder()This is used to specify the fields to be overwritten in the RestorePlan targeted for update.com.google.protobuf.FieldMaskOrBuildergetUpdateMaskOrBuilder()This is used to specify the fields to be overwritten in the RestorePlan targeted for update.booleanhasRestorePlan()Required.booleanhasUpdateMask()This is used to specify the fields to be overwritten in the RestorePlan targeted for update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UpdateRestorePlanRequest.BuildermergeFrom(UpdateRestorePlanRequest other)UpdateRestorePlanRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UpdateRestorePlanRequest.BuildermergeFrom(com.google.protobuf.Message other)UpdateRestorePlanRequest.BuildermergeRestorePlan(RestorePlan value)Required.UpdateRestorePlanRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UpdateRestorePlanRequest.BuildermergeUpdateMask(com.google.protobuf.FieldMask value)This is used to specify the fields to be overwritten in the RestorePlan targeted for update.UpdateRestorePlanRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UpdateRestorePlanRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UpdateRestorePlanRequest.BuildersetRestorePlan(RestorePlan value)Required.UpdateRestorePlanRequest.BuildersetRestorePlan(RestorePlan.Builder builderForValue)Required.UpdateRestorePlanRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UpdateRestorePlanRequest.BuildersetUpdateMask(com.google.protobuf.FieldMask value)This is used to specify the fields to be overwritten in the RestorePlan targeted for update.UpdateRestorePlanRequest.BuildersetUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)This is used to specify the fields to be overwritten in the RestorePlan targeted for update.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
clear
public UpdateRestorePlanRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
getDefaultInstanceForType
public UpdateRestorePlanRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateRestorePlanRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateRestorePlanRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateRestorePlanRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
setField
public UpdateRestorePlanRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
clearField
public UpdateRestorePlanRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
clearOneof
public UpdateRestorePlanRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
setRepeatedField
public UpdateRestorePlanRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
addRepeatedField
public UpdateRestorePlanRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
mergeFrom
public UpdateRestorePlanRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateRestorePlanRequest.Builder>
-
mergeFrom
public UpdateRestorePlanRequest.Builder mergeFrom(UpdateRestorePlanRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
mergeFrom
public UpdateRestorePlanRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateRestorePlanRequest.Builder>- Throws:
IOException
-
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];- Specified by:
hasRestorePlanin interfaceUpdateRestorePlanRequestOrBuilder- Returns:
- Whether the restorePlan field is set.
-
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];- Specified by:
getRestorePlanin interfaceUpdateRestorePlanRequestOrBuilder- Returns:
- The restorePlan.
-
setRestorePlan
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];
-
setRestorePlan
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];
-
mergeRestorePlan
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];
-
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];
-
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];
-
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];- Specified by:
getRestorePlanOrBuilderin interfaceUpdateRestorePlanRequestOrBuilder
-
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;- Specified by:
hasUpdateMaskin interfaceUpdateRestorePlanRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.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;- Specified by:
getUpdateMaskin interfaceUpdateRestorePlanRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
public UpdateRestorePlanRequest.Builder setUpdateMask(com.google.protobuf.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;
-
setUpdateMask
public UpdateRestorePlanRequest.Builder setUpdateMask(com.google.protobuf.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;
-
mergeUpdateMask
public UpdateRestorePlanRequest.Builder mergeUpdateMask(com.google.protobuf.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;
-
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;
-
getUpdateMaskBuilder
public com.google.protobuf.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;
-
getUpdateMaskOrBuilder
public com.google.protobuf.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;- Specified by:
getUpdateMaskOrBuilderin interfaceUpdateRestorePlanRequestOrBuilder
-
setUnknownFields
public final UpdateRestorePlanRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
mergeUnknownFields
public final UpdateRestorePlanRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestorePlanRequest.Builder>
-
-