Package com.google.container.v1
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.The parent (project and location) where the cluster will be created.com.google.protobuf.ByteStringThe parent (project and location) where the cluster will be created.Deprecated.google.container.v1.CreateClusterRequest.project_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.CreateClusterRequest.project_id is deprecated.getZone()Deprecated.google.container.v1.CreateClusterRequest.zone is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.CreateClusterRequest.zone is deprecated.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
-
getProjectId
Deprecated.google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4266Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.
string project_id = 1 [deprecated = true];- Returns:
- The projectId.
-
getProjectIdBytes
Deprecated.google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4266Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.
string project_id = 1 [deprecated = true];- Returns:
- The bytes for projectId.
-
getZone
Deprecated.google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4272Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.
string zone = 2 [deprecated = true];- Returns:
- The zone.
-
getZoneBytes
Deprecated.google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4272Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.
string zone = 2 [deprecated = true];- Returns:
- The bytes for zone.
-
hasCluster
boolean hasCluster()Required. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
.google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the cluster field is set.
-
getCluster
Cluster getCluster()Required. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
.google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The cluster.
-
getClusterOrBuilder
ClusterOrBuilder getClusterOrBuilder()Required. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
.google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; -
getParent
String getParent()The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.
string parent = 5;- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.
string parent = 5;- Returns:
- The bytes for parent.
-