Interface CreateClusterRequestOrBuilder (2.13.0)

public interface CreateClusterRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCluster()

public abstract Cluster getCluster()

Required. A cluster resource

.google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Cluster

The cluster.

getClusterOrBuilder()

public abstract ClusterOrBuilder getClusterOrBuilder()

Required. A cluster resource

.google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ClusterOrBuilder

getParent()

public abstract String getParent()

The parent (project and location) where the cluster will be created. Specified in the format projects/*/locations/*.

string parent = 5;

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The parent (project and location) where the cluster will be created. Specified in the format projects/*/locations/*.

string parent = 5;

Returns
TypeDescription
ByteString

The bytes for parent.

getProjectId() (deprecated)

public abstract String getProjectId()

Deprecated. google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2456

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The projectId.

getProjectIdBytes() (deprecated)

public abstract ByteString getProjectIdBytes()

Deprecated. google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2456

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for projectId.

getZone() (deprecated)

public abstract String getZone()

Deprecated. google.container.v1beta1.CreateClusterRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2463

Required. Deprecated. The name of the Google Compute Engine zone 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
TypeDescription
String

The zone.

getZoneBytes() (deprecated)

public abstract ByteString getZoneBytes()

Deprecated. google.container.v1beta1.CreateClusterRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2463

Required. Deprecated. The name of the Google Compute Engine zone 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
TypeDescription
ByteString

The bytes for zone.

hasCluster()

public abstract boolean hasCluster()

Required. A cluster resource

.google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the cluster field is set.