public final class AzureK8sVersionInfo extends GeneratedMessageV3 implements AzureK8sVersionInfoOrBuilder
Kubernetes version information of GKE cluster on Azure.
Protobuf type google.cloud.gkemulticloud.v1.AzureK8sVersionInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AzureK8sVersionInfo.Builder newBuilder()
newBuilder(AzureK8sVersionInfo prototype)
public static AzureK8sVersionInfo.Builder newBuilder(AzureK8sVersionInfo prototype)
public static AzureK8sVersionInfo parseDelimitedFrom(InputStream input)
public static AzureK8sVersionInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AzureK8sVersionInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AzureK8sVersionInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AzureK8sVersionInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureK8sVersionInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureK8sVersionInfo parseFrom(CodedInputStream input)
public static AzureK8sVersionInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AzureK8sVersionInfo parseFrom(InputStream input)
public static AzureK8sVersionInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AzureK8sVersionInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AzureK8sVersionInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AzureK8sVersionInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AzureK8sVersionInfo getDefaultInstanceForType()
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AzureK8sVersionInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AzureK8sVersionInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AzureK8sVersionInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides