Class NodeConfigDefaults (2.49.0)

public final class NodeConfigDefaults extends GeneratedMessageV3 implements NodeConfigDefaultsOrBuilder

Subset of NodeConfig message that has defaults.

Protobuf type google.container.v1beta1.NodeConfigDefaults

Static Fields

CONTAINERD_CONFIG_FIELD_NUMBER

public static final int CONTAINERD_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GCFS_CONFIG_FIELD_NUMBER

public static final int GCFS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

HOST_MAINTENANCE_POLICY_FIELD_NUMBER

public static final int HOST_MAINTENANCE_POLICY_FIELD_NUMBER
Field Value
Type Description
int

LOGGING_CONFIG_FIELD_NUMBER

public static final int LOGGING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

NODE_KUBELET_CONFIG_FIELD_NUMBER

public static final int NODE_KUBELET_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NodeConfigDefaults getDefaultInstance()
Returns
Type Description
NodeConfigDefaults

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NodeConfigDefaults.Builder newBuilder()
Returns
Type Description
NodeConfigDefaults.Builder

newBuilder(NodeConfigDefaults prototype)

public static NodeConfigDefaults.Builder newBuilder(NodeConfigDefaults prototype)
Parameter
Name Description
prototype NodeConfigDefaults
Returns
Type Description
NodeConfigDefaults.Builder

parseDelimitedFrom(InputStream input)

public static NodeConfigDefaults parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeConfigDefaults parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NodeConfigDefaults parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodeConfigDefaults parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodeConfigDefaults parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodeConfigDefaults parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodeConfigDefaults parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeConfigDefaults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NodeConfigDefaults parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeConfigDefaults parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NodeConfigDefaults parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodeConfigDefaults parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeConfigDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NodeConfigDefaults> parser()
Returns
Type Description
Parser<NodeConfigDefaults>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContainerdConfig()

public ContainerdConfig getContainerdConfig()

Parameters for containerd customization.

.google.container.v1beta1.ContainerdConfig containerd_config = 4;

Returns
Type Description
ContainerdConfig

The containerdConfig.

getContainerdConfigOrBuilder()

public ContainerdConfigOrBuilder getContainerdConfigOrBuilder()

Parameters for containerd customization.

.google.container.v1beta1.ContainerdConfig containerd_config = 4;

Returns
Type Description
ContainerdConfigOrBuilder

getDefaultInstanceForType()

public NodeConfigDefaults getDefaultInstanceForType()
Returns
Type Description
NodeConfigDefaults

getGcfsConfig()

public GcfsConfig getGcfsConfig()

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1beta1.GcfsConfig gcfs_config = 1;

Returns
Type Description
GcfsConfig

The gcfsConfig.

getGcfsConfigOrBuilder()

public GcfsConfigOrBuilder getGcfsConfigOrBuilder()

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1beta1.GcfsConfig gcfs_config = 1;

Returns
Type Description
GcfsConfigOrBuilder

getHostMaintenancePolicy()

public HostMaintenancePolicy getHostMaintenancePolicy()

HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.

.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 5;

Returns
Type Description
HostMaintenancePolicy

The hostMaintenancePolicy.

getHostMaintenancePolicyOrBuilder()

public HostMaintenancePolicyOrBuilder getHostMaintenancePolicyOrBuilder()

HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.

.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 5;

Returns
Type Description
HostMaintenancePolicyOrBuilder

getLoggingConfig()

public NodePoolLoggingConfig getLoggingConfig()

Logging configuration for node pools.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 3;

Returns
Type Description
NodePoolLoggingConfig

The loggingConfig.

getLoggingConfigOrBuilder()

public NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder()

Logging configuration for node pools.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 3;

Returns
Type Description
NodePoolLoggingConfigOrBuilder

getNodeKubeletConfig()

public NodeKubeletConfig getNodeKubeletConfig()

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 6;

Returns
Type Description
NodeKubeletConfig

The nodeKubeletConfig.

getNodeKubeletConfigOrBuilder()

public NodeKubeletConfigOrBuilder getNodeKubeletConfigOrBuilder()

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 6;

Returns
Type Description
NodeKubeletConfigOrBuilder

getParserForType()

public Parser<NodeConfigDefaults> getParserForType()
Returns
Type Description
Parser<NodeConfigDefaults>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasContainerdConfig()

public boolean hasContainerdConfig()

Parameters for containerd customization.

.google.container.v1beta1.ContainerdConfig containerd_config = 4;

Returns
Type Description
boolean

Whether the containerdConfig field is set.

hasGcfsConfig()

public boolean hasGcfsConfig()

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1beta1.GcfsConfig gcfs_config = 1;

Returns
Type Description
boolean

Whether the gcfsConfig field is set.

hasHostMaintenancePolicy()

public boolean hasHostMaintenancePolicy()

HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.

.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 5;

Returns
Type Description
boolean

Whether the hostMaintenancePolicy field is set.

hasLoggingConfig()

public boolean hasLoggingConfig()

Logging configuration for node pools.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 3;

Returns
Type Description
boolean

Whether the loggingConfig field is set.

hasNodeKubeletConfig()

public boolean hasNodeKubeletConfig()

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 6;

Returns
Type Description
boolean

Whether the nodeKubeletConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NodeConfigDefaults.Builder newBuilderForType()
Returns
Type Description
NodeConfigDefaults.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodeConfigDefaults.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NodeConfigDefaults.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NodeConfigDefaults.Builder toBuilder()
Returns
Type Description
NodeConfigDefaults.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException