Package com.google.cloud.gkebackup.v1
Class UpdateRestoreRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UpdateRestoreRequest.Builder>
-
- com.google.cloud.gkebackup.v1.UpdateRestoreRequest.Builder
-
- All Implemented Interfaces:
UpdateRestoreRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateRestoreRequest
public static final class UpdateRestoreRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateRestoreRequest.Builder> implements UpdateRestoreRequestOrBuilder
Request message for UpdateRestore.
Protobuf typegoogle.cloud.gkebackup.v1.UpdateRestoreRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateRestoreRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UpdateRestoreRequestbuild()UpdateRestoreRequestbuildPartial()UpdateRestoreRequest.Builderclear()UpdateRestoreRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UpdateRestoreRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UpdateRestoreRequest.BuilderclearRestore()Required.UpdateRestoreRequest.BuilderclearUpdateMask()This is used to specify the fields to be overwritten in the Restore targeted for update.UpdateRestoreRequest.Builderclone()UpdateRestoreRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RestoregetRestore()Required.Restore.BuildergetRestoreBuilder()Required.RestoreOrBuildergetRestoreOrBuilder()Required.com.google.protobuf.FieldMaskgetUpdateMask()This is used to specify the fields to be overwritten in the Restore targeted for update.com.google.protobuf.FieldMask.BuildergetUpdateMaskBuilder()This is used to specify the fields to be overwritten in the Restore targeted for update.com.google.protobuf.FieldMaskOrBuildergetUpdateMaskOrBuilder()This is used to specify the fields to be overwritten in the Restore targeted for update.booleanhasRestore()Required.booleanhasUpdateMask()This is used to specify the fields to be overwritten in the Restore targeted for update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UpdateRestoreRequest.BuildermergeFrom(UpdateRestoreRequest other)UpdateRestoreRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UpdateRestoreRequest.BuildermergeFrom(com.google.protobuf.Message other)UpdateRestoreRequest.BuildermergeRestore(Restore value)Required.UpdateRestoreRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UpdateRestoreRequest.BuildermergeUpdateMask(com.google.protobuf.FieldMask value)This is used to specify the fields to be overwritten in the Restore targeted for update.UpdateRestoreRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UpdateRestoreRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UpdateRestoreRequest.BuildersetRestore(Restore value)Required.UpdateRestoreRequest.BuildersetRestore(Restore.Builder builderForValue)Required.UpdateRestoreRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UpdateRestoreRequest.BuildersetUpdateMask(com.google.protobuf.FieldMask value)This is used to specify the fields to be overwritten in the Restore targeted for update.UpdateRestoreRequest.BuildersetUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)This is used to specify the fields to be overwritten in the Restore 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<UpdateRestoreRequest.Builder>
-
clear
public UpdateRestoreRequest.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<UpdateRestoreRequest.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<UpdateRestoreRequest.Builder>
-
getDefaultInstanceForType
public UpdateRestoreRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateRestoreRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateRestoreRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateRestoreRequest.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<UpdateRestoreRequest.Builder>
-
setField
public UpdateRestoreRequest.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<UpdateRestoreRequest.Builder>
-
clearField
public UpdateRestoreRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestoreRequest.Builder>
-
clearOneof
public UpdateRestoreRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestoreRequest.Builder>
-
setRepeatedField
public UpdateRestoreRequest.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<UpdateRestoreRequest.Builder>
-
addRepeatedField
public UpdateRestoreRequest.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<UpdateRestoreRequest.Builder>
-
mergeFrom
public UpdateRestoreRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateRestoreRequest.Builder>
-
mergeFrom
public UpdateRestoreRequest.Builder mergeFrom(UpdateRestoreRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestoreRequest.Builder>
-
mergeFrom
public UpdateRestoreRequest.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<UpdateRestoreRequest.Builder>- Throws:
IOException
-
hasRestore
public boolean hasRestore()
Required. A new version of the Restore resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Restore restore = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasRestorein interfaceUpdateRestoreRequestOrBuilder- Returns:
- Whether the restore field is set.
-
getRestore
public Restore getRestore()
Required. A new version of the Restore resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Restore restore = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRestorein interfaceUpdateRestoreRequestOrBuilder- Returns:
- The restore.
-
setRestore
public UpdateRestoreRequest.Builder setRestore(Restore value)
Required. A new version of the Restore resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Restore restore = 1 [(.google.api.field_behavior) = REQUIRED];
-
setRestore
public UpdateRestoreRequest.Builder setRestore(Restore.Builder builderForValue)
Required. A new version of the Restore resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Restore restore = 1 [(.google.api.field_behavior) = REQUIRED];
-
mergeRestore
public UpdateRestoreRequest.Builder mergeRestore(Restore value)
Required. A new version of the Restore resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Restore restore = 1 [(.google.api.field_behavior) = REQUIRED];
-
clearRestore
public UpdateRestoreRequest.Builder clearRestore()
Required. A new version of the Restore resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Restore restore = 1 [(.google.api.field_behavior) = REQUIRED];
-
getRestoreBuilder
public Restore.Builder getRestoreBuilder()
Required. A new version of the Restore resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Restore restore = 1 [(.google.api.field_behavior) = REQUIRED];
-
getRestoreOrBuilder
public RestoreOrBuilder getRestoreOrBuilder()
Required. A new version of the Restore resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Restore restore = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRestoreOrBuilderin interfaceUpdateRestoreRequestOrBuilder
-
hasUpdateMask
public boolean hasUpdateMask()
This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
.google.protobuf.FieldMask update_mask = 2;- Specified by:
hasUpdateMaskin interfaceUpdateRestoreRequestOrBuilder- 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 Restore targeted for update. The values for each of these updated fields will be taken from the `restore` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
.google.protobuf.FieldMask update_mask = 2;- Specified by:
getUpdateMaskin interfaceUpdateRestoreRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
public UpdateRestoreRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
.google.protobuf.FieldMask update_mask = 2;
-
setUpdateMask
public UpdateRestoreRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
.google.protobuf.FieldMask update_mask = 2;
-
mergeUpdateMask
public UpdateRestoreRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
.google.protobuf.FieldMask update_mask = 2;
-
clearUpdateMask
public UpdateRestoreRequest.Builder clearUpdateMask()
This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
.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 Restore targeted for update. The values for each of these updated fields will be taken from the `restore` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
.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 Restore targeted for update. The values for each of these updated fields will be taken from the `restore` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
.google.protobuf.FieldMask update_mask = 2;- Specified by:
getUpdateMaskOrBuilderin interfaceUpdateRestoreRequestOrBuilder
-
setUnknownFields
public final UpdateRestoreRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestoreRequest.Builder>
-
mergeUnknownFields
public final UpdateRestoreRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateRestoreRequest.Builder>
-
-