Class UpdateBackupScheduleRequest.Builder (6.77.0)

public static final class UpdateBackupScheduleRequest.Builder extends GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder> implements UpdateBackupScheduleRequestOrBuilder

The request for UpdateBackupScheduleRequest.

Protobuf type google.spanner.admin.database.v1.UpdateBackupScheduleRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateBackupScheduleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateBackupScheduleRequest.Builder
Overrides

build()

public UpdateBackupScheduleRequest build()
Returns
Type Description
UpdateBackupScheduleRequest

buildPartial()

public UpdateBackupScheduleRequest buildPartial()
Returns
Type Description
UpdateBackupScheduleRequest

clear()

public UpdateBackupScheduleRequest.Builder clear()
Returns
Type Description
UpdateBackupScheduleRequest.Builder
Overrides

clearBackupSchedule()

public UpdateBackupScheduleRequest.Builder clearBackupSchedule()

Required. The backup schedule to update. backup_schedule.name, and the fields to be updated as specified by update_mask are required. Other fields are ignored.

.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateBackupScheduleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateBackupScheduleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateBackupScheduleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateBackupScheduleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateBackupScheduleRequest.Builder
Overrides

clearUpdateMask()

public UpdateBackupScheduleRequest.Builder clearUpdateMask()

Required. A mask specifying which fields in the BackupSchedule resource should be updated. This mask is relative to the BackupSchedule resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateBackupScheduleRequest.Builder

clone()

public UpdateBackupScheduleRequest.Builder clone()
Returns
Type Description
UpdateBackupScheduleRequest.Builder
Overrides

getBackupSchedule()

public BackupSchedule getBackupSchedule()

Required. The backup schedule to update. backup_schedule.name, and the fields to be updated as specified by update_mask are required. Other fields are ignored.

.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupSchedule

The backupSchedule.

getBackupScheduleBuilder()

public BackupSchedule.Builder getBackupScheduleBuilder()

Required. The backup schedule to update. backup_schedule.name, and the fields to be updated as specified by update_mask are required. Other fields are ignored.

.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupSchedule.Builder

getBackupScheduleOrBuilder()