public interface RestoreTemplateOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)Optional. User-defined labels.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBackupSelectionConfig()
public abstract BackupSelectionConfig getBackupSelectionConfig()Required. Backup selection configuration.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BackupSelectionConfig |
The backupSelectionConfig. |
getBackupSelectionConfigOrBuilder()
public abstract BackupSelectionConfigOrBuilder getBackupSelectionConfigOrBuilder()Required. Backup selection configuration.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BackupSelectionConfigOrBuilder |
|
getCreateTime()
public abstract Timestamp getCreateTime()Output only. The time when the restore template was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the restore template was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDescription()
public abstract String getDescription()Optional. User-provided description of the restore template.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Optional. User-provided description of the restore template.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getEtag()
public abstract String getEtag()Optional. Etag for concurrency control.
string etag = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The etag. |
getEtagBytes()
public abstract ByteString getEtagBytes()Optional. Etag for concurrency control.
string etag = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getExecutionSummary()
public abstract ExecutionSummary getExecutionSummary()Output only. Summary of the last execution.
.google.cloud.backupdr.v1beta.ExecutionSummary execution_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ExecutionSummary |
The executionSummary. |
getExecutionSummaryOrBuilder()
public abstract ExecutionSummaryOrBuilder getExecutionSummaryOrBuilder()Output only. Summary of the last execution.
.google.cloud.backupdr.v1beta.ExecutionSummary execution_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ExecutionSummaryOrBuilder |
|
getLabels() (deprecated)
public abstract Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public abstract int getLabelsCount()Optional. User-defined labels.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public abstract Map<String,String> getLabelsMap()Optional. User-defined labels.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)Optional. User-defined labels.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)Optional. User-defined labels.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getName()
public abstract String getName()Identifier. The resource name of the RestoreTemplate.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Identifier. The resource name of the RestoreTemplate.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPostRestoreConfig()
public abstract PostRestoreConfig getPostRestoreConfig()Optional. Post-restore configuration.
.google.cloud.backupdr.v1beta.PostRestoreConfig post_restore_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PostRestoreConfig |
The postRestoreConfig. |
getPostRestoreConfigOrBuilder()
public abstract PostRestoreConfigOrBuilder getPostRestoreConfigOrBuilder()Optional. Post-restore configuration.
.google.cloud.backupdr.v1beta.PostRestoreConfig post_restore_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PostRestoreConfigOrBuilder |
|
getPreRestoreConfig()
public abstract PreRestoreConfig getPreRestoreConfig()Optional. Pre-restore configuration.
.google.cloud.backupdr.v1beta.PreRestoreConfig pre_restore_config = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PreRestoreConfig |
The preRestoreConfig. |
getPreRestoreConfigOrBuilder()
public abstract PreRestoreConfigOrBuilder getPreRestoreConfigOrBuilder()Optional. Pre-restore configuration.
.google.cloud.backupdr.v1beta.PreRestoreConfig pre_restore_config = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PreRestoreConfigOrBuilder |
|
getResourceType()
public abstract String getResourceType()Required. Immutable. The specific type of the workload being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".
string resource_type = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The resourceType. |
getResourceTypeBytes()
public abstract ByteString getResourceTypeBytes()Required. Immutable. The specific type of the workload being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".
string resource_type = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceType. |
getRestoreProperties()
public abstract Struct getRestoreProperties()Required. Defines target environments where the resource will be restored.
The target resource name in restore_properties supports the
{EXECUTION_ID} token to dynamically generate unique resource names for
each execution. During restore execution, every occurrence of
{EXECUTION_ID} in the target resource name is replaced with the
8-character RestoreTemplateExecution ID (for example,
"restored-resource-{EXECUTION_ID}" or
"restored-{EXECUTION_ID}-resource" resolves to
"restored-resource-5d437b06" or "restored-5d437b06-resource").
.google.protobuf.Struct restore_properties = 11 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Struct |
The restoreProperties. |
getRestorePropertiesOrBuilder()
public abstract StructOrBuilder getRestorePropertiesOrBuilder()Required. Defines target environments where the resource will be restored.
The target resource name in restore_properties supports the
{EXECUTION_ID} token to dynamically generate unique resource names for
each execution. During restore execution, every occurrence of
{EXECUTION_ID} in the target resource name is replaced with the
8-character RestoreTemplateExecution ID (for example,
"restored-resource-{EXECUTION_ID}" or
"restored-{EXECUTION_ID}-resource" resolves to
"restored-resource-5d437b06" or "restored-5d437b06-resource").
.google.protobuf.Struct restore_properties = 11 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getState()
public abstract RestoreTemplate.State getState()Output only. The state of the restore template.
.google.cloud.backupdr.v1beta.RestoreTemplate.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RestoreTemplate.State |
The state. |
getStateValue()
public abstract int getStateValue()Output only. The state of the restore template.
.google.cloud.backupdr.v1beta.RestoreTemplate.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. The time when the restore template was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the restore template was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getVerificationConfig()
public abstract VerificationConfig getVerificationConfig()Optional. Verification configuration.
.google.cloud.backupdr.v1beta.VerificationConfig verification_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VerificationConfig |
The verificationConfig. |
getVerificationConfigOrBuilder()
public abstract VerificationConfigOrBuilder getVerificationConfigOrBuilder()Optional. Verification configuration.
.google.cloud.backupdr.v1beta.VerificationConfig verification_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VerificationConfigOrBuilder |
|
hasBackupSelectionConfig()
public abstract boolean hasBackupSelectionConfig()Required. Backup selection configuration.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupSelectionConfig field is set. |
hasCreateTime()
public abstract boolean hasCreateTime()Output only. The time when the restore template was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasExecutionSummary()
public abstract boolean hasExecutionSummary()Output only. Summary of the last execution.
.google.cloud.backupdr.v1beta.ExecutionSummary execution_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the executionSummary field is set. |
hasPostRestoreConfig()
public abstract boolean hasPostRestoreConfig()Optional. Post-restore configuration.
.google.cloud.backupdr.v1beta.PostRestoreConfig post_restore_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the postRestoreConfig field is set. |
hasPreRestoreConfig()
public abstract boolean hasPreRestoreConfig()Optional. Pre-restore configuration.
.google.cloud.backupdr.v1beta.PreRestoreConfig pre_restore_config = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the preRestoreConfig field is set. |
hasRestoreProperties()
public abstract boolean hasRestoreProperties()Required. Defines target environments where the resource will be restored.
The target resource name in restore_properties supports the
{EXECUTION_ID} token to dynamically generate unique resource names for
each execution. During restore execution, every occurrence of
{EXECUTION_ID} in the target resource name is replaced with the
8-character RestoreTemplateExecution ID (for example,
"restored-resource-{EXECUTION_ID}" or
"restored-{EXECUTION_ID}-resource" resolves to
"restored-resource-5d437b06" or "restored-5d437b06-resource").
.google.protobuf.Struct restore_properties = 11 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the restoreProperties field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. The time when the restore template 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. |
hasVerificationConfig()
public abstract boolean hasVerificationConfig()Optional. Verification configuration.
.google.cloud.backupdr.v1beta.VerificationConfig verification_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the verificationConfig field is set. |