Class AttachedPlatformVersionInfo (0.84.0)

public final class AttachedPlatformVersionInfo extends GeneratedMessage implements AttachedPlatformVersionInfoOrBuilder

Information about a supported Attached Clusters platform version.

Protobuf type google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo

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

getDescriptor()

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

newBuilder()

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

newBuilder(AttachedPlatformVersionInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AttachedPlatformVersionInfo getDefaultInstanceForType()
Returns
Type Description
AttachedPlatformVersionInfo

getEnabled()

public boolean getEnabled()

Optional. True if the version is available for attachedcluster creation. If a version is enabled, it can be used to attach new clusters.

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

Platform version name.

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Platform 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AttachedPlatformVersionInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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