Class WindowsVersions.Builder (2.45.0)

public static final class WindowsVersions.Builder extends GeneratedMessageV3.Builder<WindowsVersions.Builder> implements WindowsVersionsOrBuilder

Windows server versions.

Protobuf type google.container.v1beta1.WindowsVersions

Static Methods

getDescriptor()

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

Methods

addAllWindowsVersions(Iterable<? extends WindowsVersions.WindowsVersion> values)

public WindowsVersions.Builder addAllWindowsVersions(Iterable<? extends WindowsVersions.WindowsVersion> values)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameter
Name Description
values Iterable<? extends com.google.container.v1beta1.WindowsVersions.WindowsVersion>
Returns
Type Description
WindowsVersions.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addWindowsVersions(WindowsVersions.WindowsVersion value)

public WindowsVersions.Builder addWindowsVersions(WindowsVersions.WindowsVersion value)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameter
Name Description
value WindowsVersions.WindowsVersion
Returns
Type Description
WindowsVersions.Builder

addWindowsVersions(WindowsVersions.WindowsVersion.Builder builderForValue)

public WindowsVersions.Builder addWindowsVersions(WindowsVersions.WindowsVersion.Builder builderForValue)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameter
Name Description
builderForValue WindowsVersions.WindowsVersion.Builder
Returns
Type Description
WindowsVersions.Builder

addWindowsVersions(int index, WindowsVersions.WindowsVersion value)

public WindowsVersions.Builder addWindowsVersions(int index, WindowsVersions.WindowsVersion value)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameters
Name Description
index int
value WindowsVersions.WindowsVersion
Returns
Type Description
WindowsVersions.Builder

addWindowsVersions(int index, WindowsVersions.WindowsVersion.Builder builderForValue)

public WindowsVersions.Builder addWindowsVersions(int index, WindowsVersions.WindowsVersion.Builder builderForValue)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameters
Name Description
index int
builderForValue WindowsVersions.WindowsVersion.Builder
Returns
Type Description
WindowsVersions.Builder

addWindowsVersionsBuilder()

public WindowsVersions.WindowsVersion.Builder addWindowsVersionsBuilder()

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Returns
Type Description
WindowsVersions.WindowsVersion.Builder

addWindowsVersionsBuilder(int index)

public WindowsVersions.WindowsVersion.Builder addWindowsVersionsBuilder(int index)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
WindowsVersions.WindowsVersion.Builder

build()

public WindowsVersions build()
Returns
Type Description
WindowsVersions

buildPartial()

public WindowsVersions buildPartial()
Returns
Type Description
WindowsVersions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWindowsVersions()

public WindowsVersions.Builder clearWindowsVersions()

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Returns
Type Description
WindowsVersions.Builder

clone()

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

getDefaultInstanceForType()

public WindowsVersions getDefaultInstanceForType()
Returns
Type Description
WindowsVersions

getDescriptorForType()

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

getWindowsVersions(int index)

public WindowsVersions.WindowsVersion getWindowsVersions(int index)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
WindowsVersions.WindowsVersion

getWindowsVersionsBuilder(int index)

public WindowsVersions.WindowsVersion.Builder getWindowsVersionsBuilder(int index)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
WindowsVersions.WindowsVersion.Builder

getWindowsVersionsBuilderList()

public List<WindowsVersions.WindowsVersion.Builder> getWindowsVersionsBuilderList()

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Returns
Type Description
List<Builder>

getWindowsVersionsCount()

public int getWindowsVersionsCount()

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Returns
Type Description
int

getWindowsVersionsList()

public List<WindowsVersions.WindowsVersion> getWindowsVersionsList()

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Returns
Type Description
List<WindowsVersion>

getWindowsVersionsOrBuilder(int index)

public WindowsVersions.WindowsVersionOrBuilder getWindowsVersionsOrBuilder(int index)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
WindowsVersions.WindowsVersionOrBuilder

getWindowsVersionsOrBuilderList()

public List<? extends WindowsVersions.WindowsVersionOrBuilder> getWindowsVersionsOrBuilderList()

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Returns
Type Description
List<? extends com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WindowsVersions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeWindowsVersions(int index)

public WindowsVersions.Builder removeWindowsVersions(int index)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
WindowsVersions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWindowsVersions(int index, WindowsVersions.WindowsVersion value)

public WindowsVersions.Builder setWindowsVersions(int index, WindowsVersions.WindowsVersion value)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameters
Name Description
index int
value WindowsVersions.WindowsVersion
Returns
Type Description
WindowsVersions.Builder

setWindowsVersions(int index, WindowsVersions.WindowsVersion.Builder builderForValue)

public WindowsVersions.Builder setWindowsVersions(int index, WindowsVersions.WindowsVersion.Builder builderForValue)

List of Windows server versions.

repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1;

Parameters
Name Description
index int
builderForValue WindowsVersions.WindowsVersion.Builder
Returns
Type Description
WindowsVersions.Builder