Interface CreateClusterRequestOrBuilder (2.48.0)

public interface CreateClusterRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCluster()

public abstract Cluster getCluster()

Required. A cluster resource

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

Returns
Type Description
Cluster

The cluster.

getClusterOrBuilder()

public abstract ClusterOrBuilder getClusterOrBuilder()

Required. A cluster resource

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for parent.

getProjectId() (deprecated)

public abstract String getProjectId()

Deprecated. google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=2587

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];

Returns
Type Description
String

The projectId.

getProjectIdBytes() (deprecated)

public abstract ByteString getProjectIdBytes()

Deprecated. google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=2587

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];

Returns
Type Description
ByteString

The bytes for projectId.

getZone() (deprecated)

public abstract String getZone()

Deprecated. google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=2593

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];

Returns
Type Description
String

The zone.

getZoneBytes() (deprecated)

public abstract ByteString getZoneBytes()

Deprecated. google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=2593

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];

Returns
Type Description
ByteString

The bytes for zone.

hasCluster()

public abstract boolean hasCluster()

Required. A cluster resource

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

Returns
Type Description
boolean

Whether the cluster field is set.