public final class RestoreVerificationCleanupRule extends GeneratedMessage implements RestoreVerificationCleanupRuleOrBuilderDefines the specific cleanup action.
Protobuf type google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RestoreVerificationCleanupRuleImplements
RestoreVerificationCleanupRuleOrBuilderStatic Fields
CLEANUP_DELAY_FIELD_NUMBER
public static final int CLEANUP_DELAY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SKIP_CLEANUP_FIELD_NUMBER
public static final int SKIP_CLEANUP_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static RestoreVerificationCleanupRule getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static RestoreVerificationCleanupRule.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule.Builder |
|
newBuilder(RestoreVerificationCleanupRule prototype)
public static RestoreVerificationCleanupRule.Builder newBuilder(RestoreVerificationCleanupRule prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
RestoreVerificationCleanupRule |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule.Builder |
|
parseDelimitedFrom(InputStream input)
public static RestoreVerificationCleanupRule parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreVerificationCleanupRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static RestoreVerificationCleanupRule parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RestoreVerificationCleanupRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static RestoreVerificationCleanupRule parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestoreVerificationCleanupRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static RestoreVerificationCleanupRule parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreVerificationCleanupRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static RestoreVerificationCleanupRule parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreVerificationCleanupRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static RestoreVerificationCleanupRule parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RestoreVerificationCleanupRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<RestoreVerificationCleanupRule> parser()| Returns | |
|---|---|
| Type | Description |
Parser<RestoreVerificationCleanupRule> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCleanupDelay()
public Duration getCleanupDelay()Optional. Duration after restore finishes when cleanup triggers. Delay must be non-negative and at most 30 days (2592000 seconds).
.google.protobuf.Duration cleanup_delay = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The cleanupDelay. |
getCleanupDelayOrBuilder()
public DurationOrBuilder getCleanupDelayOrBuilder()Optional. Duration after restore finishes when cleanup triggers. Delay must be non-negative and at most 30 days (2592000 seconds).
.google.protobuf.Duration cleanup_delay = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getDefaultInstanceForType()
public RestoreVerificationCleanupRule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
|
getParserForType()
public Parser<RestoreVerificationCleanupRule> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<RestoreVerificationCleanupRule> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSkipCleanup()
public boolean getSkipCleanup()Optional. If set to true, the restored resource will not be cleaned up.
optional bool skip_cleanup = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The skipCleanup. |
hasCleanupDelay()
public boolean hasCleanupDelay()Optional. Duration after restore finishes when cleanup triggers. Delay must be non-negative and at most 30 days (2592000 seconds).
.google.protobuf.Duration cleanup_delay = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cleanupDelay field is set. |
hasSkipCleanup()
public boolean hasSkipCleanup()Optional. If set to true, the restored resource will not be cleaned up.
optional bool skip_cleanup = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the skipCleanup field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public RestoreVerificationCleanupRule.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RestoreVerificationCleanupRule.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule.Builder |
|
toBuilder()
public RestoreVerificationCleanupRule.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|