Class UpdateBackupScheduleRequest.Builder (6.80.1)

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateBackupScheduleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateBackupScheduleRequest.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateBackupScheduleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateBackupScheduleRequest.Builder
Overrides

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