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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WindowsVersions.WindowsVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WindowsVersions.WindowsVersion build()
Returns
buildPartial()
public WindowsVersions.WindowsVersion buildPartial()
Returns
clear()
public WindowsVersions.WindowsVersion.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WindowsVersions.WindowsVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearImageType()
public WindowsVersions.WindowsVersion.Builder clearImageType()
Windows server image type
string image_type = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public WindowsVersions.WindowsVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOsVersion()
public WindowsVersions.WindowsVersion.Builder clearOsVersion()
Windows server build number
string os_version = 2;
Returns
clearSupportEndDate()
public WindowsVersions.WindowsVersion.Builder clearSupportEndDate()
Mainstream support end date
.google.type.Date support_end_date = 3;
Returns
clone()
public WindowsVersions.WindowsVersion.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WindowsVersions.WindowsVersion getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WindowsVersions.WindowsVersion other)
public WindowsVersions.WindowsVersion.Builder mergeFrom(WindowsVersions.WindowsVersion other)
Parameter
Returns
public WindowsVersions.WindowsVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WindowsVersions.WindowsVersion.Builder mergeFrom(Message other)
Parameter
Returns
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WindowsVersions.WindowsVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WindowsVersions.WindowsVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WindowsVersions.WindowsVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final WindowsVersions.WindowsVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides