public static final class ContinuousBackupInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder> implements ContinuousBackupInfoOrBuilder
ContinuousBackupInfo describes the continuous backup properties of a cluster.Protobuf type
google.cloud.alloydb.v1.ContinuousBackupInfo| Modifier and Type | Method and Description |
|---|---|
ContinuousBackupInfo.Builder |
addAllSchedule(Iterable<? extends com.google.type.DayOfWeek> values)
Output only.
|
ContinuousBackupInfo.Builder |
addAllScheduleValue(Iterable<Integer> values)
Output only.
|
ContinuousBackupInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ContinuousBackupInfo.Builder |
addSchedule(com.google.type.DayOfWeek value)
Output only.
|
ContinuousBackupInfo.Builder |
addScheduleValue(int value)
Output only.
|
ContinuousBackupInfo |
build() |
ContinuousBackupInfo |
buildPartial() |
ContinuousBackupInfo.Builder |
clear() |
ContinuousBackupInfo.Builder |
clearEarliestRestorableTime()
Output only.
|
ContinuousBackupInfo.Builder |
clearEnabledTime()
Output only.
|
ContinuousBackupInfo.Builder |
clearEncryptionInfo()
Output only.
|
ContinuousBackupInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ContinuousBackupInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ContinuousBackupInfo.Builder |
clearSchedule()
Output only.
|
ContinuousBackupInfo.Builder |
clone() |
ContinuousBackupInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEarliestRestorableTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getEarliestRestorableTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEarliestRestorableTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getEnabledTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getEnabledTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEnabledTimeOrBuilder()
Output only.
|
EncryptionInfo |
getEncryptionInfo()
Output only.
|
EncryptionInfo.Builder |
getEncryptionInfoBuilder()
Output only.
|
EncryptionInfoOrBuilder |
getEncryptionInfoOrBuilder()
Output only.
|
com.google.type.DayOfWeek |
getSchedule(int index)
Output only.
|
int |
getScheduleCount()
Output only.
|
List<com.google.type.DayOfWeek> |
getScheduleList()
Output only.
|
int |
getScheduleValue(int index)
Output only.
|
List<Integer> |
getScheduleValueList()
Output only.
|
boolean |
hasEarliestRestorableTime()
Output only.
|
boolean |
hasEnabledTime()
Output only.
|
boolean |
hasEncryptionInfo()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ContinuousBackupInfo.Builder |
mergeEarliestRestorableTime(com.google.protobuf.Timestamp value)
Output only.
|
ContinuousBackupInfo.Builder |
mergeEnabledTime(com.google.protobuf.Timestamp value)
Output only.
|
ContinuousBackupInfo.Builder |
mergeEncryptionInfo(EncryptionInfo value)
Output only.
|
ContinuousBackupInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ContinuousBackupInfo.Builder |
mergeFrom(ContinuousBackupInfo other) |
ContinuousBackupInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
ContinuousBackupInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ContinuousBackupInfo.Builder |
setEarliestRestorableTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ContinuousBackupInfo.Builder |
setEarliestRestorableTime(com.google.protobuf.Timestamp value)
Output only.
|
ContinuousBackupInfo.Builder |
setEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ContinuousBackupInfo.Builder |
setEnabledTime(com.google.protobuf.Timestamp value)
Output only.
|
ContinuousBackupInfo.Builder |
setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only.
|
ContinuousBackupInfo.Builder |
setEncryptionInfo(EncryptionInfo value)
Output only.
|
ContinuousBackupInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ContinuousBackupInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ContinuousBackupInfo.Builder |
setSchedule(int index,
com.google.type.DayOfWeek value)
Output only.
|
ContinuousBackupInfo.Builder |
setScheduleValue(int index,
int value)
Output only.
|
ContinuousBackupInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ContinuousBackupInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ContinuousBackupInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ContinuousBackupInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder mergeFrom(ContinuousBackupInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContinuousBackupInfo.Builder>IOExceptionpublic boolean hasEncryptionInfo()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEncryptionInfo in interface ContinuousBackupInfoOrBuilderpublic EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionInfo in interface ContinuousBackupInfoOrBuilderpublic ContinuousBackupInfo.Builder setEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder mergeEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder clearEncryptionInfo()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EncryptionInfo.Builder getEncryptionInfoBuilder()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionInfoOrBuilder in interface ContinuousBackupInfoOrBuilderpublic boolean hasEnabledTime()
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEnabledTime in interface ContinuousBackupInfoOrBuilderpublic com.google.protobuf.Timestamp getEnabledTime()
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEnabledTime in interface ContinuousBackupInfoOrBuilderpublic ContinuousBackupInfo.Builder setEnabledTime(com.google.protobuf.Timestamp value)
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder mergeEnabledTime(com.google.protobuf.Timestamp value)
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder clearEnabledTime()
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder()
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder()
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEnabledTimeOrBuilder in interface ContinuousBackupInfoOrBuilderpublic List<com.google.type.DayOfWeek> getScheduleList()
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScheduleList in interface ContinuousBackupInfoOrBuilderpublic int getScheduleCount()
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScheduleCount in interface ContinuousBackupInfoOrBuilderpublic com.google.type.DayOfWeek getSchedule(int index)
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSchedule in interface ContinuousBackupInfoOrBuilderindex - The index of the element to return.public ContinuousBackupInfo.Builder setSchedule(int index, com.google.type.DayOfWeek value)
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index to set the value at.value - The schedule to set.public ContinuousBackupInfo.Builder addSchedule(com.google.type.DayOfWeek value)
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The schedule to add.public ContinuousBackupInfo.Builder addAllSchedule(Iterable<? extends com.google.type.DayOfWeek> values)
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
values - The schedule to add.public ContinuousBackupInfo.Builder clearSchedule()
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<Integer> getScheduleValueList()
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScheduleValueList in interface ContinuousBackupInfoOrBuilderpublic int getScheduleValue(int index)
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScheduleValue in interface ContinuousBackupInfoOrBuilderindex - The index of the value to return.public ContinuousBackupInfo.Builder setScheduleValue(int index, int value)
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index to set the value at.value - The enum numeric value on the wire for schedule to set.public ContinuousBackupInfo.Builder addScheduleValue(int value)
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for schedule to add.public ContinuousBackupInfo.Builder addAllScheduleValue(Iterable<Integer> values)
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
values - The enum numeric values on the wire for schedule to add.public boolean hasEarliestRestorableTime()
Output only. The earliest restorable time that can be restored to. Output only field.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEarliestRestorableTime in interface ContinuousBackupInfoOrBuilderpublic com.google.protobuf.Timestamp getEarliestRestorableTime()
Output only. The earliest restorable time that can be restored to. Output only field.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEarliestRestorableTime in interface ContinuousBackupInfoOrBuilderpublic ContinuousBackupInfo.Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value)
Output only. The earliest restorable time that can be restored to. Output only field.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder setEarliestRestorableTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The earliest restorable time that can be restored to. Output only field.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value)
Output only. The earliest restorable time that can be restored to. Output only field.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder clearEarliestRestorableTime()
Output only. The earliest restorable time that can be restored to. Output only field.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder()
Output only. The earliest restorable time that can be restored to. Output only field.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder()
Output only. The earliest restorable time that can be restored to. Output only field.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEarliestRestorableTimeOrBuilder in interface ContinuousBackupInfoOrBuilderpublic final ContinuousBackupInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>public final ContinuousBackupInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder>Copyright © 2025 Google LLC. All rights reserved.