public final class RpoConfig extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXCLUSION_WINDOWS_FIELD_NUMBER
public static final int EXCLUSION_WINDOWS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_RPO_MINUTES_FIELD_NUMBER
public static final int TARGET_RPO_MINUTES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RpoConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RpoConfig.Builder newBuilder()
newBuilder(RpoConfig prototype)
public static RpoConfig.Builder newBuilder(RpoConfig prototype)
Parameter |
Name |
Description |
prototype |
RpoConfig
|
public static RpoConfig parseDelimitedFrom(InputStream input)
public static RpoConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RpoConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RpoConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RpoConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RpoConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RpoConfig parseFrom(CodedInputStream input)
public static RpoConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RpoConfig parseFrom(InputStream input)
public static RpoConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RpoConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RpoConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RpoConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RpoConfig getDefaultInstanceForType()
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
|
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> |
|
getParserForType()
public Parser<RpoConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RpoConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RpoConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RpoConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides