Class WindowsVersions.Builder (2.9.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.container.v1beta1.WindowsVersions.WindowsVersion>
Returns
TypeDescription
WindowsVersions.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WindowsVersions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueWindowsVersions.WindowsVersion
Returns
TypeDescription
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
NameDescription
builderForValueWindowsVersions.WindowsVersion.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWindowsVersions.WindowsVersion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWindowsVersions.WindowsVersion.Builder
Returns
TypeDescription
WindowsVersions.Builder

addWindowsVersionsBuilder()

public WindowsVersions.WindowsVersion.Builder addWindowsVersionsBuilder()

List of Windows server versions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WindowsVersions.WindowsVersion.Builder

build()

public WindowsVersions build()
Returns
TypeDescription
WindowsVersions

buildPartial()

public WindowsVersions buildPartial()
Returns
TypeDescription
WindowsVersions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public WindowsVersions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
WindowsVersions.Builder
Overrides

clearWindowsVersions()

public WindowsVersions.Builder clearWindowsVersions()

List of Windows server versions.

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

Returns
TypeDescription
WindowsVersions.Builder

clone()

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

getDefaultInstanceForType()

public WindowsVersions getDefaultInstanceForType()
Returns
TypeDescription
WindowsVersions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getWindowsVersionsCount()

public int getWindowsVersionsCount()

List of Windows server versions.

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

Returns
TypeDescription
int

getWindowsVersionsList()

public List<WindowsVersions.WindowsVersion> getWindowsVersionsList()

List of Windows server versions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WindowsVersions.WindowsVersionOrBuilder

getWindowsVersionsOrBuilderList()

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

List of Windows server versions.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WindowsVersions other)

public WindowsVersions.Builder mergeFrom(WindowsVersions other)
Parameter
NameDescription
otherWindowsVersions
Returns
TypeDescription
WindowsVersions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WindowsVersions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WindowsVersions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public WindowsVersions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WindowsVersions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WindowsVersions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueWindowsVersions.WindowsVersion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWindowsVersions.WindowsVersion.Builder
Returns
TypeDescription
WindowsVersions.Builder