Interface CreateClusterRequestOrBuilder (2.3.6)

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

public abstract String getProjectId()

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

public abstract ByteString getProjectIdBytes()

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

public abstract String getZone()

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

public abstract ByteString getZoneBytes()

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.