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
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.FieldMask
Required.com.google.protobuf.FieldMaskOrBuilder
Required.boolean
Required.boolean
Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBackup
boolean hasBackup()Required. The backup to update. `backup.name`, and the fields to be updated as specified by `update_mask` are required. Other fields are ignored. Update is only supported for the following fields: * `backup.expire_time`.
.google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the backup field is set.
-
getBackup
Backup getBackup()Required. The backup to update. `backup.name`, and the fields to be updated as specified by `update_mask` are required. Other fields are ignored. Update is only supported for the following fields: * `backup.expire_time`.
.google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The backup.
-
getBackupOrBuilder
BackupOrBuilder getBackupOrBuilder()Required. The backup to update. `backup.name`, and the fields to be updated as specified by `update_mask` are required. Other fields are ignored. Update is only supported for the following fields: * `backup.expire_time`.
.google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasUpdateMask
boolean hasUpdateMask()Required. A mask specifying which fields (e.g. `expire_time`) in the Backup resource should be updated. This mask is relative to the Backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()Required. A mask specifying which fields (e.g. `expire_time`) in the Backup resource should be updated. This mask is relative to the Backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()Required. A mask specifying which fields (e.g. `expire_time`) in the Backup resource should be updated. This mask is relative to the Backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
-