Class AzureNodePool.Builder

  • All Implemented Interfaces:
    AzureNodePoolOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    AzureNodePool

    public static final class AzureNodePool.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AzureNodePool.Builder>
    implements AzureNodePoolOrBuilder
     An Anthos node pool running on Azure.
     
    Protobuf type google.cloud.gkemulticloud.v1.AzureNodePool
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AzureNodePool.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AzureNodePool.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AzureNodePool.Builder>
      • clear

        public AzureNodePool.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.GeneratedMessageV3.Builder<AzureNodePool.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<AzureNodePool.Builder>
      • getDefaultInstanceForType

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

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

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

        public AzureNodePool.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AzureNodePool.Builder>
      • setField

        public AzureNodePool.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AzureNodePool.Builder>
      • clearField

        public AzureNodePool.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AzureNodePool.Builder>
      • clearOneof

        public AzureNodePool.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AzureNodePool.Builder>
      • setRepeatedField

        public AzureNodePool.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      int index,
                                                      Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AzureNodePool.Builder>
      • addRepeatedField

        public AzureNodePool.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AzureNodePool.Builder>
      • mergeFrom

        public AzureNodePool.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<AzureNodePool.Builder>
      • isInitialized

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

        public AzureNodePool.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<AzureNodePool.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The name of this resource.
        
         Node pool names are formatted as
         `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
        
         For more details on Google Cloud resource names,
         see [Resource Names](https://cloud.google.com/apis/design/resource_names)
         
        string name = 1;
        Specified by:
        getName in interface AzureNodePoolOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of this resource.
        
         Node pool names are formatted as
         `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
        
         For more details on Google Cloud resource names,
         see [Resource Names](https://cloud.google.com/apis/design/resource_names)
         
        string name = 1;
        Specified by:
        getNameBytes in interface AzureNodePoolOrBuilder
        Returns:
        The bytes for name.
      • setName

        public AzureNodePool.Builder setName​(String value)
         The name of this resource.
        
         Node pool names are formatted as
         `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
        
         For more details on Google Cloud resource names,
         see [Resource Names](https://cloud.google.com/apis/design/resource_names)
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public AzureNodePool.Builder clearName()
         The name of this resource.
        
         Node pool names are formatted as
         `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
        
         For more details on Google Cloud resource names,
         see [Resource Names](https://cloud.google.com/apis/design/resource_names)
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public AzureNodePool.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of this resource.
        
         Node pool names are formatted as
         `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
        
         For more details on Google Cloud resource names,
         see [Resource Names](https://cloud.google.com/apis/design/resource_names)
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getVersion

        public String getVersion()
         Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
         node pool.
         
        string version = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVersion in interface AzureNodePoolOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
         node pool.
         
        string version = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVersionBytes in interface AzureNodePoolOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public AzureNodePool.Builder setVersion​(String value)
         Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
         node pool.
         
        string version = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public AzureNodePool.Builder clearVersion()
         Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
         node pool.
         
        string version = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setVersionBytes

        public AzureNodePool.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
         node pool.
         
        string version = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • hasConfig

        public boolean hasConfig()
         Required. The node configuration of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasConfig in interface AzureNodePoolOrBuilder
        Returns:
        Whether the config field is set.
      • getConfig

        public AzureNodeConfig getConfig()
         Required. The node configuration of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getConfig in interface AzureNodePoolOrBuilder
        Returns:
        The config.
      • setConfig

        public AzureNodePool.Builder setConfig​(AzureNodeConfig value)
         Required. The node configuration of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];
      • setConfig

        public AzureNodePool.Builder setConfig​(AzureNodeConfig.Builder builderForValue)
         Required. The node configuration of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];
      • mergeConfig

        public AzureNodePool.Builder mergeConfig​(AzureNodeConfig value)
         Required. The node configuration of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];
      • clearConfig

        public AzureNodePool.Builder clearConfig()
         Required. The node configuration of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];
      • getConfigBuilder

        public AzureNodeConfig.Builder getConfigBuilder()
         Required. The node configuration of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];
      • getSubnetId

        public String getSubnetId()
         Required. The ARM ID of the subnet where the node pool VMs run. Make sure
         it's a subnet under the virtual network in the cluster configuration.
         
        string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSubnetId in interface AzureNodePoolOrBuilder
        Returns:
        The subnetId.
      • getSubnetIdBytes

        public com.google.protobuf.ByteString getSubnetIdBytes()
         Required. The ARM ID of the subnet where the node pool VMs run. Make sure
         it's a subnet under the virtual network in the cluster configuration.
         
        string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSubnetIdBytes in interface AzureNodePoolOrBuilder
        Returns:
        The bytes for subnetId.
      • setSubnetId

        public AzureNodePool.Builder setSubnetId​(String value)
         Required. The ARM ID of the subnet where the node pool VMs run. Make sure
         it's a subnet under the virtual network in the cluster configuration.
         
        string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The subnetId to set.
        Returns:
        This builder for chaining.
      • clearSubnetId

        public AzureNodePool.Builder clearSubnetId()
         Required. The ARM ID of the subnet where the node pool VMs run. Make sure
         it's a subnet under the virtual network in the cluster configuration.
         
        string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setSubnetIdBytes

        public AzureNodePool.Builder setSubnetIdBytes​(com.google.protobuf.ByteString value)
         Required. The ARM ID of the subnet where the node pool VMs run. Make sure
         it's a subnet under the virtual network in the cluster configuration.
         
        string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for subnetId to set.
        Returns:
        This builder for chaining.
      • hasAutoscaling

        public boolean hasAutoscaling()
         Required. Autoscaler configuration for this node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasAutoscaling in interface AzureNodePoolOrBuilder
        Returns:
        Whether the autoscaling field is set.
      • getAutoscaling

        public AzureNodePoolAutoscaling getAutoscaling()
         Required. Autoscaler configuration for this node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAutoscaling in interface AzureNodePoolOrBuilder
        Returns:
        The autoscaling.
      • setAutoscaling

        public AzureNodePool.Builder setAutoscaling​(AzureNodePoolAutoscaling value)
         Required. Autoscaler configuration for this node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];
      • setAutoscaling

        public AzureNodePool.Builder setAutoscaling​(AzureNodePoolAutoscaling.Builder builderForValue)
         Required. Autoscaler configuration for this node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];
      • mergeAutoscaling

        public AzureNodePool.Builder mergeAutoscaling​(AzureNodePoolAutoscaling value)
         Required. Autoscaler configuration for this node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];
      • clearAutoscaling

        public AzureNodePool.Builder clearAutoscaling()
         Required. Autoscaler configuration for this node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];
      • getAutoscalingBuilder

        public AzureNodePoolAutoscaling.Builder getAutoscalingBuilder()
         Required. Autoscaler configuration for this node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];
      • getStateValue

        public int getStateValue()
         Output only. The current state of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface AzureNodePoolOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public AzureNodePool.Builder setStateValue​(int value)
         Output only. The current state of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public AzureNodePool.State getState()
         Output only. The current state of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface AzureNodePoolOrBuilder
        Returns:
        The state.
      • setState

        public AzureNodePool.Builder setState​(AzureNodePool.State value)
         Output only. The current state of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public AzureNodePool.Builder clearState()
         Output only. The current state of the node pool.
         
        .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getUid

        public String getUid()
         Output only. A globally unique identifier for the node pool.
         
        string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUid in interface AzureNodePoolOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         Output only. A globally unique identifier for the node pool.
         
        string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface AzureNodePoolOrBuilder
        Returns:
        The bytes for uid.
      • setUid

        public AzureNodePool.Builder setUid​(String value)
         Output only. A globally unique identifier for the node pool.
         
        string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public AzureNodePool.Builder clearUid()
         Output only. A globally unique identifier for the node pool.
         
        string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUidBytes

        public AzureNodePool.Builder setUidBytes​(com.google.protobuf.ByteString value)
         Output only. A globally unique identifier for the node pool.
         
        string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • getReconciling

        public boolean getReconciling()
         Output only. If set, there are currently pending changes to the node
         pool.
         
        bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getReconciling in interface AzureNodePoolOrBuilder
        Returns:
        The reconciling.
      • setReconciling

        public AzureNodePool.Builder setReconciling​(boolean value)
         Output only. If set, there are currently pending changes to the node
         pool.
         
        bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The reconciling to set.
        Returns:
        This builder for chaining.
      • clearReconciling

        public AzureNodePool.Builder clearReconciling()
         Output only. If set, there are currently pending changes to the node
         pool.
         
        bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The time at which this node pool was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface AzureNodePoolOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The time at which this node pool was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface AzureNodePoolOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public AzureNodePool.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time at which this node pool was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public AzureNodePool.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time at which this node pool was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public AzureNodePool.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time at which this node pool was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public AzureNodePool.Builder clearCreateTime()
         Output only. The time at which this node pool was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The time at which this node pool was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time at which this node pool was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface AzureNodePoolOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The time at which this node pool was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface AzureNodePoolOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The time at which this node pool was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface AzureNodePoolOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public AzureNodePool.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time at which this node pool was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public AzureNodePool.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time at which this node pool was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public AzureNodePool.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time at which this node pool was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public AzureNodePool.Builder clearUpdateTime()
         Output only. The time at which this node pool was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The time at which this node pool was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The time at which this node pool was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface AzureNodePoolOrBuilder
      • getEtag

        public String getEtag()
         Allows clients to perform consistent read-modify-writes
         through optimistic concurrency control.
        
         Can be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 12;
        Specified by:
        getEtag in interface AzureNodePoolOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.ByteString getEtagBytes()
         Allows clients to perform consistent read-modify-writes
         through optimistic concurrency control.
        
         Can be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 12;
        Specified by:
        getEtagBytes in interface AzureNodePoolOrBuilder
        Returns:
        The bytes for etag.
      • setEtag

        public AzureNodePool.Builder setEtag​(String value)
         Allows clients to perform consistent read-modify-writes
         through optimistic concurrency control.
        
         Can be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 12;
        Parameters:
        value - The etag to set.
        Returns:
        This builder for chaining.
      • clearEtag

        public AzureNodePool.Builder clearEtag()
         Allows clients to perform consistent read-modify-writes
         through optimistic concurrency control.
        
         Can be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 12;
        Returns:
        This builder for chaining.
      • setEtagBytes

        public AzureNodePool.Builder setEtagBytes​(com.google.protobuf.ByteString value)
         Allows clients to perform consistent read-modify-writes
         through optimistic concurrency control.
        
         Can be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 12;
        Parameters:
        value - The bytes for etag to set.
        Returns:
        This builder for chaining.
      • getAnnotationsCount

        public int getAnnotationsCount()
        Description copied from interface: AzureNodePoolOrBuilder
         Optional. Annotations on the node pool.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Keys can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAnnotationsCount in interface AzureNodePoolOrBuilder
      • containsAnnotations

        public boolean containsAnnotations​(String key)
         Optional. Annotations on the node pool.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Keys can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsAnnotations in interface AzureNodePoolOrBuilder
      • getAnnotationsMap

        public Map<String,​String> getAnnotationsMap()
         Optional. Annotations on the node pool.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Keys can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAnnotationsMap in interface AzureNodePoolOrBuilder
      • getAnnotationsOrDefault

        public String getAnnotationsOrDefault​(String key,
                                              String defaultValue)
         Optional. Annotations on the node pool.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Keys can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAnnotationsOrDefault in interface AzureNodePoolOrBuilder
      • getAnnotationsOrThrow

        public String getAnnotationsOrThrow​(String key)
         Optional. Annotations on the node pool.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Keys can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAnnotationsOrThrow in interface AzureNodePoolOrBuilder
      • removeAnnotations

        public AzureNodePool.Builder removeAnnotations​(String key)
         Optional. Annotations on the node pool.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Keys can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableAnnotations

        @Deprecated
        public Map<String,​String> getMutableAnnotations()
        Deprecated.
        Use alternate mutation accessors instead.
      • putAnnotations

        public AzureNodePool.Builder putAnnotations​(String key,
                                                    String value)
         Optional. Annotations on the node pool.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Keys can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
      • putAllAnnotations

        public AzureNodePool.Builder putAllAnnotations​(Map<String,​String> values)
         Optional. Annotations on the node pool.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Keys can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
      • hasMaxPodsConstraint

        public boolean hasMaxPodsConstraint()
         Required. The constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool.
         
        .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasMaxPodsConstraint in interface AzureNodePoolOrBuilder
        Returns:
        Whether the maxPodsConstraint field is set.
      • getMaxPodsConstraint

        public MaxPodsConstraint getMaxPodsConstraint()
         Required. The constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool.
         
        .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMaxPodsConstraint in interface AzureNodePoolOrBuilder
        Returns:
        The maxPodsConstraint.
      • setMaxPodsConstraint

        public AzureNodePool.Builder setMaxPodsConstraint​(MaxPodsConstraint value)
         Required. The constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool.
         
        .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
      • setMaxPodsConstraint

        public AzureNodePool.Builder setMaxPodsConstraint​(MaxPodsConstraint.Builder builderForValue)
         Required. The constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool.
         
        .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
      • mergeMaxPodsConstraint

        public AzureNodePool.Builder mergeMaxPodsConstraint​(MaxPodsConstraint value)
         Required. The constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool.
         
        .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
      • clearMaxPodsConstraint

        public AzureNodePool.Builder clearMaxPodsConstraint()
         Required. The constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool.
         
        .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
      • getMaxPodsConstraintBuilder

        public MaxPodsConstraint.Builder getMaxPodsConstraintBuilder()
         Required. The constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool.
         
        .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
      • getMaxPodsConstraintOrBuilder

        public MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder()
         Required. The constraint on the maximum number of pods that can be run
         simultaneously on a node in the node pool.
         
        .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMaxPodsConstraintOrBuilder in interface AzureNodePoolOrBuilder
      • getAzureAvailabilityZone

        public String getAzureAvailabilityZone()
         Optional. The Azure availability zone of the nodes in this nodepool.
        
         When unspecified, it defaults to `1`.
         
        string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAzureAvailabilityZone in interface AzureNodePoolOrBuilder
        Returns:
        The azureAvailabilityZone.
      • getAzureAvailabilityZoneBytes

        public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes()
         Optional. The Azure availability zone of the nodes in this nodepool.
        
         When unspecified, it defaults to `1`.
         
        string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAzureAvailabilityZoneBytes in interface AzureNodePoolOrBuilder
        Returns:
        The bytes for azureAvailabilityZone.
      • setAzureAvailabilityZone

        public AzureNodePool.Builder setAzureAvailabilityZone​(String value)
         Optional. The Azure availability zone of the nodes in this nodepool.
        
         When unspecified, it defaults to `1`.
         
        string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The azureAvailabilityZone to set.
        Returns:
        This builder for chaining.
      • clearAzureAvailabilityZone

        public AzureNodePool.Builder clearAzureAvailabilityZone()
         Optional. The Azure availability zone of the nodes in this nodepool.
        
         When unspecified, it defaults to `1`.
         
        string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setAzureAvailabilityZoneBytes

        public AzureNodePool.Builder setAzureAvailabilityZoneBytes​(com.google.protobuf.ByteString value)
         Optional. The Azure availability zone of the nodes in this nodepool.
        
         When unspecified, it defaults to `1`.
         
        string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for azureAvailabilityZone to set.
        Returns:
        This builder for chaining.
      • getErrorsList

        public List<AzureNodePoolError> getErrorsList()
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorsList in interface AzureNodePoolOrBuilder
      • getErrorsCount

        public int getErrorsCount()
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorsCount in interface AzureNodePoolOrBuilder
      • getErrors

        public AzureNodePoolError getErrors​(int index)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrors in interface AzureNodePoolOrBuilder
      • setErrors

        public AzureNodePool.Builder setErrors​(int index,
                                               AzureNodePoolError value)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setErrors

        public AzureNodePool.Builder setErrors​(int index,
                                               AzureNodePoolError.Builder builderForValue)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addErrors

        public AzureNodePool.Builder addErrors​(AzureNodePoolError value)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addErrors

        public AzureNodePool.Builder addErrors​(int index,
                                               AzureNodePoolError value)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addErrors

        public AzureNodePool.Builder addErrors​(AzureNodePoolError.Builder builderForValue)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addErrors

        public AzureNodePool.Builder addErrors​(int index,
                                               AzureNodePoolError.Builder builderForValue)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllErrors

        public AzureNodePool.Builder addAllErrors​(Iterable<? extends AzureNodePoolError> values)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearErrors

        public AzureNodePool.Builder clearErrors()
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeErrors

        public AzureNodePool.Builder removeErrors​(int index)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getErrorsBuilder

        public AzureNodePoolError.Builder getErrorsBuilder​(int index)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addErrorsBuilder

        public AzureNodePoolError.Builder addErrorsBuilder()
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addErrorsBuilder

        public AzureNodePoolError.Builder addErrorsBuilder​(int index)
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getErrorsBuilderList

        public List<AzureNodePoolError.Builder> getErrorsBuilderList()
         Output only. A set of errors found in the node pool.
         
        repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

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

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