Class AzureNodeConfig

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

    public final class AzureNodeConfig
    extends com.google.protobuf.GeneratedMessageV3
    implements AzureNodeConfigOrBuilder
     Parameters that describe the configuration of all node machines
     on a given node pool.
     
    Protobuf type google.cloud.gkemulticloud.v1.AzureNodeConfig
    See Also:
    Serialized Form
    • 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()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getVmSize

        public String getVmSize()
         Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
        
         See [Supported VM
         sizes](/anthos/clusters/docs/azure/reference/supported-vms) for options.
        
         When unspecified, it defaults to `Standard_DS2_v2`.
         
        string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getVmSize in interface AzureNodeConfigOrBuilder
        Returns:
        The vmSize.
      • getVmSizeBytes

        public com.google.protobuf.ByteString getVmSizeBytes()
         Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
        
         See [Supported VM
         sizes](/anthos/clusters/docs/azure/reference/supported-vms) for options.
        
         When unspecified, it defaults to `Standard_DS2_v2`.
         
        string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getVmSizeBytes in interface AzureNodeConfigOrBuilder
        Returns:
        The bytes for vmSize.
      • hasRootVolume

        public boolean hasRootVolume()
         Optional. Configuration related to the root volume provisioned for each
         node pool machine.
        
         When unspecified, it defaults to a 32-GiB Azure Disk.
         
        .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasRootVolume in interface AzureNodeConfigOrBuilder
        Returns:
        Whether the rootVolume field is set.
      • getRootVolume

        public AzureDiskTemplate getRootVolume()
         Optional. Configuration related to the root volume provisioned for each
         node pool machine.
        
         When unspecified, it defaults to a 32-GiB Azure Disk.
         
        .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRootVolume in interface AzureNodeConfigOrBuilder
        Returns:
        The rootVolume.
      • getRootVolumeOrBuilder

        public AzureDiskTemplateOrBuilder getRootVolumeOrBuilder()
         Optional. Configuration related to the root volume provisioned for each
         node pool machine.
        
         When unspecified, it defaults to a 32-GiB Azure Disk.
         
        .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRootVolumeOrBuilder in interface AzureNodeConfigOrBuilder
      • getTagsCount

        public int getTagsCount()
        Description copied from interface: AzureNodeConfigOrBuilder
         Optional. A set of tags to apply to all underlying Azure resources for this
         node pool. This currently only includes Virtual Machine Scale Sets.
        
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsCount in interface AzureNodeConfigOrBuilder
      • containsTags

        public boolean containsTags​(String key)
         Optional. A set of tags to apply to all underlying Azure resources for this
         node pool. This currently only includes Virtual Machine Scale Sets.
        
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsTags in interface AzureNodeConfigOrBuilder
      • getTagsMap

        public Map<String,​String> getTagsMap()
         Optional. A set of tags to apply to all underlying Azure resources for this
         node pool. This currently only includes Virtual Machine Scale Sets.
        
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsMap in interface AzureNodeConfigOrBuilder
      • getTagsOrDefault

        public String getTagsOrDefault​(String key,
                                       String defaultValue)
         Optional. A set of tags to apply to all underlying Azure resources for this
         node pool. This currently only includes Virtual Machine Scale Sets.
        
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsOrDefault in interface AzureNodeConfigOrBuilder
      • getTagsOrThrow

        public String getTagsOrThrow​(String key)
         Optional. A set of tags to apply to all underlying Azure resources for this
         node pool. This currently only includes Virtual Machine Scale Sets.
        
         Specify at most 50 pairs containing alphanumerics, spaces, and symbols
         (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
         255 Unicode characters.
         
        map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsOrThrow in interface AzureNodeConfigOrBuilder
      • getImageType

        public String getImageType()
         Optional. The OS image type to use on node pool instances.
         Can have a value of `ubuntu`, or `windows` if the cluster enables
         the Windows node pool preview feature.
        
         When unspecified, it defaults to `ubuntu`.
         
        string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getImageType in interface AzureNodeConfigOrBuilder
        Returns:
        The imageType.
      • getImageTypeBytes

        public com.google.protobuf.ByteString getImageTypeBytes()
         Optional. The OS image type to use on node pool instances.
         Can have a value of `ubuntu`, or `windows` if the cluster enables
         the Windows node pool preview feature.
        
         When unspecified, it defaults to `ubuntu`.
         
        string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getImageTypeBytes in interface AzureNodeConfigOrBuilder
        Returns:
        The bytes for imageType.
      • hasSshConfig

        public boolean hasSshConfig()
         Required. SSH configuration for how to access the node pool machines.
         
        .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasSshConfig in interface AzureNodeConfigOrBuilder
        Returns:
        Whether the sshConfig field is set.
      • getSshConfig

        public AzureSshConfig getSshConfig()
         Required. SSH configuration for how to access the node pool machines.
         
        .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSshConfig in interface AzureNodeConfigOrBuilder
        Returns:
        The sshConfig.
      • hasProxyConfig

        public boolean hasProxyConfig()
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasProxyConfig in interface AzureNodeConfigOrBuilder
        Returns:
        Whether the proxyConfig field is set.
      • getProxyConfig

        public AzureProxyConfig getProxyConfig()
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getProxyConfig in interface AzureNodeConfigOrBuilder
        Returns:
        The proxyConfig.
      • hasConfigEncryption

        public boolean hasConfigEncryption()
         Optional. Configuration related to vm config encryption.
         
        .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasConfigEncryption in interface AzureNodeConfigOrBuilder
        Returns:
        Whether the configEncryption field is set.
      • getConfigEncryption

        public AzureConfigEncryption getConfigEncryption()
         Optional. Configuration related to vm config encryption.
         
        .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getConfigEncryption in interface AzureNodeConfigOrBuilder
        Returns:
        The configEncryption.
      • getTaintsList

        public List<NodeTaint> getTaintsList()
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTaintsList in interface AzureNodeConfigOrBuilder
      • getTaintsOrBuilderList

        public List<? extends NodeTaintOrBuilder> getTaintsOrBuilderList()
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTaintsOrBuilderList in interface AzureNodeConfigOrBuilder
      • getTaintsCount

        public int getTaintsCount()
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTaintsCount in interface AzureNodeConfigOrBuilder
      • getTaints

        public NodeTaint getTaints​(int index)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTaints in interface AzureNodeConfigOrBuilder
      • getTaintsOrBuilder

        public NodeTaintOrBuilder getTaintsOrBuilder​(int index)
         Optional. The initial taints assigned to nodes of this node pool.
         
        repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTaintsOrBuilder in interface AzureNodeConfigOrBuilder
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: AzureNodeConfigOrBuilder
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsCount in interface AzureNodeConfigOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsLabels in interface AzureNodeConfigOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsMap in interface AzureNodeConfigOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrDefault in interface AzureNodeConfigOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Optional. The initial labels assigned to nodes of this node pool. An object
         containing a list of "key": value pairs. Example: { "name": "wrench",
         "mass": "1.3kg", "count": "3" }.
         
        map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrThrow in interface AzureNodeConfigOrBuilder
      • 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 AzureNodeConfig parseFrom​(ByteBuffer data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static AzureNodeConfig parseFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

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

        public static com.google.protobuf.Parser<AzureNodeConfig> parser()
      • getParserForType

        public com.google.protobuf.Parser<AzureNodeConfig> 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 AzureNodeConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder