Class NodePoolDefaults (2.23.0)

public final class NodePoolDefaults extends GeneratedMessageV3 implements NodePoolDefaultsOrBuilder

Subset of Nodepool message that has defaults.

Protobuf type google.container.v1.NodePoolDefaults

Static Fields

NODE_CONFIG_DEFAULTS_FIELD_NUMBER

public static final int NODE_CONFIG_DEFAULTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodePoolDefaults getDefaultInstance()
Returns
TypeDescription
NodePoolDefaults

getDescriptor()

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

newBuilder()

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

newBuilder(NodePoolDefaults prototype)

public static NodePoolDefaults.Builder newBuilder(NodePoolDefaults prototype)
Parameter
NameDescription
prototypeNodePoolDefaults
Returns
TypeDescription
NodePoolDefaults.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NodePoolDefaults getDefaultInstanceForType()
Returns
TypeDescription
NodePoolDefaults

getNodeConfigDefaults()

public NodeConfigDefaults getNodeConfigDefaults()

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Returns
TypeDescription
NodeConfigDefaults

The nodeConfigDefaults.

getNodeConfigDefaultsOrBuilder()

public NodeConfigDefaultsOrBuilder getNodeConfigDefaultsOrBuilder()

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Returns
TypeDescription
NodeConfigDefaultsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasNodeConfigDefaults()

public boolean hasNodeConfigDefaults()

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Returns
TypeDescription
boolean

Whether the nodeConfigDefaults 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 NodePoolDefaults.Builder newBuilderForType()
Returns
TypeDescription
NodePoolDefaults.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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