Package com.google.cloud.gkebackup.v1
Interface CreateRestoreRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateRestoreRequest,CreateRestoreRequest.Builder
public interface CreateRestoreRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.RestoregetRestore()Required.StringgetRestoreId()Required.com.google.protobuf.ByteStringgetRestoreIdBytes()Required.RestoreOrBuildergetRestoreOrBuilder()Required.booleanhasRestore()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasRestore
boolean hasRestore()
Required. The restore resource to create.
.google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the restore field is set.
-
getRestore
Restore getRestore()
Required. The restore resource to create.
.google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The restore.
-
getRestoreOrBuilder
RestoreOrBuilder getRestoreOrBuilder()
Required. The restore resource to create.
.google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];
-
getRestoreId
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:
- The restoreId.
-
getRestoreIdBytes
com.google.protobuf.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:
- The bytes for restoreId.
-
-