Interface CreateClusterRequestOrBuilder (2.4.1)

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()

public abstract String getProjectId()

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()

public abstract ByteString getProjectIdBytes()

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()

public abstract String getZone()

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()

public abstract ByteString getZoneBytes()

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.