Class AwsK8sVersionInfo (0.41.0)

public final class AwsK8sVersionInfo extends GeneratedMessageV3 implements AwsK8sVersionInfoOrBuilder

Kubernetes version information of GKE cluster on AWS.

Protobuf type google.cloud.gkemulticloud.v1.AwsK8sVersionInfo

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 AwsK8sVersionInfo getDefaultInstance()
Returns
Type Description
AwsK8sVersionInfo

getDescriptor()

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

newBuilder()

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

newBuilder(AwsK8sVersionInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AwsK8sVersionInfo getDefaultInstanceForType()
Returns
Type Description
AwsK8sVersionInfo

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<AwsK8sVersionInfo> getParserForType()
Returns
Type Description
Parser<AwsK8sVersionInfo>
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.

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Kubernetes version name.

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 AwsK8sVersionInfo.Builder newBuilderForType()
Returns
Type Description
AwsK8sVersionInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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