Class AwsNodeConfig (0.34.0)

public final class AwsNodeConfig extends GeneratedMessageV3 implements AwsNodeConfigOrBuilder

Parameters that describe the nodes in a cluster.

Protobuf type google.cloud.gkemulticloud.v1.AwsNodeConfig

Static Fields

AUTOSCALING_METRICS_COLLECTION_FIELD_NUMBER

public static final int AUTOSCALING_METRICS_COLLECTION_FIELD_NUMBER
Field Value
TypeDescription
int

CONFIG_ENCRYPTION_FIELD_NUMBER

public static final int CONFIG_ENCRYPTION_FIELD_NUMBER
Field Value
TypeDescription
int

IAM_INSTANCE_PROFILE_FIELD_NUMBER

public static final int IAM_INSTANCE_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGE_TYPE_FIELD_NUMBER

public static final int IMAGE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_PLACEMENT_FIELD_NUMBER

public static final int INSTANCE_PLACEMENT_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_TYPE_FIELD_NUMBER

public static final int INSTANCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

PROXY_CONFIG_FIELD_NUMBER

public static final int PROXY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

ROOT_VOLUME_FIELD_NUMBER

public static final int ROOT_VOLUME_FIELD_NUMBER
Field Value
TypeDescription
int

SECURITY_GROUP_IDS_FIELD_NUMBER

public static final int SECURITY_GROUP_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

SPOT_CONFIG_FIELD_NUMBER

public static final int SPOT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SSH_CONFIG_FIELD_NUMBER

public static final int SSH_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

TAINTS_FIELD_NUMBER

public static final int TAINTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsNodeConfig getDefaultInstance()
Returns
TypeDescription
AwsNodeConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AwsNodeConfig.Builder newBuilder()
Returns
TypeDescription
AwsNodeConfig.Builder

newBuilder(AwsNodeConfig prototype)

public static AwsNodeConfig.Builder newBuilder(AwsNodeConfig prototype)
Parameter
NameDescription
prototypeAwsNodeConfig
Returns
TypeDescription
AwsNodeConfig.Builder

parseDelimitedFrom(InputStream input)

public static AwsNodeConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsNodeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AwsNodeConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AwsNodeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AwsNodeConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AwsNodeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AwsNodeConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsNodeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AwsNodeConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsNodeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AwsNodeConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AwsNodeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AwsNodeConfig> parser()
Returns
TypeDescription
Parser<AwsNodeConfig>

Methods

containsLabels(String key)

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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsTags(String key)

public boolean containsTags(String key)

Optional. Key/value metadata to assign to each underlying AWS resource. 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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAutoscalingMetricsCollection()

public AwsAutoscalingGroupMetricsCollection getAutoscalingMetricsCollection()

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsAutoscalingGroupMetricsCollection

The autoscalingMetricsCollection.

getAutoscalingMetricsCollectionOrBuilder()

public AwsAutoscalingGroupMetricsCollectionOrBuilder getAutoscalingMetricsCollectionOrBuilder()

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsAutoscalingGroupMetricsCollectionOrBuilder

getConfigEncryption()

public AwsConfigEncryption getConfigEncryption()

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsConfigEncryption

The configEncryption.

getConfigEncryptionOrBuilder()

public AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder()

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsConfigEncryptionOrBuilder

getDefaultInstanceForType()

public AwsNodeConfig getDefaultInstanceForType()
Returns
TypeDescription
AwsNodeConfig

getIamInstanceProfile()

public String getIamInstanceProfile()

Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.

string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The iamInstanceProfile.

getIamInstanceProfileBytes()

public ByteString getIamInstanceProfileBytes()

Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.

string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for iamInstanceProfile.

getImageType()

public String getImageType()

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The imageType.

getImageTypeBytes()

public ByteString getImageTypeBytes()

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for imageType.

getInstancePlacement()

public AwsInstancePlacement getInstancePlacement()

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsInstancePlacement

The instancePlacement.

getInstancePlacementOrBuilder()

public AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder()

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsInstancePlacementOrBuilder

getInstanceType()

public String getInstanceType()

Optional. The EC2 instance type when creating on-Demand instances.

If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.

string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The instanceType.

getInstanceTypeBytes()

public ByteString getInstanceTypeBytes()

Optional. The EC2 instance type when creating on-Demand instances.

If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.

string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for instanceType.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getParserForType()

public Parser<AwsNodeConfig> getParserForType()
Returns
TypeDescription
Parser<AwsNodeConfig>
Overrides

getProxyConfig()

public AwsProxyConfig getProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsProxyConfig

The proxyConfig.

getProxyConfigOrBuilder()

public AwsProxyConfigOrBuilder getProxyConfigOrBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsProxyConfigOrBuilder

getRootVolume()

public AwsVolumeTemplate getRootVolume()

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsVolumeTemplate

The rootVolume.

getRootVolumeOrBuilder()

public AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder()

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsVolumeTemplateOrBuilder

getSecurityGroupIds(int index)

public String getSecurityGroupIds(int index)

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The securityGroupIds at the given index.

getSecurityGroupIdsBytes(int index)

public ByteString getSecurityGroupIdsBytes(int index)

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the securityGroupIds at the given index.

getSecurityGroupIdsCount()

public int getSecurityGroupIdsCount()

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of securityGroupIds.

getSecurityGroupIdsList()

public ProtocolStringList getSecurityGroupIdsList()

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ProtocolStringList

A list containing the securityGroupIds.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSpotConfig()

public SpotConfig getSpotConfig()

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
SpotConfig

The spotConfig.

getSpotConfigOrBuilder()

public SpotConfigOrBuilder getSpotConfigOrBuilder()

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
SpotConfigOrBuilder

getSshConfig()

public AwsSshConfig getSshConfig()

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsSshConfig

The sshConfig.

getSshConfigOrBuilder()

public AwsSshConfigOrBuilder getSshConfigOrBuilder()

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsSshConfigOrBuilder

getTags() (deprecated)

public Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
TypeDescription
Map<String,String>

getTagsCount()

public int getTagsCount()

Optional. Key/value metadata to assign to each underlying AWS resource. 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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getTagsMap()

public Map<String,String> getTagsMap()

Optional. Key/value metadata to assign to each underlying AWS resource. 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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getTagsOrDefault(String key, String defaultValue)

public String getTagsOrDefault(String key, String defaultValue)

Optional. Key/value metadata to assign to each underlying AWS resource. 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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getTagsOrThrow(String key)

public String getTagsOrThrow(String key)

Optional. Key/value metadata to assign to each underlying AWS resource. 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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getTaints(int index)

public NodeTaint getTaints(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeTaint

getTaintsCount()

public int getTaintsCount()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getTaintsList()

public List<NodeTaint> getTaintsList()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<NodeTaint>

getTaintsOrBuilder(int index)

public NodeTaintOrBuilder getTaintsOrBuilder(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeTaintOrBuilder

getTaintsOrBuilderList()

public List<? extends NodeTaintOrBuilder> getTaintsOrBuilderList()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>

hasAutoscalingMetricsCollection()

public boolean hasAutoscalingMetricsCollection()

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the autoscalingMetricsCollection field is set.

hasConfigEncryption()

public boolean hasConfigEncryption()

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the configEncryption field is set.

hasInstancePlacement()

public boolean hasInstancePlacement()

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the instancePlacement field is set.

hasProxyConfig()

public boolean hasProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the proxyConfig field is set.

hasRootVolume()

public boolean hasRootVolume()

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the rootVolume field is set.

hasSpotConfig()

public boolean hasSpotConfig()

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the spotConfig field is set.

hasSshConfig()

public boolean hasSshConfig()

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the sshConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AwsNodeConfig.Builder newBuilderForType()
Returns
TypeDescription
AwsNodeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AwsNodeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AwsNodeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AwsNodeConfig.Builder toBuilder()
Returns
TypeDescription
AwsNodeConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException