Package com.google.cloud.vmwareengine.v1
Interface CreateClusterRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateClusterRequest,CreateClusterRequest.Builder
public interface CreateClusterRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClustergetCluster()Required.StringgetClusterId()Required.com.google.protobuf.ByteStringgetClusterIdBytes()Required.ClusterOrBuildergetClusterOrBuilder()Required.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.StringgetRequestId()Optional.com.google.protobuf.ByteStringgetRequestIdBytes()Optional.booleangetValidateOnly()Optional.booleanhasCluster()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 resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
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 private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getClusterId
String getClusterId()
Required. The user-provided identifier of the new `Cluster`. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The clusterId.
-
getClusterIdBytes
com.google.protobuf.ByteString getClusterIdBytes()
Required. The user-provided identifier of the new `Cluster`. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clusterId.
-
hasCluster
boolean hasCluster()
Required. The initial description of the new cluster.
.google.cloud.vmwareengine.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the cluster field is set.
-
getCluster
Cluster getCluster()
Required. The initial description of the new cluster.
.google.cloud.vmwareengine.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The cluster.
-
getClusterOrBuilder
ClusterOrBuilder getClusterOrBuilder()
Required. The initial description of the new cluster.
.google.cloud.vmwareengine.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];
-
getRequestId
String getRequestId()
Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for requestId.
-
getValidateOnly
boolean getValidateOnly()
Optional. True if you want the request to be validated and not executed; false otherwise.
bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The validateOnly.
-
-