Class WindowsNodeConfig.Builder (2.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WindowsNodeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WindowsNodeConfig.Builder
Overrides

build()

public WindowsNodeConfig build()
Returns
TypeDescription
WindowsNodeConfig

buildPartial()

public WindowsNodeConfig buildPartial()
Returns
TypeDescription
WindowsNodeConfig

clear()

public WindowsNodeConfig.Builder clear()
Returns
TypeDescription
WindowsNodeConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WindowsNodeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WindowsNodeConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WindowsNodeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
WindowsNodeConfig.Builder

This builder for chaining.

clone()

public WindowsNodeConfig.Builder clone()
Returns
TypeDescription
WindowsNodeConfig.Builder
Overrides

getDefaultInstanceForType()

public WindowsNodeConfig getDefaultInstanceForType()
Returns
TypeDescription
WindowsNodeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for osVersion.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WindowsNodeConfig other)

public WindowsNodeConfig.Builder mergeFrom(WindowsNodeConfig other)
Parameter
NameDescription
otherWindowsNodeConfig
Returns
TypeDescription
WindowsNodeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WindowsNodeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsNodeConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WindowsNodeConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WindowsNodeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WindowsNodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WindowsNodeConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WindowsNodeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueWindowsNodeConfig.OSVersion

The osVersion to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WindowsNodeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WindowsNodeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WindowsNodeConfig.Builder
Overrides