Class UpgradeEvent (2.20.0)

public final class UpgradeEvent extends GeneratedMessageV3 implements UpgradeEventOrBuilder

UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.

Protobuf type google.container.v1beta1.UpgradeEvent

Static Fields

CURRENT_VERSION_FIELD_NUMBER

public static final int CURRENT_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATION_FIELD_NUMBER

public static final int OPERATION_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATION_START_TIME_FIELD_NUMBER

public static final int OPERATION_START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_VERSION_FIELD_NUMBER

public static final int TARGET_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpgradeEvent getDefaultInstance()
Returns
TypeDescription
UpgradeEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpgradeEvent.Builder newBuilder()
Returns
TypeDescription
UpgradeEvent.Builder

newBuilder(UpgradeEvent prototype)

public static UpgradeEvent.Builder newBuilder(UpgradeEvent prototype)
Parameter
NameDescription
prototypeUpgradeEvent
Returns
TypeDescription
UpgradeEvent.Builder

parseDelimitedFrom(InputStream input)

public static UpgradeEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpgradeEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpgradeEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpgradeEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpgradeEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpgradeEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpgradeEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpgradeEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpgradeEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpgradeEvent> parser()
Returns
TypeDescription
Parser<UpgradeEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCurrentVersion()

public String getCurrentVersion()

The current version before the upgrade.

string current_version = 4;

Returns
TypeDescription
String

The currentVersion.

getCurrentVersionBytes()

public ByteString getCurrentVersionBytes()

The current version before the upgrade.

string current_version = 4;

Returns
TypeDescription
ByteString

The bytes for currentVersion.

getDefaultInstanceForType()

public UpgradeEvent getDefaultInstanceForType()
Returns
TypeDescription
UpgradeEvent

getOperation()

public String getOperation()

The operation associated with this upgrade.

string operation = 2;

Returns
TypeDescription
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

The operation associated with this upgrade.

string operation = 2;

Returns
TypeDescription
ByteString

The bytes for operation.

getOperationStartTime()

public Timestamp getOperationStartTime()

The time when the operation was started.

.google.protobuf.Timestamp operation_start_time = 3;

Returns
TypeDescription
Timestamp

The operationStartTime.

getOperationStartTimeOrBuilder()

public TimestampOrBuilder getOperationStartTimeOrBuilder()

The time when the operation was started.

.google.protobuf.Timestamp operation_start_time = 3;

Returns
TypeDescription
TimestampOrBuilder