public static final class BackupScheduleSpec.Builder extends GeneratedMessageV3.Builder<BackupScheduleSpec.Builder> implements BackupScheduleSpecOrBuilder
Defines specifications of the backup schedule.
Protobuf type google.spanner.admin.database.v1.BackupScheduleSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupScheduleSpec.BuilderImplements
BackupScheduleSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupScheduleSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
build()
public BackupScheduleSpec build()
Returns | |
---|---|
Type | Description |
BackupScheduleSpec |
buildPartial()
public BackupScheduleSpec buildPartial()
Returns | |
---|---|
Type | Description |
BackupScheduleSpec |
clear()
public BackupScheduleSpec.Builder clear()
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
clearCronSpec()
public BackupScheduleSpec.Builder clearCronSpec()
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
clearField(Descriptors.FieldDescriptor field)
public BackupScheduleSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupScheduleSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
clearScheduleSpec()
public BackupScheduleSpec.Builder clearScheduleSpec()
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
clone()
public BackupScheduleSpec.Builder clone()
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
getCronSpec()
public CrontabSpec getCronSpec()
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
Returns | |
---|---|
Type | Description |
CrontabSpec |
The cronSpec. |
getCronSpecBuilder()
public CrontabSpec.Builder getCronSpecBuilder()
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
Returns | |
---|---|
Type | Description |
CrontabSpec.Builder |
getCronSpecOrBuilder()
public CrontabSpecOrBuilder getCronSpecOrBuilder()
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
Returns | |
---|---|
Type | Description |
CrontabSpecOrBuilder |
getDefaultInstanceForType()
public BackupScheduleSpec getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BackupScheduleSpec |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getScheduleSpecCase()
public BackupScheduleSpec.ScheduleSpecCase getScheduleSpecCase()
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.ScheduleSpecCase |
hasCronSpec()
public boolean hasCronSpec()
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the cronSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCronSpec(CrontabSpec value)
public BackupScheduleSpec.Builder mergeCronSpec(CrontabSpec value)
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
Parameter | |
---|---|
Name | Description |
value |
CrontabSpec |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupScheduleSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BackupScheduleSpec.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
mergeFrom(BackupScheduleSpec other)
public BackupScheduleSpec.Builder mergeFrom(BackupScheduleSpec other)
Parameter | |
---|---|
Name | Description |
other |
BackupScheduleSpec |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupScheduleSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
setCronSpec(CrontabSpec value)
public BackupScheduleSpec.Builder setCronSpec(CrontabSpec value)
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
Parameter | |
---|---|
Name | Description |
value |
CrontabSpec |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
setCronSpec(CrontabSpec.Builder builderForValue)
public BackupScheduleSpec.Builder setCronSpec(CrontabSpec.Builder builderForValue)
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
CrontabSpec.Builder |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BackupScheduleSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupScheduleSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupScheduleSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackupScheduleSpec.Builder |