Class UpdateAwsNodePoolRequest

  • All Implemented Interfaces:
    UpdateAwsNodePoolRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class UpdateAwsNodePoolRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements UpdateAwsNodePoolRequestOrBuilder
     Request message for `AwsClusters.UpdateAwsNodePool` method.
     
    Protobuf type google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest
    See Also:
    Serialized Form
    • Field Detail

      • AWS_NODE_POOL_FIELD_NUMBER

        public static final int AWS_NODE_POOL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALIDATE_ONLY_FIELD_NUMBER

        public static final int VALIDATE_ONLY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPDATE_MASK_FIELD_NUMBER

        public static final int UPDATE_MASK_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • hasAwsNodePool

        public boolean hasAwsNodePool()
         Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
         resource to update.
         
        .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasAwsNodePool in interface UpdateAwsNodePoolRequestOrBuilder
        Returns:
        Whether the awsNodePool field is set.
      • getAwsNodePool

        public AwsNodePool getAwsNodePool()
         Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
         resource to update.
         
        .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAwsNodePool in interface UpdateAwsNodePoolRequestOrBuilder
        Returns:
        The awsNodePool.
      • getValidateOnly

        public boolean getValidateOnly()
         If set, only validate the request, but don't actually update the node pool.
         
        bool validate_only = 2;
        Specified by:
        getValidateOnly in interface UpdateAwsNodePoolRequestOrBuilder
        Returns:
        The validateOnly.
      • hasUpdateMask

        public boolean hasUpdateMask()
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]:
        
          *   `annotations`.
          *   `version`.
          *   `autoscaling.min_node_count`.
          *   `autoscaling.max_node_count`.
          *   `config.config_encryption.kms_key_arn`.
          *   `config.security_group_ids`.
          *   `config.root_volume.iops`.
          *   `config.root_volume.kms_key_arn`.
          *   `config.root_volume.volume_type`.
          *   `config.root_volume.size_gib`.
          *   `config.proxy_config`.
          *   `config.proxy_config.secret_arn`.
          *   `config.proxy_config.secret_version`.
          *   `config.ssh_config`.
          *   `config.ssh_config.ec2_key_pair`.
          *   `config.instance_placement.tenancy`.
          *   `config.iam_instance_profile`.
          *   `config.labels`.
          *   `config.tags`.
          *   `config.autoscaling_metrics_collection`.
          *   `config.autoscaling_metrics_collection.granularity`.
          *   `config.autoscaling_metrics_collection.metrics`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasUpdateMask in interface UpdateAwsNodePoolRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]:
        
          *   `annotations`.
          *   `version`.
          *   `autoscaling.min_node_count`.
          *   `autoscaling.max_node_count`.
          *   `config.config_encryption.kms_key_arn`.
          *   `config.security_group_ids`.
          *   `config.root_volume.iops`.
          *   `config.root_volume.kms_key_arn`.
          *   `config.root_volume.volume_type`.
          *   `config.root_volume.size_gib`.
          *   `config.proxy_config`.
          *   `config.proxy_config.secret_arn`.
          *   `config.proxy_config.secret_version`.
          *   `config.ssh_config`.
          *   `config.ssh_config.ec2_key_pair`.
          *   `config.instance_placement.tenancy`.
          *   `config.iam_instance_profile`.
          *   `config.labels`.
          *   `config.tags`.
          *   `config.autoscaling_metrics_collection`.
          *   `config.autoscaling_metrics_collection.granularity`.
          *   `config.autoscaling_metrics_collection.metrics`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMask in interface UpdateAwsNodePoolRequestOrBuilder
        Returns:
        The updateMask.
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. Mask of fields to update. At least one path must be supplied in
         this field. The elements of the repeated paths field can only include these
         fields from [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]:
        
          *   `annotations`.
          *   `version`.
          *   `autoscaling.min_node_count`.
          *   `autoscaling.max_node_count`.
          *   `config.config_encryption.kms_key_arn`.
          *   `config.security_group_ids`.
          *   `config.root_volume.iops`.
          *   `config.root_volume.kms_key_arn`.
          *   `config.root_volume.volume_type`.
          *   `config.root_volume.size_gib`.
          *   `config.proxy_config`.
          *   `config.proxy_config.secret_arn`.
          *   `config.proxy_config.secret_version`.
          *   `config.ssh_config`.
          *   `config.ssh_config.ec2_key_pair`.
          *   `config.instance_placement.tenancy`.
          *   `config.iam_instance_profile`.
          *   `config.labels`.
          *   `config.tags`.
          *   `config.autoscaling_metrics_collection`.
          *   `config.autoscaling_metrics_collection.granularity`.
          *   `config.autoscaling_metrics_collection.metrics`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateAwsNodePoolRequestOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static UpdateAwsNodePoolRequest parseFrom​(ByteBuffer data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateAwsNodePoolRequest parseFrom​(ByteBuffer data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateAwsNodePoolRequest parseFrom​(com.google.protobuf.ByteString data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateAwsNodePoolRequest parseFrom​(com.google.protobuf.ByteString data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateAwsNodePoolRequest parseFrom​(byte[] data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateAwsNodePoolRequest parseFrom​(byte[] data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public UpdateAwsNodePoolRequest.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public UpdateAwsNodePoolRequest.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected UpdateAwsNodePoolRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<UpdateAwsNodePoolRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public UpdateAwsNodePoolRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder