Class CreateAzureNodePoolRequest.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<CreateAzureNodePoolRequest.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<CreateAzureNodePoolRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public CreateAzureNodePoolRequest.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<CreateAzureNodePoolRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
         resource where this node pool will be created.
        
         Location names are formatted as `projects/<project-id>/locations/<region>`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud resource names.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateAzureNodePoolRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
         resource where this node pool will be created.
        
         Location names are formatted as `projects/<project-id>/locations/<region>`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud resource names.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateAzureNodePoolRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateAzureNodePoolRequest.Builder setParent​(String value)
         Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
         resource where this node pool will be created.
        
         Location names are formatted as `projects/<project-id>/locations/<region>`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud resource names.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateAzureNodePoolRequest.Builder clearParent()
         Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
         resource where this node pool will be created.
        
         Location names are formatted as `projects/<project-id>/locations/<region>`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud resource names.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateAzureNodePoolRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
         resource where this node pool will be created.
        
         Location names are formatted as `projects/<project-id>/locations/<region>`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud resource names.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • hasAzureNodePool

        public boolean hasAzureNodePool()
         Required. The specification of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasAzureNodePool in interface CreateAzureNodePoolRequestOrBuilder
        Returns:
        Whether the azureNodePool field is set.
      • getAzureNodePool

        public AzureNodePool getAzureNodePool()
         Required. The specification of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAzureNodePool in interface CreateAzureNodePoolRequestOrBuilder
        Returns:
        The azureNodePool.
      • setAzureNodePool

        public CreateAzureNodePoolRequest.Builder setAzureNodePool​(AzureNodePool value)
         Required. The specification of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];
      • setAzureNodePool

        public CreateAzureNodePoolRequest.Builder setAzureNodePool​(AzureNodePool.Builder builderForValue)
         Required. The specification of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeAzureNodePool

        public CreateAzureNodePoolRequest.Builder mergeAzureNodePool​(AzureNodePool value)
         Required. The specification of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearAzureNodePool

        public CreateAzureNodePoolRequest.Builder clearAzureNodePool()
         Required. The specification of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];
      • getAzureNodePoolBuilder

        public AzureNodePool.Builder getAzureNodePoolBuilder()
         Required. The specification of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];
      • getAzureNodePoolId

        public String getAzureNodePoolId()
         Required. A client provided ID the resource. Must be unique within the
         parent resource.
        
         The provided ID will be part of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name
         formatted as
         `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
        
         Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
         
        string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAzureNodePoolId in interface CreateAzureNodePoolRequestOrBuilder
        Returns:
        The azureNodePoolId.
      • getAzureNodePoolIdBytes

        public com.google.protobuf.ByteString getAzureNodePoolIdBytes()
         Required. A client provided ID the resource. Must be unique within the
         parent resource.
        
         The provided ID will be part of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name
         formatted as
         `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
        
         Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
         
        string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAzureNodePoolIdBytes in interface CreateAzureNodePoolRequestOrBuilder
        Returns:
        The bytes for azureNodePoolId.
      • setAzureNodePoolId

        public CreateAzureNodePoolRequest.Builder setAzureNodePoolId​(String value)
         Required. A client provided ID the resource. Must be unique within the
         parent resource.
        
         The provided ID will be part of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name
         formatted as
         `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
        
         Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
         
        string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The azureNodePoolId to set.
        Returns:
        This builder for chaining.
      • clearAzureNodePoolId

        public CreateAzureNodePoolRequest.Builder clearAzureNodePoolId()
         Required. A client provided ID the resource. Must be unique within the
         parent resource.
        
         The provided ID will be part of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name
         formatted as
         `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
        
         Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
         
        string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setAzureNodePoolIdBytes

        public CreateAzureNodePoolRequest.Builder setAzureNodePoolIdBytes​(com.google.protobuf.ByteString value)
         Required. A client provided ID the resource. Must be unique within the
         parent resource.
        
         The provided ID will be part of the
         [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name
         formatted as
         `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
        
         Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
         
        string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for azureNodePoolId to set.
        Returns:
        This builder for chaining.
      • getValidateOnly

        public boolean getValidateOnly()
         If set, only validate the request, but do not actually create the node
         pool.
         
        bool validate_only = 4;
        Specified by:
        getValidateOnly in interface CreateAzureNodePoolRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public CreateAzureNodePoolRequest.Builder setValidateOnly​(boolean value)
         If set, only validate the request, but do not actually create the node
         pool.
         
        bool validate_only = 4;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public CreateAzureNodePoolRequest.Builder clearValidateOnly()
         If set, only validate the request, but do not actually create the node
         pool.
         
        bool validate_only = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CreateAzureNodePoolRequest.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<CreateAzureNodePoolRequest.Builder>
      • mergeUnknownFields

        public final CreateAzureNodePoolRequest.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<CreateAzureNodePoolRequest.Builder>