Class WindowsVersions.WindowsVersion (2.5.1)

public static final class WindowsVersions.WindowsVersion extends GeneratedMessageV3 implements WindowsVersions.WindowsVersionOrBuilder

Windows server version.

Protobuf type google.container.v1beta1.WindowsVersions.WindowsVersion

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WindowsVersions.WindowsVersion

Static Fields

IMAGE_TYPE_FIELD_NUMBER

public static final int IMAGE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

OS_VERSION_FIELD_NUMBER

public static final int OS_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORT_END_DATE_FIELD_NUMBER

public static final int SUPPORT_END_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WindowsVersions.WindowsVersion getDefaultInstance()
Returns
TypeDescription
WindowsVersions.WindowsVersion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WindowsVersions.WindowsVersion.Builder newBuilder()
Returns
TypeDescription
WindowsVersions.WindowsVersion.Builder

newBuilder(WindowsVersions.WindowsVersion prototype)

public static WindowsVersions.WindowsVersion.Builder newBuilder(WindowsVersions.WindowsVersion prototype)
Parameter
NameDescription
prototypeWindowsVersions.WindowsVersion
Returns
TypeDescription
WindowsVersions.WindowsVersion.Builder

parseDelimitedFrom(InputStream input)

public static WindowsVersions.WindowsVersion parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsVersions.WindowsVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WindowsVersions.WindowsVersion parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WindowsVersions.WindowsVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WindowsVersions.WindowsVersion parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WindowsVersions.WindowsVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WindowsVersions.WindowsVersion parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsVersions.WindowsVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WindowsVersions.WindowsVersion parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsVersions.WindowsVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WindowsVersions.WindowsVersion parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WindowsVersions.WindowsVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsVersions.WindowsVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WindowsVersions.WindowsVersion> parser()
Returns
TypeDescription
Parser<WindowsVersion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<WindowsVersions.WindowsVersion> getParserForType()
Returns
TypeDescription
Parser<WindowsVersion>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSupportEndDate()

public Date getSupportEndDate()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
TypeDescription
com.google.type.Date

The supportEndDate.

getSupportEndDateOrBuilder()

public DateOrBuilder getSupportEndDateOrBuilder()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
TypeDescription
com.google.type.DateOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasSupportEndDate()

public boolean hasSupportEndDate()

Mainstream support end date

.google.type.Date support_end_date = 3;

Returns
TypeDescription
boolean

Whether the supportEndDate field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WindowsVersions.WindowsVersion.Builder newBuilderForType()
Returns
TypeDescription
WindowsVersions.WindowsVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WindowsVersions.WindowsVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WindowsVersions.WindowsVersion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WindowsVersions.WindowsVersion.Builder toBuilder()
Returns
TypeDescription
WindowsVersions.WindowsVersion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException