public interface CreateClusterRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCluster()
public abstract Cluster getCluster()
Required. A cluster resource
.google.container.v1beta1.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.v1beta1.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.v1beta1.CreateClusterRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2828
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 | |
---|---|
Type | Description |
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=2828
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 | |
---|---|
Type | Description |
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=2835
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 | |
---|---|
Type | Description |
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=2835
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the cluster field is set. |