Class UpdateBackupScheduleRequest.Builder (6.108.0)

public static final class UpdateBackupScheduleRequest.Builder extends GeneratedMessage.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

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

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

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()

public BackupScheduleOrBuilder getBackupScheduleOrBuilder()

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
BackupScheduleOrBuilder

getDefaultInstanceForType()

public UpdateBackupScheduleRequest getDefaultInstanceForType()
Returns
Type Description
UpdateBackupScheduleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

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
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

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
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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
FieldMaskOrBuilder

hasBackupSchedule()

public boolean hasBackupSchedule()

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
boolean

Whether the backupSchedule field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBackupSchedule(BackupSchedule value)

public UpdateBackupScheduleRequest.Builder mergeBackupSchedule(BackupSchedule value)

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];

Parameter
Name Description
value BackupSchedule
Returns
Type Description
UpdateBackupScheduleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateBackupScheduleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateBackupScheduleRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateBackupScheduleRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateBackupScheduleRequest.Builder
Overrides

mergeFrom(UpdateBackupScheduleRequest other)

public UpdateBackupScheduleRequest.Builder mergeFrom(UpdateBackupScheduleRequest other)
Parameter
Name Description
other UpdateBackupScheduleRequest
Returns
Type Description
UpdateBackupScheduleRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateBackupScheduleRequest.Builder mergeUpdateMask(FieldMask value)

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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateBackupScheduleRequest.Builder

setBackupSchedule(BackupSchedule value)

public UpdateBackupScheduleRequest.Builder setBackupSchedule(BackupSchedule value)

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];

Parameter
Name Description
value BackupSchedule
Returns
Type Description
UpdateBackupScheduleRequest.Builder

setBackupSchedule(BackupSchedule.Builder builderForValue)

public UpdateBackupScheduleRequest.Builder setBackupSchedule(BackupSchedule.Builder builderForValue)

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];

Parameter
Name Description
builderForValue BackupSchedule.Builder
Returns
Type Description
UpdateBackupScheduleRequest.Builder

setUpdateMask(FieldMask value)

public UpdateBackupScheduleRequest.Builder setUpdateMask(FieldMask value)

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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateBackupScheduleRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateBackupScheduleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateBackupScheduleRequest.Builder