Package com.google.cloud.gkebackup.v1
Interface UpdateBackupRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateBackupRequest
,UpdateBackupRequest.Builder
public interface UpdateBackupRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Backup
getBackup()
Required.BackupOrBuilder
getBackupOrBuilder()
Required.com.google.protobuf.FieldMask
getUpdateMask()
This is used to specify the fields to be overwritten in the Backup targeted for update.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
This is used to specify the fields to be overwritten in the Backup targeted for update.boolean
hasBackup()
Required.boolean
hasUpdateMask()
This is used to specify the fields to be overwritten in the Backup 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
-
hasBackup
boolean hasBackup()
Required. A new version of the Backup resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the backup field is set.
-
getBackup
Backup getBackup()
Required. A new version of the Backup resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The backup.
-
getBackupOrBuilder
BackupOrBuilder getBackupOrBuilder()
Required. A new version of the Backup resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
.google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasUpdateMask
boolean hasUpdateMask()
This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the `backup_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `backup` will be written to the target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored and are not used to update the target Backup.
.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 Backup targeted for update. The values for each of these updated fields will be taken from the `backup_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `backup` will be written to the target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored and are not used to update the target Backup.
.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 Backup targeted for update. The values for each of these updated fields will be taken from the `backup_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `backup` will be written to the target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored and are not used to update the target Backup.
.google.protobuf.FieldMask update_mask = 2;
-
-