Class WindowsVersions.WindowsVersion.Builder (2.3.6)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WindowsVersions.WindowsVersion build()
Returns
TypeDescription
WindowsVersions.WindowsVersion

buildPartial()

public WindowsVersions.WindowsVersion buildPartial()
Returns
TypeDescription
WindowsVersions.WindowsVersion

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImageType()

public WindowsVersions.WindowsVersion.Builder clearImageType()

Windows server image type

string image_type = 1;

Returns
TypeDescription
WindowsVersions.WindowsVersion.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOsVersion()

public WindowsVersions.WindowsVersion.Builder clearOsVersion()

Windows server build number

string os_version = 2;

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

clone()

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

getDefaultInstanceForType()

public WindowsVersions.WindowsVersion getDefaultInstanceForType()
Returns
TypeDescription
WindowsVersions.WindowsVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImageType()

public String getImageType()

Windows server image type

string image_type = 1;

Returns
TypeDescription
String

The imageType.

getImageTypeBytes()

public ByteString getImageTypeBytes()

Windows server image type

string image_type = 1;

Returns
TypeDescription
ByteString

The bytes for imageType.

getOsVersion()

public String getOsVersion()

Windows server build number

string os_version = 2;

Returns
TypeDescription
String

The osVersion.

getOsVersionBytes()

public ByteString getOsVersionBytes()

Windows server build number

string os_version = 2;

Returns
TypeDescription
ByteString

The bytes for osVersion.

getSupportEndDate()

public Date getSupportEndDate()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
TypeDescription
com.google.type.Date

The supportEndDate.

getSupportEndDateBuilder()

public Date.Builder getSupportEndDateBuilder()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
TypeDescription
com.google.type.Date.Builder

getSupportEndDateOrBuilder()

public DateOrBuilder getSupportEndDateOrBuilder()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
TypeDescription
com.google.type.DateOrBuilder

hasSupportEndDate()

public boolean hasSupportEndDate()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
TypeDescription
boolean

Whether the supportEndDate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WindowsVersions.WindowsVersion other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WindowsVersions.WindowsVersion.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
WindowsVersions.WindowsVersion.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageType(String value)

public WindowsVersions.WindowsVersion.Builder setImageType(String value)

Windows server image type

string image_type = 1;

Parameter
NameDescription
valueString

The imageType to set.

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

The bytes for imageType to set.

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

The osVersion to set.

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

The bytes for osVersion to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
WindowsVersions.WindowsVersion.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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