Class AzureK8sVersionInfo (0.52.0)

public final class AzureK8sVersionInfo extends GeneratedMessageV3 implements AzureK8sVersionInfoOrBuilder

Kubernetes version information of GKE cluster on Azure.

Protobuf type google.cloud.gkemulticloud.v1.AzureK8sVersionInfo

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
Type Description
int

END_OF_LIFE_DATE_FIELD_NUMBER

public static final int END_OF_LIFE_DATE_FIELD_NUMBER
Field Value
Type Description
int

END_OF_LIFE_FIELD_NUMBER

public static final int END_OF_LIFE_FIELD_NUMBER
Field Value
Type Description
int

RELEASE_DATE_FIELD_NUMBER

public static final int RELEASE_DATE_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AzureK8sVersionInfo getDefaultInstance()
Returns
Type Description
AzureK8sVersionInfo

getDescriptor()

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

newBuilder()

public static AzureK8sVersionInfo.Builder newBuilder()
Returns
Type Description
AzureK8sVersionInfo.Builder

newBuilder(AzureK8sVersionInfo prototype)

public static AzureK8sVersionInfo.Builder newBuilder(AzureK8sVersionInfo prototype)
Parameter
Name Description
prototype AzureK8sVersionInfo
Returns
Type Description
AzureK8sVersionInfo.Builder

parseDelimitedFrom(InputStream input)

public static AzureK8sVersionInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureK8sVersionInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AzureK8sVersionInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AzureK8sVersionInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AzureK8sVersionInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AzureK8sVersionInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AzureK8sVersionInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureK8sVersionInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AzureK8sVersionInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureK8sVersionInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AzureK8sVersionInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AzureK8sVersionInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureK8sVersionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AzureK8sVersionInfo> parser()
Returns
Type Description
Parser<AzureK8sVersionInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AzureK8sVersionInfo getDefaultInstanceForType()
Returns
Type Description
AzureK8sVersionInfo

getEnabled()

public boolean getEnabled()

Optional. True if the version is available for cluster creation. If a version is enabled for creation, it can be used to create new clusters. Otherwise, cluster creation will fail. However, cluster upgrade operations may succeed, even if the version is not enabled.

bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enabled.

getEndOfLife()

public boolean getEndOfLife()

Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.

bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The endOfLife.

getEndOfLifeDate()

public Date getEndOfLifeDate()

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date

The endOfLifeDate.

getEndOfLifeDateOrBuilder()

public DateOrBuilder getEndOfLifeDateOrBuilder()

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.DateOrBuilder

getParserForType()

public Parser<AzureK8sVersionInfo> getParserForType()
Returns
Type Description
Parser<AzureK8sVersionInfo>
Overrides

getReleaseDate()

public Date getReleaseDate()

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date

The releaseDate.

getReleaseDateOrBuilder()

public DateOrBuilder getReleaseDateOrBuilder()

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.DateOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public String getVersion()

Kubernetes version name (for example, 1.19.10-gke.1000)

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Kubernetes version name (for example, 1.19.10-gke.1000)

string version = 1;

Returns
Type Description
ByteString

The bytes for version.

hasEndOfLifeDate()

public boolean hasEndOfLifeDate()

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the endOfLifeDate field is set.

hasReleaseDate()

public boolean hasReleaseDate()

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the releaseDate field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AzureK8sVersionInfo.Builder newBuilderForType()
Returns
Type Description
AzureK8sVersionInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AzureK8sVersionInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AzureK8sVersionInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AzureK8sVersionInfo.Builder toBuilder()
Returns
Type Description
AzureK8sVersionInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException