Class NodePoolAutoConfig (2.36.0)

public final class NodePoolAutoConfig extends GeneratedMessageV3 implements NodePoolAutoConfigOrBuilder

Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

Protobuf type google.container.v1.NodePoolAutoConfig

Static Fields

NETWORK_TAGS_FIELD_NUMBER

public static final int NETWORK_TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_MANAGER_TAGS_FIELD_NUMBER

public static final int RESOURCE_MANAGER_TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodePoolAutoConfig getDefaultInstance()
Returns
TypeDescription
NodePoolAutoConfig

getDescriptor()

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

newBuilder()

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

newBuilder(NodePoolAutoConfig prototype)

public static NodePoolAutoConfig.Builder newBuilder(NodePoolAutoConfig prototype)
Parameter
NameDescription
prototypeNodePoolAutoConfig
Returns
TypeDescription
NodePoolAutoConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NodePoolAutoConfig getDefaultInstanceForType()
Returns
TypeDescription
NodePoolAutoConfig

getNetworkTags()

public NetworkTags getNetworkTags()

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1.NetworkTags network_tags = 1;

Returns
TypeDescription
NetworkTags

The networkTags.

getNetworkTagsOrBuilder()

public NetworkTagsOrBuilder getNetworkTagsOrBuilder()

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1.NetworkTags network_tags = 1;

Returns
TypeDescription
NetworkTagsOrBuilder

getParserForType()

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

getResourceManagerTags()

public ResourceManagerTags getResourceManagerTags()

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1.ResourceManagerTags resource_manager_tags = 2;

Returns
TypeDescription
ResourceManagerTags

The resourceManagerTags.

getResourceManagerTagsOrBuilder()

public ResourceManagerTagsOrBuilder getResourceManagerTagsOrBuilder()

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1.ResourceManagerTags resource_manager_tags = 2;

Returns
TypeDescription
ResourceManagerTagsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasNetworkTags()

public boolean hasNetworkTags()

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1.NetworkTags network_tags = 1;

Returns
TypeDescription
boolean

Whether the networkTags field is set.

hasResourceManagerTags()

public boolean hasResourceManagerTags()

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1.ResourceManagerTags resource_manager_tags = 2;

Returns
TypeDescription
boolean

Whether the resourceManagerTags field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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