public static final class ContinuousBackupInfo.Builder extends GeneratedMessageV3.Builder<ContinuousBackupInfo.Builder> implements ContinuousBackupInfoOrBuilder
ContinuousBackupInfo describes the continuous backup properties of a cluster.
Protobuf type google.cloud.alloydb.v1beta.ContinuousBackupInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ContinuousBackupInfo.BuilderImplements
ContinuousBackupInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllSchedule(Iterable<? extends DayOfWeek> values)
public ContinuousBackupInfo.Builder addAllSchedule(Iterable<? extends 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];
Name | Description |
values |
Iterable<? extends com.google.type.DayOfWeek> The schedule to add. |
Type | Description |
ContinuousBackupInfo.Builder |
This builder for chaining. |
addAllScheduleValue(Iterable<Integer> values)
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];
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for schedule to add. |
Type | Description |
ContinuousBackupInfo.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContinuousBackupInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ContinuousBackupInfo.Builder |
addSchedule(DayOfWeek value)
public ContinuousBackupInfo.Builder addSchedule(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];
Name | Description |
value |
com.google.type.DayOfWeek The schedule to add. |
Type | Description |
ContinuousBackupInfo.Builder |
This builder for chaining. |
addScheduleValue(int value)
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];
Name | Description |
value |
int The enum numeric value on the wire for schedule to add. |
Type | Description |
ContinuousBackupInfo.Builder |
This builder for chaining. |
build()
public ContinuousBackupInfo build()
Type | Description |
ContinuousBackupInfo |
buildPartial()
public ContinuousBackupInfo buildPartial()
Type | Description |
ContinuousBackupInfo |
clear()
public ContinuousBackupInfo.Builder clear()
Type | Description |
ContinuousBackupInfo.Builder |
clearEnabledTime()
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];
Type | Description |
ContinuousBackupInfo.Builder |
clearEncryptionInfo()
public ContinuousBackupInfo.Builder clearEncryptionInfo()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ContinuousBackupInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public ContinuousBackupInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
ContinuousBackupInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ContinuousBackupInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
ContinuousBackupInfo.Builder |
clearSchedule()
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];
Type | Description |
ContinuousBackupInfo.Builder |
This builder for chaining. |
clone()
public ContinuousBackupInfo.Builder clone()
Type | Description |
ContinuousBackupInfo.Builder |
getDefaultInstanceForType()
public ContinuousBackupInfo getDefaultInstanceForType()
Type | Description |
ContinuousBackupInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnabledTime()
public 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];
Type | Description |
Timestamp |
The enabledTime. |
getEnabledTimeBuilder()
public 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];
Type | Description |
Builder |
getEnabledTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
getEncryptionInfo()
public EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
EncryptionInfo |
The encryptionInfo. |
getEncryptionInfoBuilder()
public EncryptionInfo.Builder getEncryptionInfoBuilder()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
EncryptionInfo.Builder |
getEncryptionInfoOrBuilder()
public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
EncryptionInfoOrBuilder |
getSchedule(int index)
public 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];
Name | Description |
index |
int The index of the element to return. |
Type | Description |
com.google.type.DayOfWeek |
The schedule at the given index. |
getScheduleCount()
public 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];
Type | Description |
int |
The count of schedule. |
getScheduleList()
public List<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];
Type | Description |
List<com.google.type.DayOfWeek> |
A list containing the schedule. |
getScheduleValue(int index)
public 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];
Name | Description |
index |
int The index of the value to return. |
Type | Description |
int |
The enum numeric value on the wire of schedule at the given index. |
getScheduleValueList()
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];
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for schedule. |
hasEnabledTime()
public 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];
Type | Description |
boolean |
Whether the enabledTime field is set. |
hasEncryptionInfo()
public boolean hasEncryptionInfo()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the encryptionInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEnabledTime(Timestamp value)
public ContinuousBackupInfo.Builder mergeEnabledTime(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];
Name | Description |
value |
Timestamp |
Type | Description |
ContinuousBackupInfo.Builder |
mergeEncryptionInfo(EncryptionInfo value)
public ContinuousBackupInfo.Builder mergeEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
EncryptionInfo |
Type | Description |
ContinuousBackupInfo.Builder |
mergeFrom(ContinuousBackupInfo other)
public ContinuousBackupInfo.Builder mergeFrom(ContinuousBackupInfo other)
Name | Description |
other |
ContinuousBackupInfo |
Type | Description |
ContinuousBackupInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContinuousBackupInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ContinuousBackupInfo.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
ContinuousBackupInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContinuousBackupInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ContinuousBackupInfo.Builder |
setEnabledTime(Timestamp value)
public ContinuousBackupInfo.Builder setEnabledTime(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];
Name | Description |
value |
Timestamp |
Type | Description |
ContinuousBackupInfo.Builder |
setEnabledTime(Timestamp.Builder builderForValue)
public ContinuousBackupInfo.Builder setEnabledTime(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];
Name | Description |
builderForValue |
Builder |
Type | Description |
ContinuousBackupInfo.Builder |
setEncryptionInfo(EncryptionInfo value)
public ContinuousBackupInfo.Builder setEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
EncryptionInfo |
Type | Description |
ContinuousBackupInfo.Builder |
setEncryptionInfo(EncryptionInfo.Builder builderForValue)
public ContinuousBackupInfo.Builder setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
EncryptionInfo.Builder |
Type | Description |
ContinuousBackupInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ContinuousBackupInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ContinuousBackupInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContinuousBackupInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
ContinuousBackupInfo.Builder |
setSchedule(int index, DayOfWeek value)
public ContinuousBackupInfo.Builder setSchedule(int index, 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];
Name | Description |
index |
int The index to set the value at. |
value |
com.google.type.DayOfWeek The schedule to set. |
Type | Description |
ContinuousBackupInfo.Builder |
This builder for chaining. |
setScheduleValue(int index, int value)
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];
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for schedule to set. |
Type | Description |
ContinuousBackupInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ContinuousBackupInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ContinuousBackupInfo.Builder |