Interface CreateClusterRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateClusterRequest,CreateClusterRequest.Builder
@Generated
public interface CreateClusterRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.Idempotent request UUID.com.google.protobuf.ByteStringIdempotent request UUID.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getClusterId
String getClusterId()Required. The logical name of the Redis cluster in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The clusterId.
-
getClusterIdBytes
com.google.protobuf.ByteString getClusterIdBytes()Required. The logical name of the Redis cluster in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clusterId.
-
hasCluster
boolean hasCluster()Required. The cluster that is to be created.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the cluster field is set.
-
getCluster
Cluster getCluster()Required. The cluster that is to be created.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The cluster.
-
getClusterOrBuilder
ClusterOrBuilder getClusterOrBuilder()Required. The cluster that is to be created.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; -
getRequestId
String getRequestId()Idempotent request UUID.
string request_id = 4;- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()Idempotent request UUID.
string request_id = 4;- Returns:
- The bytes for requestId.
-