Class CreateClusterRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • clear

        public CreateClusterRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • getDefaultInstanceForType

        public CreateClusterRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CreateClusterRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CreateClusterRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public CreateClusterRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • setField

        public CreateClusterRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • clearField

        public CreateClusterRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • clearOneof

        public CreateClusterRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • setRepeatedField

        public CreateClusterRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • addRepeatedField

        public CreateClusterRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • mergeFrom

        public CreateClusterRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateClusterRequest.Builder>
        Throws:
        IOException
      • getProjectId

        @Deprecated
        public String getProjectId()
        Deprecated.
        google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=2537
         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];
        Specified by:
        getProjectId in interface CreateClusterRequestOrBuilder
        Returns:
        The projectId.
      • getProjectIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getProjectIdBytes()
        Deprecated.
        google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=2537
         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];
        Specified by:
        getProjectIdBytes in interface CreateClusterRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        @Deprecated
        public CreateClusterRequest.Builder setProjectId​(String value)
        Deprecated.
        google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=2537
         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];
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        @Deprecated
        public CreateClusterRequest.Builder clearProjectId()
        Deprecated.
        google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=2537
         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:
        This builder for chaining.
      • setProjectIdBytes

        @Deprecated
        public CreateClusterRequest.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1.CreateClusterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=2537
         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];
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getZone

        @Deprecated
        public String getZone()
        Deprecated.
        google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=2543
         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];
        Specified by:
        getZone in interface CreateClusterRequestOrBuilder
        Returns:
        The zone.
      • getZoneBytes

        @Deprecated
        public com.google.protobuf.ByteString getZoneBytes()
        Deprecated.
        google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=2543
         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];
        Specified by:
        getZoneBytes in interface CreateClusterRequestOrBuilder
        Returns:
        The bytes for zone.
      • setZone

        @Deprecated
        public CreateClusterRequest.Builder setZone​(String value)
        Deprecated.
        google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=2543
         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];
        Parameters:
        value - The zone to set.
        Returns:
        This builder for chaining.
      • clearZone

        @Deprecated
        public CreateClusterRequest.Builder clearZone()
        Deprecated.
        google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=2543
         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:
        This builder for chaining.
      • setZoneBytes

        @Deprecated
        public CreateClusterRequest.Builder setZoneBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1.CreateClusterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=2543
         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];
        Parameters:
        value - The bytes for zone to set.
        Returns:
        This builder for chaining.
      • hasCluster

        public 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];
        Specified by:
        hasCluster in interface CreateClusterRequestOrBuilder
        Returns:
        Whether the cluster field is set.
      • getCluster

        public 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];
        Specified by:
        getCluster in interface CreateClusterRequestOrBuilder
        Returns:
        The cluster.
      • setCluster

        public CreateClusterRequest.Builder setCluster​(Cluster value)
         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];
      • setCluster

        public CreateClusterRequest.Builder setCluster​(Cluster.Builder builderForValue)
         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];
      • mergeCluster

        public CreateClusterRequest.Builder mergeCluster​(Cluster value)
         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];
      • clearCluster

        public CreateClusterRequest.Builder clearCluster()
         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];
      • getClusterBuilder

        public Cluster.Builder getClusterBuilder()
         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];
      • getClusterOrBuilder

        public 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];
        Specified by:
        getClusterOrBuilder in interface CreateClusterRequestOrBuilder
      • getParent

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

        public 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;
        Specified by:
        getParentBytes in interface CreateClusterRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateClusterRequest.Builder setParent​(String value)
         The parent (project and location) where the cluster will be created.
         Specified in the format `projects/*/locations/*`.
         
        string parent = 5;
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateClusterRequest.Builder clearParent()
         The parent (project and location) where the cluster will be created.
         Specified in the format `projects/*/locations/*`.
         
        string parent = 5;
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateClusterRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         The parent (project and location) where the cluster will be created.
         Specified in the format `projects/*/locations/*`.
         
        string parent = 5;
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CreateClusterRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>
      • mergeUnknownFields

        public final CreateClusterRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>