Package com.google.container.v1
Class UpgradeInfoEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.UpgradeInfoEvent
- All Implemented Interfaces:
UpgradeInfoEventOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class UpgradeInfoEvent
extends com.google.protobuf.GeneratedMessage
implements UpgradeInfoEventOrBuilder
UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.Protobuf type
google.container.v1.UpgradeInfoEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.static enumThe type of the event.static enumThe state of the upgrade.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe current version before the upgrade.com.google.protobuf.ByteStringThe current version before the upgrade.static UpgradeInfoEventA brief description of the event.com.google.protobuf.ByteStringA brief description of the event.static final com.google.protobuf.Descriptors.DescriptorThe information about the disruption event.The information about the disruption event.com.google.protobuf.TimestampThe time when the operation ended.com.google.protobuf.TimestampOrBuilderThe time when the operation ended.The type of the event.intThe type of the event.com.google.protobuf.TimestampThe end of extended support timestamp.com.google.protobuf.TimestampOrBuilderThe end of extended support timestamp.The operation associated with this upgrade.com.google.protobuf.ByteStringThe operation associated with this upgrade.com.google.protobuf.Parser<UpgradeInfoEvent>Optional relative path to the resource.com.google.protobuf.ByteStringOptional relative path to the resource.The resource type associated with the upgrade.intThe resource type associated with the upgrade.intcom.google.protobuf.TimestampThe end of standard support timestamp.com.google.protobuf.TimestampOrBuilderThe end of standard support timestamp.com.google.protobuf.TimestampThe time when the operation was started.com.google.protobuf.TimestampOrBuilderThe time when the operation was started.getState()Output only.intOutput only.The target version for the upgrade.com.google.protobuf.ByteStringThe target version for the upgrade.booleanThe information about the disruption event.booleanThe time when the operation ended.booleanThe end of extended support timestamp.inthashCode()booleanThe end of standard support timestamp.booleanThe time when the operation was started.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic UpgradeInfoEvent.Builderstatic UpgradeInfoEvent.BuildernewBuilder(UpgradeInfoEvent prototype) protected UpgradeInfoEvent.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static UpgradeInfoEventparseDelimitedFrom(InputStream input) static UpgradeInfoEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpgradeInfoEventparseFrom(byte[] data) static UpgradeInfoEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpgradeInfoEventparseFrom(com.google.protobuf.ByteString data) static UpgradeInfoEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpgradeInfoEventparseFrom(com.google.protobuf.CodedInputStream input) static UpgradeInfoEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpgradeInfoEventparseFrom(InputStream input) static UpgradeInfoEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpgradeInfoEventparseFrom(ByteBuffer data) static UpgradeInfoEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpgradeInfoEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER- See Also:
-
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER- See Also:
-
CURRENT_VERSION_FIELD_NUMBER
public static final int CURRENT_VERSION_FIELD_NUMBER- See Also:
-
TARGET_VERSION_FIELD_NUMBER
public static final int TARGET_VERSION_FIELD_NUMBER- See Also:
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
STANDARD_SUPPORT_END_TIME_FIELD_NUMBER
public static final int STANDARD_SUPPORT_END_TIME_FIELD_NUMBER- See Also:
-
EXTENDED_SUPPORT_END_TIME_FIELD_NUMBER
public static final int EXTENDED_SUPPORT_END_TIME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
EVENT_TYPE_FIELD_NUMBER
public static final int EVENT_TYPE_FIELD_NUMBER- See Also:
-
DISRUPTION_EVENT_FIELD_NUMBER
public static final int DISRUPTION_EVENT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getResourceTypeValue
public int getResourceTypeValue()The resource type associated with the upgrade.
.google.container.v1.UpgradeResourceType resource_type = 1;- Specified by:
getResourceTypeValuein interfaceUpgradeInfoEventOrBuilder- Returns:
- The enum numeric value on the wire for resourceType.
-
getResourceType
The resource type associated with the upgrade.
.google.container.v1.UpgradeResourceType resource_type = 1;- Specified by:
getResourceTypein interfaceUpgradeInfoEventOrBuilder- Returns:
- The resourceType.
-
getOperation
The operation associated with this upgrade.
string operation = 2;- Specified by:
getOperationin interfaceUpgradeInfoEventOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()The operation associated with this upgrade.
string operation = 2;- Specified by:
getOperationBytesin interfaceUpgradeInfoEventOrBuilder- Returns:
- The bytes for operation.
-
hasStartTime
public boolean hasStartTime()The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;- Specified by:
hasStartTimein interfaceUpgradeInfoEventOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimein interfaceUpgradeInfoEventOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimeOrBuilderin interfaceUpgradeInfoEventOrBuilder
-
hasEndTime
public boolean hasEndTime()The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;- Specified by:
hasEndTimein interfaceUpgradeInfoEventOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;- Specified by:
getEndTimein interfaceUpgradeInfoEventOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;- Specified by:
getEndTimeOrBuilderin interfaceUpgradeInfoEventOrBuilder
-
getCurrentVersion
The current version before the upgrade.
string current_version = 5;- Specified by:
getCurrentVersionin interfaceUpgradeInfoEventOrBuilder- Returns:
- The currentVersion.
-
getCurrentVersionBytes
public com.google.protobuf.ByteString getCurrentVersionBytes()The current version before the upgrade.
string current_version = 5;- Specified by:
getCurrentVersionBytesin interfaceUpgradeInfoEventOrBuilder- Returns:
- The bytes for currentVersion.
-
getTargetVersion
The target version for the upgrade.
string target_version = 6;- Specified by:
getTargetVersionin interfaceUpgradeInfoEventOrBuilder- Returns:
- The targetVersion.
-
getTargetVersionBytes
public com.google.protobuf.ByteString getTargetVersionBytes()The target version for the upgrade.
string target_version = 6;- Specified by:
getTargetVersionBytesin interfaceUpgradeInfoEventOrBuilder- Returns:
- The bytes for targetVersion.
-
getResource
Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 7;- Specified by:
getResourcein interfaceUpgradeInfoEventOrBuilder- Returns:
- The resource.
-
getResourceBytes
public com.google.protobuf.ByteString getResourceBytes()Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 7;- Specified by:
getResourceBytesin interfaceUpgradeInfoEventOrBuilder- Returns:
- The bytes for resource.
-
getStateValue
public int getStateValue()Output only. The state of the upgrade.
.google.container.v1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceUpgradeInfoEventOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The state of the upgrade.
.google.container.v1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceUpgradeInfoEventOrBuilder- Returns:
- The state.
-
hasStandardSupportEndTime
public boolean hasStandardSupportEndTime()The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;- Specified by:
hasStandardSupportEndTimein interfaceUpgradeInfoEventOrBuilder- Returns:
- Whether the standardSupportEndTime field is set.
-
getStandardSupportEndTime
public com.google.protobuf.Timestamp getStandardSupportEndTime()The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;- Specified by:
getStandardSupportEndTimein interfaceUpgradeInfoEventOrBuilder- Returns:
- The standardSupportEndTime.
-
getStandardSupportEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStandardSupportEndTimeOrBuilder()The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;- Specified by:
getStandardSupportEndTimeOrBuilderin interfaceUpgradeInfoEventOrBuilder
-
hasExtendedSupportEndTime
public boolean hasExtendedSupportEndTime()The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;- Specified by:
hasExtendedSupportEndTimein interfaceUpgradeInfoEventOrBuilder- Returns:
- Whether the extendedSupportEndTime field is set.
-
getExtendedSupportEndTime
public com.google.protobuf.Timestamp getExtendedSupportEndTime()The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;- Specified by:
getExtendedSupportEndTimein interfaceUpgradeInfoEventOrBuilder- Returns:
- The extendedSupportEndTime.
-
getExtendedSupportEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExtendedSupportEndTimeOrBuilder()The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;- Specified by:
getExtendedSupportEndTimeOrBuilderin interfaceUpgradeInfoEventOrBuilder
-
getDescription
A brief description of the event.
string description = 11;- Specified by:
getDescriptionin interfaceUpgradeInfoEventOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A brief description of the event.
string description = 11;- Specified by:
getDescriptionBytesin interfaceUpgradeInfoEventOrBuilder- Returns:
- The bytes for description.
-
getEventTypeValue
public int getEventTypeValue()The type of the event.
.google.container.v1.UpgradeInfoEvent.EventType event_type = 12;- Specified by:
getEventTypeValuein interfaceUpgradeInfoEventOrBuilder- Returns:
- The enum numeric value on the wire for eventType.
-
getEventType
The type of the event.
.google.container.v1.UpgradeInfoEvent.EventType event_type = 12;- Specified by:
getEventTypein interfaceUpgradeInfoEventOrBuilder- Returns:
- The eventType.
-
hasDisruptionEvent
public boolean hasDisruptionEvent()The information about the disruption event. This field is only populated when event_type is DISRUPTION_EVENT.
optional .google.container.v1.DisruptionEvent disruption_event = 14;- Specified by:
hasDisruptionEventin interfaceUpgradeInfoEventOrBuilder- Returns:
- Whether the disruptionEvent field is set.
-
getDisruptionEvent
The information about the disruption event. This field is only populated when event_type is DISRUPTION_EVENT.
optional .google.container.v1.DisruptionEvent disruption_event = 14;- Specified by:
getDisruptionEventin interfaceUpgradeInfoEventOrBuilder- Returns:
- The disruptionEvent.
-
getDisruptionEventOrBuilder
The information about the disruption event. This field is only populated when event_type is DISRUPTION_EVENT.
optional .google.container.v1.DisruptionEvent disruption_event = 14;- Specified by:
getDisruptionEventOrBuilderin interfaceUpgradeInfoEventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpgradeInfoEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeInfoEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeInfoEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeInfoEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeInfoEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeInfoEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UpgradeInfoEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UpgradeInfoEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpgradeInfoEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpgradeInfoEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpgradeInfoEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-