Class UpgradeInfoEvent (2.57.0)

public final class UpgradeInfoEvent extends GeneratedMessageV3 implements UpgradeInfoEventOrBuilder

UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.

Protobuf type google.container.v1.UpgradeInfoEvent

Static Fields

CURRENT_VERSION_FIELD_NUMBER

public static final int CURRENT_VERSION_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_FIELD_NUMBER

public static final int OPERATION_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TARGET_VERSION_FIELD_NUMBER

public static final int TARGET_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpgradeInfoEvent getDefaultInstance()
Returns
Type Description
UpgradeInfoEvent

getDescriptor()

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

newBuilder()

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

newBuilder(UpgradeInfoEvent prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCurrentVersion()

public String getCurrentVersion()

The current version before the upgrade.

string current_version = 5;

Returns
Type Description
String

The currentVersion.

getCurrentVersionBytes()

public ByteString getCurrentVersionBytes()

The current version before the upgrade.

string current_version = 5;

Returns
Type Description
ByteString

The bytes for currentVersion.

getDefaultInstanceForType()

public UpgradeInfoEvent getDefaultInstanceForType()
Returns
Type Description
UpgradeInfoEvent

getDescription()

public String getDescription()

A brief description of the event.

string description = 11;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A brief description of the event.

string description = 11;

Returns
Type Description
ByteString

The bytes for description.

getEndTime()

public Timestamp getEndTime()

The time when the operation ended.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time when the operation ended.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
TimestampOrBuilder

getOperation()

public String getOperation()

The operation associated with this upgrade.

string operation = 2;

Returns
Type Description
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

The operation associated with this upgrade.

string operation = 2;

Returns
Type Description
ByteString

The bytes for operation.

getParserForType()

public Parser<UpgradeInfoEvent> getParserForType()
Returns
Type Description
Parser<UpgradeInfoEvent>
Overrides

getResource()

public String getResource()

Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.

string resource = 7;

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.

string resource = 7;

Returns
Type Description
ByteString

The bytes for resource.

getResourceType()

public UpgradeResourceType getResourceType()

The resource type associated with the upgrade.

.google.container.v1.UpgradeResourceType resource_type = 1;

Returns
Type Description
UpgradeResourceType

The resourceType.

getResourceTypeValue()

public int getResourceTypeValue()

The resource type associated with the upgrade.

.google.container.v1.UpgradeResourceType resource_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

The time when the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time when the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
TimestampOrBuilder

getState()

public UpgradeInfoEvent.State getState()

Output only. The state of the upgrade.

.google.container.v1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpgradeInfoEvent.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the upgrade.

.google.container.v1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTargetVersion()

public String getTargetVersion()

The target version for the upgrade.

string target_version = 6;

Returns
Type Description
String

The targetVersion.

getTargetVersionBytes()

public ByteString getTargetVersionBytes()

The target version for the upgrade.

string target_version = 6;

Returns
Type Description
ByteString

The bytes for targetVersion.

hasEndTime()

public boolean hasEndTime()

The time when the operation ended.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The time when the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpgradeInfoEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpgradeInfoEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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