public interface CreateRestoreRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getParent()
public abstract String getParent()
Required. The RestorePlan within which to create the Restore. Format: projects/*/locations/*/restorePlans/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
Required. The RestorePlan within which to create the Restore. Format: projects/*/locations/*/restorePlans/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
getRestore()
public abstract Restore getRestore()
Required. The restore resource to create.
.google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Restore | The restore. |
getRestoreId()
public abstract String getRestoreId()
Required. The client-provided short name for the Restore resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Restores in this RestorePlan.
string restore_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The restoreId. |
getRestoreIdBytes()
public abstract ByteString getRestoreIdBytes()
Required. The client-provided short name for the Restore resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Restores in this RestorePlan.
string restore_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for restoreId. |
getRestoreOrBuilder()
public abstract RestoreOrBuilder getRestoreOrBuilder()
Required. The restore resource to create.
.google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RestoreOrBuilder |
hasRestore()
public abstract boolean hasRestore()
Required. The restore resource to create.
.google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the restore field is set. |