public static final class RestoreVerificationPlan.Builder extends GeneratedMessage.Builder<RestoreVerificationPlan.Builder> implements RestoreVerificationPlanOrBuilder A RestoreVerificationPlan specifies the scheduling and clean-up template
for automated restore verification. It contains a schedule to dictate when
the verifications should run, and a RestoreVerificationCleanupRule for
post-verification resource deletion.
Protobuf type google.cloud.backupdr.v1beta.RestoreVerificationPlan
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RestoreVerificationPlan.BuilderImplements
RestoreVerificationPlanOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RestoreVerificationPlan build()| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan |
|
buildPartial()
public RestoreVerificationPlan buildPartial()| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan |
|
clear()
public RestoreVerificationPlan.Builder clear()| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
clearCreateTime()
public RestoreVerificationPlan.Builder clearCreateTime() Output only. When the RestoreVerificationPlan was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
clearDescription()
public RestoreVerificationPlan.Builder clearDescription() Optional. The description of the RestoreVerificationPlan resource.
The description allows for additional details about
RestoreVerificationPlan and its use cases to be provided. An example
description is the following: "This is a restore verification plan that
performs a daily verification and cleans up the resources immediately
after." The description must be at most 2048 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
clearFailureCleanupRule()
public RestoreVerificationPlan.Builder clearFailureCleanupRule()Optional. The cleanup rule to apply if the restore verification fails.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
clearLabels()
public RestoreVerificationPlan.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
clearName()
public RestoreVerificationPlan.Builder clearName() Output only. Identifier. The resource name of the
RestoreVerificationPlan.
Format:
projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
clearSchedule()
public RestoreVerificationPlan.Builder clearSchedule()Required. Describes the schedule on which the restore verification will be executed.
The schedule is specified as a Crontab string.
string schedule = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
clearState()
public RestoreVerificationPlan.Builder clearState() Output only. The State for the RestoreVerificationPlan.
.google.cloud.backupdr.v1beta.RestoreVerificationPlan.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
clearSuccessCleanupRule()
public RestoreVerificationPlan.Builder clearSuccessCleanupRule()Optional. The cleanup rule to apply if the restore verification succeeds.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
clearTimeZone()
public RestoreVerificationPlan.Builder clearTimeZone() Optional. Specifies the time zone to be used in interpreting
schedule.
The value of this field must be a time zone name from the tz
database, like
"America/New_York" or "UTC". Defaults to UTC if not specified.
string time_zone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
clearUpdateTime()
public RestoreVerificationPlan.Builder clearUpdateTime() Output only. When the RestoreVerificationPlan was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCreateTime()
public Timestamp getCreateTime() Output only. When the RestoreVerificationPlan was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder() Output only. When the RestoreVerificationPlan was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder() Output only. When the RestoreVerificationPlan was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public RestoreVerificationPlan getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan |
|
getDescription()
public String getDescription() Optional. The description of the RestoreVerificationPlan resource.
The description allows for additional details about
RestoreVerificationPlan and its use cases to be provided. An example
description is the following: "This is a restore verification plan that
performs a daily verification and cleans up the resources immediately
after." The description must be at most 2048 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes() Optional. The description of the RestoreVerificationPlan resource.
The description allows for additional details about
RestoreVerificationPlan and its use cases to be provided. An example
description is the following: "This is a restore verification plan that
performs a daily verification and cleans up the resources immediately
after." The description must be at most 2048 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFailureCleanupRule()
public RestoreVerificationCleanupRule getFailureCleanupRule()Optional. The cleanup rule to apply if the restore verification fails.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
The failureCleanupRule. |
getFailureCleanupRuleBuilder()
public RestoreVerificationCleanupRule.Builder getFailureCleanupRuleBuilder()Optional. The cleanup rule to apply if the restore verification fails.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule.Builder |
|
getFailureCleanupRuleOrBuilder()
public RestoreVerificationCleanupRuleOrBuilder getFailureCleanupRuleOrBuilder()Optional. The cleanup rule to apply if the restore verification fails.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRuleOrBuilder |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName() Output only. Identifier. The resource name of the
RestoreVerificationPlan.
Format:
projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Output only. Identifier. The resource name of the
RestoreVerificationPlan.
Format:
projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSchedule()
public String getSchedule()Required. Describes the schedule on which the restore verification will be executed.
The schedule is specified as a Crontab string.
string schedule = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The schedule. |
getScheduleBytes()
public ByteString getScheduleBytes()Required. Describes the schedule on which the restore verification will be executed.
The schedule is specified as a Crontab string.
string schedule = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for schedule. |
getState()
public RestoreVerificationPlan.State getState() Output only. The State for the RestoreVerificationPlan.
.google.cloud.backupdr.v1beta.RestoreVerificationPlan.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.State |
The state. |
getStateValue()
public int getStateValue() Output only. The State for the RestoreVerificationPlan.
.google.cloud.backupdr.v1beta.RestoreVerificationPlan.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getSuccessCleanupRule()
public RestoreVerificationCleanupRule getSuccessCleanupRule()Optional. The cleanup rule to apply if the restore verification succeeds.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule |
The successCleanupRule. |
getSuccessCleanupRuleBuilder()
public RestoreVerificationCleanupRule.Builder getSuccessCleanupRuleBuilder()Optional. The cleanup rule to apply if the restore verification succeeds.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRule.Builder |
|
getSuccessCleanupRuleOrBuilder()
public RestoreVerificationCleanupRuleOrBuilder getSuccessCleanupRuleOrBuilder()Optional. The cleanup rule to apply if the restore verification succeeds.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationCleanupRuleOrBuilder |
|
getTimeZone()
public String getTimeZone() Optional. Specifies the time zone to be used in interpreting
schedule.
The value of this field must be a time zone name from the tz
database, like
"America/New_York" or "UTC". Defaults to UTC if not specified.
string time_zone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The timeZone. |
getTimeZoneBytes()
public ByteString getTimeZoneBytes() Optional. Specifies the time zone to be used in interpreting
schedule.
The value of this field must be a time zone name from the tz
database, like
"America/New_York" or "UTC". Defaults to UTC if not specified.
string time_zone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for timeZone. |
getUpdateTime()
public Timestamp getUpdateTime() Output only. When the RestoreVerificationPlan was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder() Output only. When the RestoreVerificationPlan was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder() Output only. When the RestoreVerificationPlan was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime() Output only. When the RestoreVerificationPlan was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasFailureCleanupRule()
public boolean hasFailureCleanupRule()Optional. The cleanup rule to apply if the restore verification fails.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the failureCleanupRule field is set. |
hasSuccessCleanupRule()
public boolean hasSuccessCleanupRule()Optional. The cleanup rule to apply if the restore verification succeeds.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the successCleanupRule field is set. |
hasUpdateTime()
public boolean hasUpdateTime() Output only. When the RestoreVerificationPlan was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public RestoreVerificationPlan.Builder mergeCreateTime(Timestamp value) Output only. When the RestoreVerificationPlan was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
mergeFailureCleanupRule(RestoreVerificationCleanupRule value)
public RestoreVerificationPlan.Builder mergeFailureCleanupRule(RestoreVerificationCleanupRule value)Optional. The cleanup rule to apply if the restore verification fails.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreVerificationCleanupRule |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
mergeFrom(RestoreVerificationPlan other)
public RestoreVerificationPlan.Builder mergeFrom(RestoreVerificationPlan other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreVerificationPlan |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreVerificationPlan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RestoreVerificationPlan.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
mergeSuccessCleanupRule(RestoreVerificationCleanupRule value)
public RestoreVerificationPlan.Builder mergeSuccessCleanupRule(RestoreVerificationCleanupRule value)Optional. The cleanup rule to apply if the restore verification succeeds.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreVerificationCleanupRule |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
mergeUpdateTime(Timestamp value)
public RestoreVerificationPlan.Builder mergeUpdateTime(Timestamp value) Output only. When the RestoreVerificationPlan was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
putAllLabels(Map<String,String> values)
public RestoreVerificationPlan.Builder putAllLabels(Map<String,String> values)Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
putLabels(String key, String value)
public RestoreVerificationPlan.Builder putLabels(String key, String value)Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
removeLabels(String key)
public RestoreVerificationPlan.Builder removeLabels(String key)Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
setCreateTime(Timestamp value)
public RestoreVerificationPlan.Builder setCreateTime(Timestamp value) Output only. When the RestoreVerificationPlan was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public RestoreVerificationPlan.Builder setCreateTime(Timestamp.Builder builderForValue) Output only. When the RestoreVerificationPlan was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
setDescription(String value)
public RestoreVerificationPlan.Builder setDescription(String value) Optional. The description of the RestoreVerificationPlan resource.
The description allows for additional details about
RestoreVerificationPlan and its use cases to be provided. An example
description is the following: "This is a restore verification plan that
performs a daily verification and cleans up the resources immediately
after." The description must be at most 2048 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public RestoreVerificationPlan.Builder setDescriptionBytes(ByteString value) Optional. The description of the RestoreVerificationPlan resource.
The description allows for additional details about
RestoreVerificationPlan and its use cases to be provided. An example
description is the following: "This is a restore verification plan that
performs a daily verification and cleans up the resources immediately
after." The description must be at most 2048 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
setFailureCleanupRule(RestoreVerificationCleanupRule value)
public RestoreVerificationPlan.Builder setFailureCleanupRule(RestoreVerificationCleanupRule value)Optional. The cleanup rule to apply if the restore verification fails.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreVerificationCleanupRule |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
setFailureCleanupRule(RestoreVerificationCleanupRule.Builder builderForValue)
public RestoreVerificationPlan.Builder setFailureCleanupRule(RestoreVerificationCleanupRule.Builder builderForValue)Optional. The cleanup rule to apply if the restore verification fails.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RestoreVerificationCleanupRule.Builder |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
setName(String value)
public RestoreVerificationPlan.Builder setName(String value) Output only. Identifier. The resource name of the
RestoreVerificationPlan.
Format:
projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RestoreVerificationPlan.Builder setNameBytes(ByteString value) Output only. Identifier. The resource name of the
RestoreVerificationPlan.
Format:
projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
setSchedule(String value)
public RestoreVerificationPlan.Builder setSchedule(String value)Required. Describes the schedule on which the restore verification will be executed.
The schedule is specified as a Crontab string.
string schedule = 7 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe schedule to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
setScheduleBytes(ByteString value)
public RestoreVerificationPlan.Builder setScheduleBytes(ByteString value)Required. Describes the schedule on which the restore verification will be executed.
The schedule is specified as a Crontab string.
string schedule = 7 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for schedule to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
setState(RestoreVerificationPlan.State value)
public RestoreVerificationPlan.Builder setState(RestoreVerificationPlan.State value) Output only. The State for the RestoreVerificationPlan.
.google.cloud.backupdr.v1beta.RestoreVerificationPlan.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreVerificationPlan.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
setStateValue(int value)
public RestoreVerificationPlan.Builder setStateValue(int value) Output only. The State for the RestoreVerificationPlan.
.google.cloud.backupdr.v1beta.RestoreVerificationPlan.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
setSuccessCleanupRule(RestoreVerificationCleanupRule value)
public RestoreVerificationPlan.Builder setSuccessCleanupRule(RestoreVerificationCleanupRule value)Optional. The cleanup rule to apply if the restore verification succeeds.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreVerificationCleanupRule |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
setSuccessCleanupRule(RestoreVerificationCleanupRule.Builder builderForValue)
public RestoreVerificationPlan.Builder setSuccessCleanupRule(RestoreVerificationCleanupRule.Builder builderForValue)Optional. The cleanup rule to apply if the restore verification succeeds.
.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RestoreVerificationCleanupRule.Builder |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
setTimeZone(String value)
public RestoreVerificationPlan.Builder setTimeZone(String value) Optional. Specifies the time zone to be used in interpreting
schedule.
The value of this field must be a time zone name from the tz
database, like
"America/New_York" or "UTC". Defaults to UTC if not specified.
string time_zone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe timeZone to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
setTimeZoneBytes(ByteString value)
public RestoreVerificationPlan.Builder setTimeZoneBytes(ByteString value) Optional. Specifies the time zone to be used in interpreting
schedule.
The value of this field must be a time zone name from the tz
database, like
"America/New_York" or "UTC". Defaults to UTC if not specified.
string time_zone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for timeZone to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public RestoreVerificationPlan.Builder setUpdateTime(Timestamp value) Output only. When the RestoreVerificationPlan was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public RestoreVerificationPlan.Builder setUpdateTime(Timestamp.Builder builderForValue) Output only. When the RestoreVerificationPlan was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
RestoreVerificationPlan.Builder |
|