Class CreateNodePoolRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateNodePoolRequest.Builder>
com.google.cloud.edgecontainer.v1.CreateNodePoolRequest.Builder
All Implemented Interfaces:
CreateNodePoolRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateNodePoolRequest

public static final class CreateNodePoolRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateNodePoolRequest.Builder> implements CreateNodePoolRequestOrBuilder
 Creates a node pool.
 
Protobuf type google.cloud.edgecontainer.v1.CreateNodePoolRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateNodePoolRequest.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.GeneratedMessage.Builder<CreateNodePoolRequest.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.GeneratedMessage.Builder<CreateNodePoolRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public CreateNodePoolRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateNodePoolRequest.Builder>
    • mergeFrom

    • isInitialized

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

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

      public String getParent()
       Required. The parent cluster where this node pool will be created.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateNodePoolRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent cluster where this node pool will be created.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateNodePoolRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateNodePoolRequest.Builder setParent(String value)
       Required. The parent cluster where this node pool will be created.
       
      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 CreateNodePoolRequest.Builder clearParent()
       Required. The parent cluster where this node pool will be created.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateNodePoolRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent cluster where this node pool will be created.
       
      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.
    • getNodePoolId

      public String getNodePoolId()
       Required. A client-specified unique identifier for the node pool.
       
      string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodePoolId in interface CreateNodePoolRequestOrBuilder
      Returns:
      The nodePoolId.
    • getNodePoolIdBytes

      public com.google.protobuf.ByteString getNodePoolIdBytes()
       Required. A client-specified unique identifier for the node pool.
       
      string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodePoolIdBytes in interface CreateNodePoolRequestOrBuilder
      Returns:
      The bytes for nodePoolId.
    • setNodePoolId

      public CreateNodePoolRequest.Builder setNodePoolId(String value)
       Required. A client-specified unique identifier for the node pool.
       
      string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The nodePoolId to set.
      Returns:
      This builder for chaining.
    • clearNodePoolId

      public CreateNodePoolRequest.Builder clearNodePoolId()
       Required. A client-specified unique identifier for the node pool.
       
      string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNodePoolIdBytes

      public CreateNodePoolRequest.Builder setNodePoolIdBytes(com.google.protobuf.ByteString value)
       Required. A client-specified unique identifier for the node pool.
       
      string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for nodePoolId to set.
      Returns:
      This builder for chaining.
    • hasNodePool

      public boolean hasNodePool()
       Required. The node pool to create.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasNodePool in interface CreateNodePoolRequestOrBuilder
      Returns:
      Whether the nodePool field is set.
    • getNodePool

      public NodePool getNodePool()
       Required. The node pool to create.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodePool in interface CreateNodePoolRequestOrBuilder
      Returns:
      The nodePool.
    • setNodePool

      public CreateNodePoolRequest.Builder setNodePool(NodePool value)
       Required. The node pool to create.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
    • setNodePool

      public CreateNodePoolRequest.Builder setNodePool(NodePool.Builder builderForValue)
       Required. The node pool to create.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeNodePool

      public CreateNodePoolRequest.Builder mergeNodePool(NodePool value)
       Required. The node pool to create.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearNodePool

      public CreateNodePoolRequest.Builder clearNodePool()
       Required. The node pool to create.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
    • getNodePoolBuilder

      public NodePool.Builder getNodePoolBuilder()
       Required. The node pool to create.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
    • getNodePoolOrBuilder

      public NodePoolOrBuilder getNodePoolOrBuilder()
       Required. The node pool to create.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodePoolOrBuilder in interface CreateNodePoolRequestOrBuilder
    • getRequestId

      public String getRequestId()
       A unique identifier for this request. Restricted to 36 ASCII characters. A
       random UUID is recommended. This request is only idempotent if
       `request_id` is provided.
       
      string request_id = 4;
      Specified by:
      getRequestId in interface CreateNodePoolRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       A unique identifier for this request. Restricted to 36 ASCII characters. A
       random UUID is recommended. This request is only idempotent if
       `request_id` is provided.
       
      string request_id = 4;
      Specified by:
      getRequestIdBytes in interface CreateNodePoolRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public CreateNodePoolRequest.Builder setRequestId(String value)
       A unique identifier for this request. Restricted to 36 ASCII characters. A
       random UUID is recommended. This request is only idempotent if
       `request_id` is provided.
       
      string request_id = 4;
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public CreateNodePoolRequest.Builder clearRequestId()
       A unique identifier for this request. Restricted to 36 ASCII characters. A
       random UUID is recommended. This request is only idempotent if
       `request_id` is provided.
       
      string request_id = 4;
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public CreateNodePoolRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       A unique identifier for this request. Restricted to 36 ASCII characters. A
       random UUID is recommended. This request is only idempotent if
       `request_id` is provided.
       
      string request_id = 4;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.