Class UpdateClusterRequest.Builder

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

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

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

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

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

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

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

      public boolean hasUpdateMask()
       Field mask is used to specify the fields to be overwritten in the
       Cluster 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 UpdateClusterRequestOrBuilder
      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
       Cluster 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 UpdateClusterRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateClusterRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Field mask is used to specify the fields to be overwritten in the
       Cluster 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 UpdateClusterRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Field mask is used to specify the fields to be overwritten in the
       Cluster 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 UpdateClusterRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Field mask is used to specify the fields to be overwritten in the
       Cluster 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 UpdateClusterRequest.Builder clearUpdateMask()
       Field mask is used to specify the fields to be overwritten in the
       Cluster 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
       Cluster 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
       Cluster 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 UpdateClusterRequestOrBuilder
    • hasCluster

      public boolean hasCluster()
       The updated cluster.
       
      .google.cloud.edgecontainer.v1.Cluster cluster = 2;
      Specified by:
      hasCluster in interface UpdateClusterRequestOrBuilder
      Returns:
      Whether the cluster field is set.
    • getCluster

      public Cluster getCluster()
       The updated cluster.
       
      .google.cloud.edgecontainer.v1.Cluster cluster = 2;
      Specified by:
      getCluster in interface UpdateClusterRequestOrBuilder
      Returns:
      The cluster.
    • setCluster

      public UpdateClusterRequest.Builder setCluster(Cluster value)
       The updated cluster.
       
      .google.cloud.edgecontainer.v1.Cluster cluster = 2;
    • setCluster

      public UpdateClusterRequest.Builder setCluster(Cluster.Builder builderForValue)
       The updated cluster.
       
      .google.cloud.edgecontainer.v1.Cluster cluster = 2;
    • mergeCluster

      public UpdateClusterRequest.Builder mergeCluster(Cluster value)
       The updated cluster.
       
      .google.cloud.edgecontainer.v1.Cluster cluster = 2;
    • clearCluster

      public UpdateClusterRequest.Builder clearCluster()
       The updated cluster.
       
      .google.cloud.edgecontainer.v1.Cluster cluster = 2;
    • getClusterBuilder

      public Cluster.Builder getClusterBuilder()
       The updated cluster.
       
      .google.cloud.edgecontainer.v1.Cluster cluster = 2;
    • getClusterOrBuilder

      public ClusterOrBuilder getClusterOrBuilder()
       The updated cluster.
       
      .google.cloud.edgecontainer.v1.Cluster cluster = 2;
      Specified by:
      getClusterOrBuilder in interface UpdateClusterRequestOrBuilder
    • 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 UpdateClusterRequestOrBuilder
      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 UpdateClusterRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public UpdateClusterRequest.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 UpdateClusterRequest.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 UpdateClusterRequest.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.