Class UpdateNodePoolRequest.Builder

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

public static final class UpdateNodePoolRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateNodePoolRequest.Builder> implements UpdateNodePoolRequestOrBuilder
 Updates a node pool.
 
Protobuf type google.cloud.edgecontainer.v1.UpdateNodePoolRequest
  • 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<UpdateNodePoolRequest.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<UpdateNodePoolRequest.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<UpdateNodePoolRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public UpdateNodePoolRequest.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<UpdateNodePoolRequest.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<UpdateNodePoolRequest.Builder>
    • mergeFrom

      public UpdateNodePoolRequest.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<UpdateNodePoolRequest.Builder>
      Throws:
      IOException
    • hasUpdateMask

      public boolean hasUpdateMask()
       Field mask is used to specify the fields to be overwritten in the
       NodePool resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
      Specified by:
      hasUpdateMask in interface UpdateNodePoolRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Field mask is used to specify the fields to be overwritten in the
       NodePool resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
      Specified by:
      getUpdateMask in interface UpdateNodePoolRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateNodePoolRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Field mask is used to specify the fields to be overwritten in the
       NodePool resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
    • setUpdateMask

      public UpdateNodePoolRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Field mask is used to specify the fields to be overwritten in the
       NodePool resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
    • mergeUpdateMask

      public UpdateNodePoolRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Field mask is used to specify the fields to be overwritten in the
       NodePool resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
    • clearUpdateMask

      public UpdateNodePoolRequest.Builder clearUpdateMask()
       Field mask is used to specify the fields to be overwritten in the
       NodePool resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Field mask is used to specify the fields to be overwritten in the
       NodePool resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Field mask is used to specify the fields to be overwritten in the
       NodePool resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateNodePoolRequestOrBuilder
    • hasNodePool

      public boolean hasNodePool()
       The updated node pool.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 2;
      Specified by:
      hasNodePool in interface UpdateNodePoolRequestOrBuilder
      Returns:
      Whether the nodePool field is set.
    • getNodePool

      public NodePool getNodePool()
       The updated node pool.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 2;
      Specified by:
      getNodePool in interface UpdateNodePoolRequestOrBuilder
      Returns:
      The nodePool.
    • setNodePool

      public UpdateNodePoolRequest.Builder setNodePool(NodePool value)
       The updated node pool.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 2;
    • setNodePool

      public UpdateNodePoolRequest.Builder setNodePool(NodePool.Builder builderForValue)
       The updated node pool.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 2;
    • mergeNodePool

      public UpdateNodePoolRequest.Builder mergeNodePool(NodePool value)
       The updated node pool.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 2;
    • clearNodePool

      public UpdateNodePoolRequest.Builder clearNodePool()
       The updated node pool.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 2;
    • getNodePoolBuilder

      public NodePool.Builder getNodePoolBuilder()
       The updated node pool.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 2;
    • getNodePoolOrBuilder

      public NodePoolOrBuilder getNodePoolOrBuilder()
       The updated node pool.
       
      .google.cloud.edgecontainer.v1.NodePool node_pool = 2;
      Specified by:
      getNodePoolOrBuilder in interface UpdateNodePoolRequestOrBuilder
    • 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 = 3;
      Specified by:
      getRequestId in interface UpdateNodePoolRequestOrBuilder
      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 = 3;
      Specified by:
      getRequestIdBytes in interface UpdateNodePoolRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public UpdateNodePoolRequest.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 = 3;
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public UpdateNodePoolRequest.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 = 3;
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public UpdateNodePoolRequest.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 = 3;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.