public final class ClusterUpgradeInfo extends GeneratedMessageV3 implements ClusterUpgradeInfoOrBuilder
ClusterUpgradeInfo contains the upgrade information of a cluster.
Protobuf type google.container.v1.ClusterUpgradeInfo
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
AUTO_UPGRADE_STATUS_FIELD_NUMBER
public static final int AUTO_UPGRADE_STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
END_OF_EXTENDED_SUPPORT_TIMESTAMP_FIELD_NUMBER
public static final int END_OF_EXTENDED_SUPPORT_TIMESTAMP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
END_OF_STANDARD_SUPPORT_TIMESTAMP_FIELD_NUMBER
public static final int END_OF_STANDARD_SUPPORT_TIMESTAMP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MINOR_TARGET_VERSION_FIELD_NUMBER
public static final int MINOR_TARGET_VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PATCH_TARGET_VERSION_FIELD_NUMBER
public static final int PATCH_TARGET_VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PAUSED_REASON_FIELD_NUMBER
public static final int PAUSED_REASON_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPGRADE_DETAILS_FIELD_NUMBER
public static final int UPGRADE_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ClusterUpgradeInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ClusterUpgradeInfo.Builder newBuilder()
newBuilder(ClusterUpgradeInfo prototype)
public static ClusterUpgradeInfo.Builder newBuilder(ClusterUpgradeInfo prototype)
public static ClusterUpgradeInfo parseDelimitedFrom(InputStream input)
public static ClusterUpgradeInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ClusterUpgradeInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClusterUpgradeInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ClusterUpgradeInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterUpgradeInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterUpgradeInfo parseFrom(CodedInputStream input)
public static ClusterUpgradeInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClusterUpgradeInfo parseFrom(InputStream input)
public static ClusterUpgradeInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ClusterUpgradeInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClusterUpgradeInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ClusterUpgradeInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAutoUpgradeStatus(int index)
public ClusterUpgradeInfo.AutoUpgradeStatus getAutoUpgradeStatus(int index)
The auto upgrade status.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
getAutoUpgradeStatusCount()
public int getAutoUpgradeStatusCount()
The auto upgrade status.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;
Returns |
Type |
Description |
int |
The count of autoUpgradeStatus.
|
getAutoUpgradeStatusList()
public List<ClusterUpgradeInfo.AutoUpgradeStatus> getAutoUpgradeStatusList()
The auto upgrade status.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;
getAutoUpgradeStatusValue(int index)
public int getAutoUpgradeStatusValue(int index)
The auto upgrade status.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
int |
The enum numeric value on the wire of autoUpgradeStatus at the given index.
|
getAutoUpgradeStatusValueList()
public List<Integer> getAutoUpgradeStatusValueList()
The auto upgrade status.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradeStatus auto_upgrade_status = 2;
Returns |
Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for autoUpgradeStatus.
|
getDefaultInstanceForType()
public ClusterUpgradeInfo getDefaultInstanceForType()
getEndOfExtendedSupportTimestamp()
public String getEndOfExtendedSupportTimestamp()
The cluster's current minor version's end of extended support timestamp.
optional string end_of_extended_support_timestamp = 6;
Returns |
Type |
Description |
String |
The endOfExtendedSupportTimestamp.
|
getEndOfExtendedSupportTimestampBytes()
public ByteString getEndOfExtendedSupportTimestampBytes()
The cluster's current minor version's end of extended support timestamp.
optional string end_of_extended_support_timestamp = 6;
Returns |
Type |
Description |
ByteString |
The bytes for endOfExtendedSupportTimestamp.
|
getEndOfStandardSupportTimestamp()
public String getEndOfStandardSupportTimestamp()
The cluster's current minor version's end of standard support timestamp.
optional string end_of_standard_support_timestamp = 5;
Returns |
Type |
Description |
String |
The endOfStandardSupportTimestamp.
|
getEndOfStandardSupportTimestampBytes()
public ByteString getEndOfStandardSupportTimestampBytes()
The cluster's current minor version's end of standard support timestamp.
optional string end_of_standard_support_timestamp = 5;
Returns |
Type |
Description |
ByteString |
The bytes for endOfStandardSupportTimestamp.
|
getMinorTargetVersion()
public String getMinorTargetVersion()
minor_target_version indicates the target version for minor upgrade.
optional string minor_target_version = 7;
Returns |
Type |
Description |
String |
The minorTargetVersion.
|
getMinorTargetVersionBytes()
public ByteString getMinorTargetVersionBytes()
minor_target_version indicates the target version for minor upgrade.
optional string minor_target_version = 7;
Returns |
Type |
Description |
ByteString |
The bytes for minorTargetVersion.
|
getParserForType()
public Parser<ClusterUpgradeInfo> getParserForType()
Overrides
getPatchTargetVersion()
public String getPatchTargetVersion()
patch_target_version indicates the target version for patch upgrade.
optional string patch_target_version = 8;
Returns |
Type |
Description |
String |
The patchTargetVersion.
|
getPatchTargetVersionBytes()
public ByteString getPatchTargetVersionBytes()
patch_target_version indicates the target version for patch upgrade.
optional string patch_target_version = 8;
Returns |
Type |
Description |
ByteString |
The bytes for patchTargetVersion.
|
getPausedReason(int index)
public ClusterUpgradeInfo.AutoUpgradePausedReason getPausedReason(int index)
The auto upgrade paused reason.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
getPausedReasonCount()
public int getPausedReasonCount()
The auto upgrade paused reason.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;
Returns |
Type |
Description |
int |
The count of pausedReason.
|
getPausedReasonList()
public List<ClusterUpgradeInfo.AutoUpgradePausedReason> getPausedReasonList()
The auto upgrade paused reason.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;
getPausedReasonValue(int index)
public int getPausedReasonValue(int index)
The auto upgrade paused reason.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
int |
The enum numeric value on the wire of pausedReason at the given index.
|
getPausedReasonValueList()
public List<Integer> getPausedReasonValueList()
The auto upgrade paused reason.
repeated .google.container.v1.ClusterUpgradeInfo.AutoUpgradePausedReason paused_reason = 3;
Returns |
Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for pausedReason.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUpgradeDetails(int index)
public UpgradeDetails getUpgradeDetails(int index)
The list of past auto upgrades.
repeated .google.container.v1.UpgradeDetails upgrade_details = 4;
Parameter |
Name |
Description |
index |
int
|
getUpgradeDetailsCount()
public int getUpgradeDetailsCount()
The list of past auto upgrades.
repeated .google.container.v1.UpgradeDetails upgrade_details = 4;
Returns |
Type |
Description |
int |
|
getUpgradeDetailsList()
public List<UpgradeDetails> getUpgradeDetailsList()
The list of past auto upgrades.
repeated .google.container.v1.UpgradeDetails upgrade_details = 4;
getUpgradeDetailsOrBuilder(int index)
public UpgradeDetailsOrBuilder getUpgradeDetailsOrBuilder(int index)
The list of past auto upgrades.
repeated .google.container.v1.UpgradeDetails upgrade_details = 4;
Parameter |
Name |
Description |
index |
int
|
getUpgradeDetailsOrBuilderList()
public List<? extends UpgradeDetailsOrBuilder> getUpgradeDetailsOrBuilderList()
The list of past auto upgrades.
repeated .google.container.v1.UpgradeDetails upgrade_details = 4;
Returns |
Type |
Description |
List<? extends com.google.container.v1.UpgradeDetailsOrBuilder> |
|
hasEndOfExtendedSupportTimestamp()
public boolean hasEndOfExtendedSupportTimestamp()
The cluster's current minor version's end of extended support timestamp.
optional string end_of_extended_support_timestamp = 6;
Returns |
Type |
Description |
boolean |
Whether the endOfExtendedSupportTimestamp field is set.
|
hasEndOfStandardSupportTimestamp()
public boolean hasEndOfStandardSupportTimestamp()
The cluster's current minor version's end of standard support timestamp.
optional string end_of_standard_support_timestamp = 5;
Returns |
Type |
Description |
boolean |
Whether the endOfStandardSupportTimestamp field is set.
|
hasMinorTargetVersion()
public boolean hasMinorTargetVersion()
minor_target_version indicates the target version for minor upgrade.
optional string minor_target_version = 7;
Returns |
Type |
Description |
boolean |
Whether the minorTargetVersion field is set.
|
hasPatchTargetVersion()
public boolean hasPatchTargetVersion()
patch_target_version indicates the target version for patch upgrade.
optional string patch_target_version = 8;
Returns |
Type |
Description |
boolean |
Whether the patchTargetVersion field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ClusterUpgradeInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClusterUpgradeInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ClusterUpgradeInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides