Package com.google.container.v1beta1
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 Deprecated Methods Modifier and Type Method Description Cluster
getCluster()
Required.ClusterOrBuilder
getClusterOrBuilder()
Required.String
getParent()
The parent (project and location) where the cluster will be created.com.google.protobuf.ByteString
getParentBytes()
The parent (project and location) where the cluster will be created.String
getProjectId()
Deprecated.google.container.v1beta1.CreateClusterRequest.project_id is deprecated.com.google.protobuf.ByteString
getProjectIdBytes()
Deprecated.google.container.v1beta1.CreateClusterRequest.project_id is deprecated.String
getZone()
Deprecated.google.container.v1beta1.CreateClusterRequest.zone is deprecated.com.google.protobuf.ByteString
getZoneBytes()
Deprecated.google.container.v1beta1.CreateClusterRequest.zone is deprecated.boolean
hasCluster()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProjectId
@Deprecated String getProjectId()
Deprecated.google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2847Required. Deprecated. 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, (.google.api.field_behavior) = REQUIRED];
- Returns:
- The projectId.
-
getProjectIdBytes
@Deprecated com.google.protobuf.ByteString getProjectIdBytes()
Deprecated.google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2847Required. Deprecated. 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, (.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for projectId.
-
getZone
@Deprecated String getZone()
Deprecated.google.container.v1beta1.CreateClusterRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2854Required. Deprecated. 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, (.google.api.field_behavior) = REQUIRED];
- Returns:
- The zone.
-
getZoneBytes
@Deprecated com.google.protobuf.ByteString getZoneBytes()
Deprecated.google.container.v1beta1.CreateClusterRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2854Required. Deprecated. 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, (.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for zone.
-
hasCluster
boolean hasCluster()
Required. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
.google.container.v1beta1.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/v1beta1/projects.locations.clusters)
.google.container.v1beta1.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/v1beta1/projects.locations.clusters)
.google.container.v1beta1.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.
-
-