Package com.google.container.v1
Interface CreateNodePoolRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateNodePoolRequest,CreateNodePoolRequest.Builder
@Generated
public interface CreateNodePoolRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.google.container.v1.CreateNodePoolRequest.cluster_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.CreateNodePoolRequest.cluster_id is deprecated.Required.Required.The parent (project, location, cluster name) where the node pool will be created.com.google.protobuf.ByteStringThe parent (project, location, cluster name) where the node pool will be created.Deprecated.google.container.v1.CreateNodePoolRequest.project_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.CreateNodePoolRequest.project_id is deprecated.getZone()Deprecated.google.container.v1.CreateNodePoolRequest.zone is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.CreateNodePoolRequest.zone is deprecated.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProjectId
Deprecated.google.container.v1.CreateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4941Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.
string project_id = 1 [deprecated = true];- Returns:
- The projectId.
-
getProjectIdBytes
Deprecated.google.container.v1.CreateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4941Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.
string project_id = 1 [deprecated = true];- Returns:
- The bytes for projectId.
-
getZone
Deprecated.google.container.v1.CreateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4947Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.
string zone = 2 [deprecated = true];- Returns:
- The zone.
-
getZoneBytes
Deprecated.google.container.v1.CreateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4947Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.
string zone = 2 [deprecated = true];- Returns:
- The bytes for zone.
-
getClusterId
Deprecated.google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4951Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
string cluster_id = 3 [deprecated = true];- Returns:
- The clusterId.
-
getClusterIdBytes
Deprecated.google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4951Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
string cluster_id = 3 [deprecated = true];- Returns:
- The bytes for clusterId.
-
hasNodePool
boolean hasNodePool()Required. The node pool to create.
.google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the nodePool field is set.
-
getNodePool
NodePool getNodePool()Required. The node pool to create.
.google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The nodePool.
-
getNodePoolOrBuilder
NodePoolOrBuilder getNodePoolOrBuilder()Required. The node pool to create.
.google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; -
getParent
String getParent()The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.
string parent = 6;- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.
string parent = 6;- Returns:
- The bytes for parent.
-