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.Optional.com.google.protobuf.ByteStringOptional.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. Parent location in which the cluster should be created, in the format `projects/{project}/locations/{location}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. Parent location in which the cluster should be created, in the format `projects/{project}/locations/{location}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getClusterId
String getClusterId()Required. ID of the cluster to create. Must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The clusterId.
-
getClusterIdBytes
com.google.protobuf.ByteString getClusterIdBytes()Required. ID of the cluster to create. Must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clusterId.
-
hasCluster
boolean hasCluster()Required. Cluster to create.
.google.cloud.hypercomputecluster.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the cluster field is set.
-
getCluster
Cluster getCluster()Required. Cluster to create.
.google.cloud.hypercomputecluster.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The cluster.
-
getClusterOrBuilder
ClusterOrBuilder getClusterOrBuilder()Required. Cluster to create.
.google.cloud.hypercomputecluster.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; -
getRequestId
String getRequestId()Optional. A unique identifier for this request. A random UUID is recommended. This request is idempotent if and only if `request_id` is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()Optional. A unique identifier for this request. A random UUID is recommended. This request is idempotent if and only if `request_id` is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Returns:
- The bytes for requestId.
-