Class AwsNodeConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.gkemulticloud.v1.AwsNodeConfig
-
- All Implemented Interfaces:
AwsNodeConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class AwsNodeConfig extends com.google.protobuf.GeneratedMessageV3 implements AwsNodeConfigOrBuilder
Parameters that describe the nodes in a cluster.
Protobuf typegoogle.cloud.gkemulticloud.v1.AwsNodeConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AwsNodeConfig.Builder
Parameters that describe the nodes in a cluster.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AUTOSCALING_METRICS_COLLECTION_FIELD_NUMBER
static int
CONFIG_ENCRYPTION_FIELD_NUMBER
static int
IAM_INSTANCE_PROFILE_FIELD_NUMBER
static int
IMAGE_TYPE_FIELD_NUMBER
static int
INSTANCE_PLACEMENT_FIELD_NUMBER
static int
INSTANCE_TYPE_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
PROXY_CONFIG_FIELD_NUMBER
static int
ROOT_VOLUME_FIELD_NUMBER
static int
SECURITY_GROUP_IDS_FIELD_NUMBER
static int
SSH_CONFIG_FIELD_NUMBER
static int
TAGS_FIELD_NUMBER
static int
TAINTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional.boolean
containsTags(String key)
Optional.boolean
equals(Object obj)
AwsAutoscalingGroupMetricsCollection
getAutoscalingMetricsCollection()
Optional.AwsAutoscalingGroupMetricsCollectionOrBuilder
getAutoscalingMetricsCollectionOrBuilder()
Optional.AwsConfigEncryption
getConfigEncryption()
Required.AwsConfigEncryptionOrBuilder
getConfigEncryptionOrBuilder()
Required.static AwsNodeConfig
getDefaultInstance()
AwsNodeConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getIamInstanceProfile()
Required.com.google.protobuf.ByteString
getIamInstanceProfileBytes()
Required.String
getImageType()
Optional.com.google.protobuf.ByteString
getImageTypeBytes()
Optional.AwsInstancePlacement
getInstancePlacement()
Optional.AwsInstancePlacementOrBuilder
getInstancePlacementOrBuilder()
Optional.String
getInstanceType()
Optional.com.google.protobuf.ByteString
getInstanceTypeBytes()
Optional.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.com.google.protobuf.Parser<AwsNodeConfig>
getParserForType()
AwsProxyConfig
getProxyConfig()
Optional.AwsProxyConfigOrBuilder
getProxyConfigOrBuilder()
Optional.AwsVolumeTemplate
getRootVolume()
Optional.AwsVolumeTemplateOrBuilder
getRootVolumeOrBuilder()
Optional.String
getSecurityGroupIds(int index)
Optional.com.google.protobuf.ByteString
getSecurityGroupIdsBytes(int index)
Optional.int
getSecurityGroupIdsCount()
Optional.com.google.protobuf.ProtocolStringList
getSecurityGroupIdsList()
Optional.int
getSerializedSize()
AwsSshConfig
getSshConfig()
Optional.AwsSshConfigOrBuilder
getSshConfigOrBuilder()
Optional.Map<String,String>
getTags()
Deprecated.int
getTagsCount()
Optional.Map<String,String>
getTagsMap()
Optional.String
getTagsOrDefault(String key, String defaultValue)
Optional.String
getTagsOrThrow(String key)
Optional.NodeTaint
getTaints(int index)
Optional.int
getTaintsCount()
Optional.List<NodeTaint>
getTaintsList()
Optional.NodeTaintOrBuilder
getTaintsOrBuilder(int index)
Optional.List<? extends NodeTaintOrBuilder>
getTaintsOrBuilderList()
Optional.boolean
hasAutoscalingMetricsCollection()
Optional.boolean
hasConfigEncryption()
Required.int
hashCode()
boolean
hasInstancePlacement()
Optional.boolean
hasProxyConfig()
Optional.boolean
hasRootVolume()
Optional.boolean
hasSshConfig()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static AwsNodeConfig.Builder
newBuilder()
static AwsNodeConfig.Builder
newBuilder(AwsNodeConfig prototype)
AwsNodeConfig.Builder
newBuilderForType()
protected AwsNodeConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AwsNodeConfig
parseDelimitedFrom(InputStream input)
static AwsNodeConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AwsNodeConfig
parseFrom(byte[] data)
static AwsNodeConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AwsNodeConfig
parseFrom(com.google.protobuf.ByteString data)
static AwsNodeConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AwsNodeConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static AwsNodeConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AwsNodeConfig
parseFrom(InputStream input)
static AwsNodeConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AwsNodeConfig
parseFrom(ByteBuffer data)
static AwsNodeConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AwsNodeConfig>
parser()
AwsNodeConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INSTANCE_TYPE_FIELD_NUMBER
public static final int INSTANCE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROOT_VOLUME_FIELD_NUMBER
public static final int ROOT_VOLUME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAINTS_FIELD_NUMBER
public static final int TAINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IAM_INSTANCE_PROFILE_FIELD_NUMBER
public static final int IAM_INSTANCE_PROFILE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_TYPE_FIELD_NUMBER
public static final int IMAGE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SSH_CONFIG_FIELD_NUMBER
public static final int SSH_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURITY_GROUP_IDS_FIELD_NUMBER
public static final int SECURITY_GROUP_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROXY_CONFIG_FIELD_NUMBER
public static final int PROXY_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIG_ENCRYPTION_FIELD_NUMBER
public static final int CONFIG_ENCRYPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_PLACEMENT_FIELD_NUMBER
public static final int INSTANCE_PLACEMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOSCALING_METRICS_COLLECTION_FIELD_NUMBER
public static final int AUTOSCALING_METRICS_COLLECTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getInstanceType
public String getInstanceType()
Optional. The AWS instance type. When unspecified, it uses a default based on the node pool's version.
string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInstanceType
in interfaceAwsNodeConfigOrBuilder
- Returns:
- The instanceType.
-
getInstanceTypeBytes
public com.google.protobuf.ByteString getInstanceTypeBytes()
Optional. The AWS instance type. When unspecified, it uses a default based on the node pool's version.
string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInstanceTypeBytes
in interfaceAwsNodeConfigOrBuilder
- Returns:
- The bytes for instanceType.
-
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];
- Specified by:
hasRootVolume
in interfaceAwsNodeConfigOrBuilder
- Returns:
- Whether the rootVolume field is set.
-
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];
- Specified by:
getRootVolume
in interfaceAwsNodeConfigOrBuilder
- Returns:
- 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];
- Specified by:
getRootVolumeOrBuilder
in interfaceAwsNodeConfigOrBuilder
-
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];
- Specified by:
getTaintsList
in interfaceAwsNodeConfigOrBuilder
-
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];
- Specified by:
getTaintsOrBuilderList
in interfaceAwsNodeConfigOrBuilder
-
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];
- Specified by:
getTaintsCount
in interfaceAwsNodeConfigOrBuilder
-
getTaints
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];
- Specified by:
getTaints
in interfaceAwsNodeConfigOrBuilder
-
getTaintsOrBuilder
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];
- Specified by:
getTaintsOrBuilder
in interfaceAwsNodeConfigOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:AwsNodeConfigOrBuilder
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];
- Specified by:
getLabelsCount
in interfaceAwsNodeConfigOrBuilder
-
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 = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceAwsNodeConfigOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceAwsNodeConfigOrBuilder
-
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];
- Specified by:
getLabelsMap
in interfaceAwsNodeConfigOrBuilder
-
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 = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceAwsNodeConfigOrBuilder
-
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 = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceAwsNodeConfigOrBuilder
-
getTagsCount
public int getTagsCount()
Description copied from interface:AwsNodeConfigOrBuilder
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];
- Specified by:
getTagsCount
in interfaceAwsNodeConfigOrBuilder
-
containsTags
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];
- Specified by:
containsTags
in interfaceAwsNodeConfigOrBuilder
-
getTags
@Deprecated public Map<String,String> getTags()
Deprecated.UsegetTagsMap()
instead.- Specified by:
getTags
in interfaceAwsNodeConfigOrBuilder
-
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];
- Specified by:
getTagsMap
in interfaceAwsNodeConfigOrBuilder
-
getTagsOrDefault
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];
- Specified by:
getTagsOrDefault
in interfaceAwsNodeConfigOrBuilder
-
getTagsOrThrow
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];
- Specified by:
getTagsOrThrow
in interfaceAwsNodeConfigOrBuilder
-
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];
- Specified by:
getIamInstanceProfile
in interfaceAwsNodeConfigOrBuilder
- Returns:
- The iamInstanceProfile.
-
getIamInstanceProfileBytes
public com.google.protobuf.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];
- Specified by:
getIamInstanceProfileBytes
in interfaceAwsNodeConfigOrBuilder
- Returns:
- The bytes for iamInstanceProfile.
-
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 = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getImageType
in interfaceAwsNodeConfigOrBuilder
- 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 = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getImageTypeBytes
in interfaceAwsNodeConfigOrBuilder
- Returns:
- The bytes for imageType.
-
hasSshConfig
public boolean hasSshConfig()
Optional. The SSH configuration.
.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSshConfig
in interfaceAwsNodeConfigOrBuilder
- Returns:
- Whether the sshConfig field is set.
-
getSshConfig
public AwsSshConfig getSshConfig()
Optional. The SSH configuration.
.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSshConfig
in interfaceAwsNodeConfigOrBuilder
- Returns:
- The sshConfig.
-
getSshConfigOrBuilder
public AwsSshConfigOrBuilder getSshConfigOrBuilder()
Optional. The SSH configuration.
.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSshConfigOrBuilder
in interfaceAwsNodeConfigOrBuilder
-
getSecurityGroupIdsList
public com.google.protobuf.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];
- Specified by:
getSecurityGroupIdsList
in interfaceAwsNodeConfigOrBuilder
- Returns:
- A list containing the securityGroupIds.
-
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];
- Specified by:
getSecurityGroupIdsCount
in interfaceAwsNodeConfigOrBuilder
- Returns:
- The count of securityGroupIds.
-
getSecurityGroupIds
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];
- Specified by:
getSecurityGroupIds
in interfaceAwsNodeConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The securityGroupIds at the given index.
-
getSecurityGroupIdsBytes
public com.google.protobuf.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];
- Specified by:
getSecurityGroupIdsBytes
in interfaceAwsNodeConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the securityGroupIds at the given index.
-
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];
- Specified by:
hasProxyConfig
in interfaceAwsNodeConfigOrBuilder
- Returns:
- Whether the proxyConfig field is set.
-
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];
- Specified by:
getProxyConfig
in interfaceAwsNodeConfigOrBuilder
- Returns:
- 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];
- Specified by:
getProxyConfigOrBuilder
in interfaceAwsNodeConfigOrBuilder
-
hasConfigEncryption
public boolean hasConfigEncryption()
Required. Config encryption for user data.
.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasConfigEncryption
in interfaceAwsNodeConfigOrBuilder
- Returns:
- Whether the configEncryption field is set.
-
getConfigEncryption
public AwsConfigEncryption getConfigEncryption()
Required. Config encryption for user data.
.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getConfigEncryption
in interfaceAwsNodeConfigOrBuilder
- Returns:
- 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];
- Specified by:
getConfigEncryptionOrBuilder
in interfaceAwsNodeConfigOrBuilder
-
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];
- Specified by:
hasInstancePlacement
in interfaceAwsNodeConfigOrBuilder
- Returns:
- Whether the instancePlacement field is set.
-
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];
- Specified by:
getInstancePlacement
in interfaceAwsNodeConfigOrBuilder
- Returns:
- 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];
- Specified by:
getInstancePlacementOrBuilder
in interfaceAwsNodeConfigOrBuilder
-
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];
- Specified by:
hasAutoscalingMetricsCollection
in interfaceAwsNodeConfigOrBuilder
- Returns:
- Whether the autoscalingMetricsCollection field is set.
-
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];
- Specified by:
getAutoscalingMetricsCollection
in interfaceAwsNodeConfigOrBuilder
- Returns:
- 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];
- Specified by:
getAutoscalingMetricsCollectionOrBuilder
in interfaceAwsNodeConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AwsNodeConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodeConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodeConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodeConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodeConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodeConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AwsNodeConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AwsNodeConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AwsNodeConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AwsNodeConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AwsNodeConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AwsNodeConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AwsNodeConfig.Builder newBuilder()
-
newBuilder
public static AwsNodeConfig.Builder newBuilder(AwsNodeConfig prototype)
-
toBuilder
public AwsNodeConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AwsNodeConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AwsNodeConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AwsNodeConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<AwsNodeConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AwsNodeConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-