Package com.google.cloud.gkebackup.v1
Interface UpdateRestoreRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateRestoreRequest
,UpdateRestoreRequest.Builder
public interface UpdateRestoreRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Restore
getRestore()
Required.RestoreOrBuilder
getRestoreOrBuilder()
Required.com.google.protobuf.FieldMask
getUpdateMask()
This is used to specify the fields to be overwritten in the Restore targeted for update.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
This is used to specify the fields to be overwritten in the Restore targeted for update.boolean
hasRestore()
Required.boolean
hasUpdateMask()
This is used to specify the fields to be overwritten in the Restore targeted for update.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRestore
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];
- Returns:
- Whether the restore field is set.
-
getRestore
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];
- Returns:
- The restore.
-
getRestoreOrBuilder
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];
-
hasUpdateMask
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;
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
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;
- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
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;
-
-