Class WindowsNodeConfig.Builder (2.45.0)

public static final class WindowsNodeConfig.Builder extends GeneratedMessageV3.Builder<WindowsNodeConfig.Builder> implements WindowsNodeConfigOrBuilder

Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings

Protobuf type google.container.v1.WindowsNodeConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WindowsNodeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WindowsNodeConfig.Builder
Overrides

build()

public WindowsNodeConfig build()
Returns
Type Description
WindowsNodeConfig

buildPartial()

public WindowsNodeConfig buildPartial()
Returns
Type Description
WindowsNodeConfig

clear()

public WindowsNodeConfig.Builder clear()
Returns
Type Description
WindowsNodeConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WindowsNodeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WindowsNodeConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WindowsNodeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WindowsNodeConfig.Builder
Overrides

clearOsVersion()

public WindowsNodeConfig.Builder clearOsVersion()

OSVersion specifies the Windows node config to be used on the node

.google.container.v1.WindowsNodeConfig.OSVersion os_version = 1;

Returns
Type Description
WindowsNodeConfig.Builder

This builder for chaining.

clone()

public WindowsNodeConfig.Builder clone()
Returns
Type Description
WindowsNodeConfig.Builder
Overrides

getDefaultInstanceForType()

public WindowsNodeConfig getDefaultInstanceForType()
Returns
Type Description
WindowsNodeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOsVersion()

public WindowsNodeConfig.OSVersion getOsVersion()

OSVersion specifies the Windows node config to be used on the node

.google.container.v1.WindowsNodeConfig.OSVersion os_version = 1;

Returns
Type Description
WindowsNodeConfig.OSVersion

The osVersion.

getOsVersionValue()

public int getOsVersionValue()

OSVersion specifies the Windows node config to be used on the node

.google.container.v1.WindowsNodeConfig.OSVersion os_version = 1;

Returns
Type Description
int

The enum numeric value on the wire for osVersion.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WindowsNodeConfig other)

public WindowsNodeConfig.Builder mergeFrom(WindowsNodeConfig other)
Parameter
Name Description
other WindowsNodeConfig
Returns
Type Description
WindowsNodeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WindowsNodeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsNodeConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WindowsNodeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WindowsNodeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WindowsNodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WindowsNodeConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WindowsNodeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WindowsNodeConfig.Builder
Overrides

setOsVersion(WindowsNodeConfig.OSVersion value)

public WindowsNodeConfig.Builder setOsVersion(WindowsNodeConfig.OSVersion value)

OSVersion specifies the Windows node config to be used on the node

.google.container.v1.WindowsNodeConfig.OSVersion os_version = 1;

Parameter
Name Description
value WindowsNodeConfig.OSVersion

The osVersion to set.

Returns
Type Description
WindowsNodeConfig.Builder

This builder for chaining.

setOsVersionValue(int value)

public WindowsNodeConfig.Builder setOsVersionValue(int value)

OSVersion specifies the Windows node config to be used on the node

.google.container.v1.WindowsNodeConfig.OSVersion os_version = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for osVersion to set.

Returns
Type Description
WindowsNodeConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WindowsNodeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WindowsNodeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WindowsNodeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WindowsNodeConfig.Builder
Overrides