Interface CreateClusterRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateClusterRequest, CreateClusterRequest.Builder

@Generated public interface CreateClusterRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    The parent (project and location) where the cluster will be created.
    com.google.protobuf.ByteString
    The parent (project and location) where the cluster will be created.
    Deprecated.
    google.container.v1.CreateClusterRequest.project_id is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.container.v1.CreateClusterRequest.project_id is deprecated.
    Deprecated.
    google.container.v1.CreateClusterRequest.zone is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.container.v1.CreateClusterRequest.zone is deprecated.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getProjectId

      @Deprecated String getProjectId()
      Deprecated.
      google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4266
       Deprecated. 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 com.google.protobuf.ByteString getProjectIdBytes()
      Deprecated.
      google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4266
       Deprecated. 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 String getZone()
      Deprecated.
      google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4272
       Deprecated. 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 com.google.protobuf.ByteString getZoneBytes()
      Deprecated.
      google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4272
       Deprecated. 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.
    • hasCluster

      boolean hasCluster()
       Required. A [cluster
       resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
       
      .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the cluster field is set.
    • getCluster

      Cluster getCluster()
       Required. A [cluster
       resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
       
      .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The cluster.
    • getClusterOrBuilder

      ClusterOrBuilder getClusterOrBuilder()
       Required. A [cluster
       resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
       
      .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];
    • getParent

      String getParent()
       The parent (project and location) where the cluster will be created.
       Specified in the format `projects/*/locations/*`.
       
      string parent = 5;
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       The parent (project and location) where the cluster will be created.
       Specified in the format `projects/*/locations/*`.
       
      string parent = 5;
      Returns:
      The bytes for parent.