public static final class CreateBackupScheduleRequest.Builder extends GeneratedMessageV3.Builder<CreateBackupScheduleRequest.Builder> implements CreateBackupScheduleRequestOrBuilder
The request for
CreateBackupSchedule.
Protobuf type google.spanner.admin.database.v1.CreateBackupScheduleRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateBackupScheduleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateBackupScheduleRequest build()
buildPartial()
public CreateBackupScheduleRequest buildPartial()
clear()
public CreateBackupScheduleRequest.Builder clear()
Overrides
clearBackupSchedule()
public CreateBackupScheduleRequest.Builder clearBackupSchedule()
Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];
clearBackupScheduleId()
public CreateBackupScheduleRequest.Builder clearBackupScheduleId()
Required. The Id to use for the backup schedule. The backup_schedule_id
appended to parent
forms the full backup schedule name of the form
projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>
.
string backup_schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateBackupScheduleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateBackupScheduleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateBackupScheduleRequest.Builder clearParent()
Required. The name of the database that this backup schedule applies to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateBackupScheduleRequest.Builder clone()
Overrides
getBackupSchedule()
public BackupSchedule getBackupSchedule()
Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];
getBackupScheduleBuilder()
public BackupSchedule.Builder getBackupScheduleBuilder()
Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];
getBackupScheduleId()
public String getBackupScheduleId()
Required. The Id to use for the backup schedule. The backup_schedule_id
appended to parent
forms the full backup schedule name of the form
projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>
.
string backup_schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The backupScheduleId.
|
getBackupScheduleIdBytes()
public ByteString getBackupScheduleIdBytes()
Required. The Id to use for the backup schedule. The backup_schedule_id
appended to parent
forms the full backup schedule name of the form
projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>
.
string backup_schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for backupScheduleId.
|
getBackupScheduleOrBuilder()
public BackupScheduleOrBuilder getBackupScheduleOrBuilder()
Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateBackupScheduleRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The name of the database that this backup schedule applies to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The name of the database that this backup schedule applies to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasBackupSchedule()
public boolean hasBackupSchedule()
Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the backupSchedule field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBackupSchedule(BackupSchedule value)
public CreateBackupScheduleRequest.Builder mergeBackupSchedule(BackupSchedule value)
Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateBackupScheduleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateBackupScheduleRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(CreateBackupScheduleRequest other)
public CreateBackupScheduleRequest.Builder mergeFrom(CreateBackupScheduleRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateBackupScheduleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBackupSchedule(BackupSchedule value)
public CreateBackupScheduleRequest.Builder setBackupSchedule(BackupSchedule value)
Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];
setBackupSchedule(BackupSchedule.Builder builderForValue)
public CreateBackupScheduleRequest.Builder setBackupSchedule(BackupSchedule.Builder builderForValue)
Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];
setBackupScheduleId(String value)
public CreateBackupScheduleRequest.Builder setBackupScheduleId(String value)
Required. The Id to use for the backup schedule. The backup_schedule_id
appended to parent
forms the full backup schedule name of the form
projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>
.
string backup_schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The backupScheduleId to set.
|
setBackupScheduleIdBytes(ByteString value)
public CreateBackupScheduleRequest.Builder setBackupScheduleIdBytes(ByteString value)
Required. The Id to use for the backup schedule. The backup_schedule_id
appended to parent
forms the full backup schedule name of the form
projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>
.
string backup_schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for backupScheduleId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateBackupScheduleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateBackupScheduleRequest.Builder setParent(String value)
Required. The name of the database that this backup schedule applies to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateBackupScheduleRequest.Builder setParentBytes(ByteString value)
Required. The name of the database that this backup schedule applies to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateBackupScheduleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateBackupScheduleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides