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
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 BackupScheduleSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BackupScheduleSpec build()
buildPartial()
public BackupScheduleSpec buildPartial()
clear()
public BackupScheduleSpec.Builder clear()
Overrides
clearCronSpec()
public BackupScheduleSpec.Builder clearCronSpec()
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
clearField(Descriptors.FieldDescriptor field)
public BackupScheduleSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupScheduleSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearScheduleSpec()
public BackupScheduleSpec.Builder clearScheduleSpec()
clone()
public BackupScheduleSpec.Builder clone()
Overrides
getCronSpec()
public CrontabSpec getCronSpec()
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
getCronSpecBuilder()
public CrontabSpec.Builder getCronSpecBuilder()
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
getCronSpecOrBuilder()
public CrontabSpecOrBuilder getCronSpecOrBuilder()
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
getDefaultInstanceForType()
public BackupScheduleSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getScheduleSpecCase()
public BackupScheduleSpec.ScheduleSpecCase getScheduleSpecCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCronSpec(CrontabSpec value)
public BackupScheduleSpec.Builder mergeCronSpec(CrontabSpec value)
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
public BackupScheduleSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BackupScheduleSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(BackupScheduleSpec other)
public BackupScheduleSpec.Builder mergeFrom(BackupScheduleSpec other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupScheduleSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCronSpec(CrontabSpec value)
public BackupScheduleSpec.Builder setCronSpec(CrontabSpec value)
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
setCronSpec(CrontabSpec.Builder builderForValue)
public BackupScheduleSpec.Builder setCronSpec(CrontabSpec.Builder builderForValue)
Cron style schedule specification.
.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public BackupScheduleSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupScheduleSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupScheduleSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides