Package com.google.cloud.gkebackup.v1
Interface CreateRestorePlanRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateRestorePlanRequest
,CreateRestorePlanRequest.Builder
public interface CreateRestorePlanRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.RestorePlan
getRestorePlan()
Required.String
getRestorePlanId()
Required.com.google.protobuf.ByteString
getRestorePlanIdBytes()
Required.RestorePlanOrBuilder
getRestorePlanOrBuilder()
Required.boolean
hasRestorePlan()
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 location within which to create the RestorePlan. Format: `projects/*/locations/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The location within which to create the RestorePlan. Format: `projects/*/locations/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasRestorePlan
boolean hasRestorePlan()
Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the restorePlan field is set.
-
getRestorePlan
RestorePlan getRestorePlan()
Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The restorePlan.
-
getRestorePlanOrBuilder
RestorePlanOrBuilder getRestorePlanOrBuilder()
Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
-
getRestorePlanId
String getRestorePlanId()
Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location
string restore_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The restorePlanId.
-
getRestorePlanIdBytes
com.google.protobuf.ByteString getRestorePlanIdBytes()
Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location
string restore_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for restorePlanId.
-
-