Class BackupSchedule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
com.google.spanner.admin.database.v1.BackupSchedule.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BackupScheduleOrBuilder,Cloneable
- Enclosing class:
- BackupSchedule
public static final class BackupSchedule.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
implements BackupScheduleOrBuilder
BackupSchedule expresses the automated backup creation specification for a Spanner database. Next ID: 10Protobuf type
google.spanner.admin.database.v1.BackupSchedule-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The schedule creates only full backups.The schedule creates incremental backup chains.Identifier.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional.Optional.Output only.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.The schedule creates only full backups.The schedule creates only full backups.The schedule creates only full backups.The schedule creates incremental backup chains.The schedule creates incremental backup chains.The schedule creates incremental backup chains.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.DurationOptional.com.google.protobuf.Duration.BuilderOptional.com.google.protobuf.DurationOrBuilderOptional.getSpec()Optional.Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOptional.booleanThe schedule creates only full backups.booleanThe schedule creates incremental backup chains.booleanOptional.booleanhasSpec()Optional.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanOptional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(BackupSchedule other) The schedule creates only full backups.The schedule creates incremental backup chains.mergeRetentionDuration(com.google.protobuf.Duration value) Optional.mergeSpec(BackupScheduleSpec value) Optional.final BackupSchedule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.Optional.setEncryptionConfig(CreateBackupEncryptionConfig.Builder builderForValue) Optional.setFullBackupSpec(FullBackupSpec value) The schedule creates only full backups.setFullBackupSpec(FullBackupSpec.Builder builderForValue) The schedule creates only full backups.The schedule creates incremental backup chains.setIncrementalBackupSpec(IncrementalBackupSpec.Builder builderForValue) The schedule creates incremental backup chains.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetentionDuration(com.google.protobuf.Duration value) Optional.setRetentionDuration(com.google.protobuf.Duration.Builder builderForValue) Optional.setSpec(BackupScheduleSpec value) Optional.setSpec(BackupScheduleSpec.Builder builderForValue) Optional.final BackupSchedule.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
setField
public BackupSchedule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
setRepeatedField
public BackupSchedule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
addRepeatedField
public BackupSchedule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackupSchedule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
mergeFrom
public BackupSchedule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackupSchedule.Builder>- Throws:
IOException
-
getBackupTypeSpecCase
- Specified by:
getBackupTypeSpecCasein interfaceBackupScheduleOrBuilder
-
clearBackupTypeSpec
-
getName
Identifier. Output only for the [CreateBackupSchedule][DatabaseAdmin.CreateBackupSchededule] operation. Required for the [UpdateBackupSchedule][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackupSchedule] operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form `projects/<project>/instances/<instance>/databases/<database>/backupSchedules/[a-z][a-z0-9_\-]*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceBackupScheduleOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Output only for the [CreateBackupSchedule][DatabaseAdmin.CreateBackupSchededule] operation. Required for the [UpdateBackupSchedule][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackupSchedule] operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form `projects/<project>/instances/<instance>/databases/<database>/backupSchedules/[a-z][a-z0-9_\-]*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceBackupScheduleOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. Output only for the [CreateBackupSchedule][DatabaseAdmin.CreateBackupSchededule] operation. Required for the [UpdateBackupSchedule][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackupSchedule] operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form `projects/<project>/instances/<instance>/databases/<database>/backupSchedules/[a-z][a-z0-9_\-]*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. Output only for the [CreateBackupSchedule][DatabaseAdmin.CreateBackupSchededule] operation. Required for the [UpdateBackupSchedule][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackupSchedule] operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form `projects/<project>/instances/<instance>/databases/<database>/backupSchedules/[a-z][a-z0-9_\-]*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. Output only for the [CreateBackupSchedule][DatabaseAdmin.CreateBackupSchededule] operation. Required for the [UpdateBackupSchedule][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackupSchedule] operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form `projects/<project>/instances/<instance>/databases/<database>/backupSchedules/[a-z][a-z0-9_\-]*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()Optional. The schedule specification based on which the backup creations are triggered.
.google.spanner.admin.database.v1.BackupScheduleSpec spec = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSpecin interfaceBackupScheduleOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
Optional. The schedule specification based on which the backup creations are triggered.
.google.spanner.admin.database.v1.BackupScheduleSpec spec = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSpecin interfaceBackupScheduleOrBuilder- Returns:
- The spec.
-
setSpec
Optional. The schedule specification based on which the backup creations are triggered.
.google.spanner.admin.database.v1.BackupScheduleSpec spec = 6 [(.google.api.field_behavior) = OPTIONAL]; -
setSpec
Optional. The schedule specification based on which the backup creations are triggered.
.google.spanner.admin.database.v1.BackupScheduleSpec spec = 6 [(.google.api.field_behavior) = OPTIONAL]; -
mergeSpec
Optional. The schedule specification based on which the backup creations are triggered.
.google.spanner.admin.database.v1.BackupScheduleSpec spec = 6 [(.google.api.field_behavior) = OPTIONAL]; -
clearSpec
Optional. The schedule specification based on which the backup creations are triggered.
.google.spanner.admin.database.v1.BackupScheduleSpec spec = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getSpecBuilder
Optional. The schedule specification based on which the backup creations are triggered.
.google.spanner.admin.database.v1.BackupScheduleSpec spec = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getSpecOrBuilder
Optional. The schedule specification based on which the backup creations are triggered.
.google.spanner.admin.database.v1.BackupScheduleSpec spec = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSpecOrBuilderin interfaceBackupScheduleOrBuilder
-
hasRetentionDuration
public boolean hasRetentionDuration()Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
.google.protobuf.Duration retention_duration = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRetentionDurationin interfaceBackupScheduleOrBuilder- Returns:
- Whether the retentionDuration field is set.
-
getRetentionDuration
public com.google.protobuf.Duration getRetentionDuration()Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
.google.protobuf.Duration retention_duration = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRetentionDurationin interfaceBackupScheduleOrBuilder- Returns:
- The retentionDuration.
-
setRetentionDuration
Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
.google.protobuf.Duration retention_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setRetentionDuration
public BackupSchedule.Builder setRetentionDuration(com.google.protobuf.Duration.Builder builderForValue) Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
.google.protobuf.Duration retention_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeRetentionDuration
Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
.google.protobuf.Duration retention_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearRetentionDuration
Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
.google.protobuf.Duration retention_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getRetentionDurationBuilder
public com.google.protobuf.Duration.Builder getRetentionDurationBuilder()Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
.google.protobuf.Duration retention_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getRetentionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getRetentionDurationOrBuilder()Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
.google.protobuf.Duration retention_duration = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRetentionDurationOrBuilderin interfaceBackupScheduleOrBuilder
-
hasEncryptionConfig
public boolean hasEncryptionConfig()Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEncryptionConfigin interfaceBackupScheduleOrBuilder- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEncryptionConfigin interfaceBackupScheduleOrBuilder- Returns:
- The encryptionConfig.
-
setEncryptionConfig
Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setEncryptionConfig
public BackupSchedule.Builder setEncryptionConfig(CreateBackupEncryptionConfig.Builder builderForValue) Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeEncryptionConfig
Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearEncryptionConfig
Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getEncryptionConfigBuilder
Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getEncryptionConfigOrBuilder
Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEncryptionConfigOrBuilderin interfaceBackupScheduleOrBuilder
-
hasFullBackupSpec
public boolean hasFullBackupSpec()The schedule creates only full backups.
.google.spanner.admin.database.v1.FullBackupSpec full_backup_spec = 7;- Specified by:
hasFullBackupSpecin interfaceBackupScheduleOrBuilder- Returns:
- Whether the fullBackupSpec field is set.
-
getFullBackupSpec
The schedule creates only full backups.
.google.spanner.admin.database.v1.FullBackupSpec full_backup_spec = 7;- Specified by:
getFullBackupSpecin interfaceBackupScheduleOrBuilder- Returns:
- The fullBackupSpec.
-
setFullBackupSpec
The schedule creates only full backups.
.google.spanner.admin.database.v1.FullBackupSpec full_backup_spec = 7; -
setFullBackupSpec
The schedule creates only full backups.
.google.spanner.admin.database.v1.FullBackupSpec full_backup_spec = 7; -
mergeFullBackupSpec
The schedule creates only full backups.
.google.spanner.admin.database.v1.FullBackupSpec full_backup_spec = 7; -
clearFullBackupSpec
The schedule creates only full backups.
.google.spanner.admin.database.v1.FullBackupSpec full_backup_spec = 7; -
getFullBackupSpecBuilder
The schedule creates only full backups.
.google.spanner.admin.database.v1.FullBackupSpec full_backup_spec = 7; -
getFullBackupSpecOrBuilder
The schedule creates only full backups.
.google.spanner.admin.database.v1.FullBackupSpec full_backup_spec = 7;- Specified by:
getFullBackupSpecOrBuilderin interfaceBackupScheduleOrBuilder
-
hasIncrementalBackupSpec
public boolean hasIncrementalBackupSpec()The schedule creates incremental backup chains.
.google.spanner.admin.database.v1.IncrementalBackupSpec incremental_backup_spec = 8;- Specified by:
hasIncrementalBackupSpecin interfaceBackupScheduleOrBuilder- Returns:
- Whether the incrementalBackupSpec field is set.
-
getIncrementalBackupSpec
The schedule creates incremental backup chains.
.google.spanner.admin.database.v1.IncrementalBackupSpec incremental_backup_spec = 8;- Specified by:
getIncrementalBackupSpecin interfaceBackupScheduleOrBuilder- Returns:
- The incrementalBackupSpec.
-
setIncrementalBackupSpec
The schedule creates incremental backup chains.
.google.spanner.admin.database.v1.IncrementalBackupSpec incremental_backup_spec = 8; -
setIncrementalBackupSpec
public BackupSchedule.Builder setIncrementalBackupSpec(IncrementalBackupSpec.Builder builderForValue) The schedule creates incremental backup chains.
.google.spanner.admin.database.v1.IncrementalBackupSpec incremental_backup_spec = 8; -
mergeIncrementalBackupSpec
The schedule creates incremental backup chains.
.google.spanner.admin.database.v1.IncrementalBackupSpec incremental_backup_spec = 8; -
clearIncrementalBackupSpec
The schedule creates incremental backup chains.
.google.spanner.admin.database.v1.IncrementalBackupSpec incremental_backup_spec = 8; -
getIncrementalBackupSpecBuilder
The schedule creates incremental backup chains.
.google.spanner.admin.database.v1.IncrementalBackupSpec incremental_backup_spec = 8; -
getIncrementalBackupSpecOrBuilder
The schedule creates incremental backup chains.
.google.spanner.admin.database.v1.IncrementalBackupSpec incremental_backup_spec = 8;- Specified by:
getIncrementalBackupSpecOrBuilderin interfaceBackupScheduleOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceBackupScheduleOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceBackupScheduleOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceBackupScheduleOrBuilder
-
setUnknownFields
public final BackupSchedule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-
mergeUnknownFields
public final BackupSchedule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupSchedule.Builder>
-