Class WindowsVersions.WindowsVersion.Builder (2.50.0)

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

Windows server version.

Protobuf type google.container.v1beta1.WindowsVersions.WindowsVersion

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WindowsVersions.WindowsVersion build()
Returns
Type Description
WindowsVersions.WindowsVersion

buildPartial()

public WindowsVersions.WindowsVersion buildPartial()
Returns
Type Description
WindowsVersions.WindowsVersion

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImageType()

public WindowsVersions.WindowsVersion.Builder clearImageType()

Windows server image type

string image_type = 1;

Returns
Type Description
WindowsVersions.WindowsVersion.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOsVersion()

public WindowsVersions.WindowsVersion.Builder clearOsVersion()

Windows server build number

string os_version = 2;

Returns
Type Description
WindowsVersions.WindowsVersion.Builder

This builder for chaining.

clearSupportEndDate()

public WindowsVersions.WindowsVersion.Builder clearSupportEndDate()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
Type Description
WindowsVersions.WindowsVersion.Builder

clone()

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

getDefaultInstanceForType()

public WindowsVersions.WindowsVersion getDefaultInstanceForType()
Returns
Type Description
WindowsVersions.WindowsVersion

getDescriptorForType()

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

getImageType()

public String getImageType()

Windows server image type

string image_type = 1;

Returns
Type Description
String

The imageType.

getImageTypeBytes()

public ByteString getImageTypeBytes()

Windows server image type

string image_type = 1;

Returns
Type Description
ByteString

The bytes for imageType.

getOsVersion()

public String getOsVersion()

Windows server build number

string os_version = 2;

Returns
Type Description
String

The osVersion.

getOsVersionBytes()

public ByteString getOsVersionBytes()

Windows server build number

string os_version = 2;

Returns
Type Description
ByteString

The bytes for osVersion.

getSupportEndDate()

public Date getSupportEndDate()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
Type Description
com.google.type.Date

The supportEndDate.

getSupportEndDateBuilder()

public Date.Builder getSupportEndDateBuilder()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
Type Description
com.google.type.Date.Builder

getSupportEndDateOrBuilder()

public DateOrBuilder getSupportEndDateOrBuilder()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
Type Description
com.google.type.DateOrBuilder

hasSupportEndDate()

public boolean hasSupportEndDate()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
Type Description
boolean

Whether the supportEndDate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WindowsVersions.WindowsVersion other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSupportEndDate(Date value)

public WindowsVersions.WindowsVersion.Builder mergeSupportEndDate(Date value)

Mainstream support end date

.google.type.Date support_end_date = 3;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
WindowsVersions.WindowsVersion.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageType(String value)

public WindowsVersions.WindowsVersion.Builder setImageType(String value)

Windows server image type

string image_type = 1;

Parameter
Name Description
value String

The imageType to set.

Returns
Type Description
WindowsVersions.WindowsVersion.Builder

This builder for chaining.

setImageTypeBytes(ByteString value)

public WindowsVersions.WindowsVersion.Builder setImageTypeBytes(ByteString value)

Windows server image type

string image_type = 1;

Parameter
Name Description
value ByteString

The bytes for imageType to set.

Returns
Type Description
WindowsVersions.WindowsVersion.Builder

This builder for chaining.

setOsVersion(String value)

public WindowsVersions.WindowsVersion.Builder setOsVersion(String value)

Windows server build number

string os_version = 2;

Parameter
Name Description
value String

The osVersion to set.

Returns
Type Description
WindowsVersions.WindowsVersion.Builder

This builder for chaining.

setOsVersionBytes(ByteString value)

public WindowsVersions.WindowsVersion.Builder setOsVersionBytes(ByteString value)

Windows server build number

string os_version = 2;

Parameter
Name Description
value ByteString

The bytes for osVersion to set.

Returns
Type Description
WindowsVersions.WindowsVersion.Builder

This builder for chaining.

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

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

setSupportEndDate(Date value)

public WindowsVersions.WindowsVersion.Builder setSupportEndDate(Date value)

Mainstream support end date

.google.type.Date support_end_date = 3;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
WindowsVersions.WindowsVersion.Builder

setSupportEndDate(Date.Builder builderForValue)

public WindowsVersions.WindowsVersion.Builder setSupportEndDate(Date.Builder builderForValue)

Mainstream support end date

.google.type.Date support_end_date = 3;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
WindowsVersions.WindowsVersion.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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