public static final class RpoConfig.Builder extends GeneratedMessageV3.Builder<RpoConfig.Builder> implements RpoConfigOrBuilder
Defines RPO scheduling configuration for automatically creating
Backups via this BackupPlan.
Protobuf type google.cloud.gkebackup.v1.RpoConfig
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
addAllExclusionWindows(Iterable<? extends ExclusionWindow> values)
public RpoConfig.Builder addAllExclusionWindows(Iterable<? extends ExclusionWindow> values)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.gkebackup.v1.ExclusionWindow>
|
addExclusionWindows(ExclusionWindow value)
public RpoConfig.Builder addExclusionWindows(ExclusionWindow value)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
addExclusionWindows(ExclusionWindow.Builder builderForValue)
public RpoConfig.Builder addExclusionWindows(ExclusionWindow.Builder builderForValue)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
addExclusionWindows(int index, ExclusionWindow value)
public RpoConfig.Builder addExclusionWindows(int index, ExclusionWindow value)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
addExclusionWindows(int index, ExclusionWindow.Builder builderForValue)
public RpoConfig.Builder addExclusionWindows(int index, ExclusionWindow.Builder builderForValue)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
addExclusionWindowsBuilder()
public ExclusionWindow.Builder addExclusionWindowsBuilder()
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
addExclusionWindowsBuilder(int index)
public ExclusionWindow.Builder addExclusionWindowsBuilder(int index)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RpoConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public RpoConfig buildPartial()
clear()
public RpoConfig.Builder clear()
Overrides
clearExclusionWindows()
public RpoConfig.Builder clearExclusionWindows()
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public RpoConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RpoConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTargetRpoMinutes()
public RpoConfig.Builder clearTargetRpoMinutes()
Required. Defines the target RPO for the BackupPlan in minutes, which means
the target maximum data loss in time that is acceptable for this
BackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400,
i.e., 60 days.
int32 target_rpo_minutes = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public RpoConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public RpoConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExclusionWindows(int index)
public ExclusionWindow getExclusionWindows(int index)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getExclusionWindowsBuilder(int index)
public ExclusionWindow.Builder getExclusionWindowsBuilder(int index)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getExclusionWindowsBuilderList()
public List<ExclusionWindow.Builder> getExclusionWindowsBuilderList()
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
getExclusionWindowsCount()
public int getExclusionWindowsCount()
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getExclusionWindowsList()
public List<ExclusionWindow> getExclusionWindowsList()
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
getExclusionWindowsOrBuilder(int index)
public ExclusionWindowOrBuilder getExclusionWindowsOrBuilder(int index)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getExclusionWindowsOrBuilderList()
public List<? extends ExclusionWindowOrBuilder> getExclusionWindowsOrBuilderList()
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.gkebackup.v1.ExclusionWindowOrBuilder> |
|
getTargetRpoMinutes()
public int getTargetRpoMinutes()
Required. Defines the target RPO for the BackupPlan in minutes, which means
the target maximum data loss in time that is acceptable for this
BackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400,
i.e., 60 days.
int32 target_rpo_minutes = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The targetRpoMinutes.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RpoConfig other)
public RpoConfig.Builder mergeFrom(RpoConfig other)
public RpoConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RpoConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RpoConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeExclusionWindows(int index)
public RpoConfig.Builder removeExclusionWindows(int index)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
setExclusionWindows(int index, ExclusionWindow value)
public RpoConfig.Builder setExclusionWindows(int index, ExclusionWindow value)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
setExclusionWindows(int index, ExclusionWindow.Builder builderForValue)
public RpoConfig.Builder setExclusionWindows(int index, ExclusionWindow.Builder builderForValue)
Optional. User specified time windows during which backup can NOT happen
for this BackupPlan - backups should start and finish outside of any given
exclusion window. Note: backup jobs will be scheduled to start and
finish outside the duration of the window as much as possible, but
running jobs will not get canceled when it runs into the window.
All the time and date values in exclusion_windows entry in the API are in
UTC.
We only allow <=1 recurrence (daily or weekly) exclusion window for a
BackupPlan while no restriction on number of single occurrence
windows.
repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public RpoConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RpoConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTargetRpoMinutes(int value)
public RpoConfig.Builder setTargetRpoMinutes(int value)
Required. Defines the target RPO for the BackupPlan in minutes, which means
the target maximum data loss in time that is acceptable for this
BackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400,
i.e., 60 days.
int32 target_rpo_minutes = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The targetRpoMinutes to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RpoConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides