Class UpgradeDetails (2.67.0)

public final class UpgradeDetails extends GeneratedMessageV3 implements UpgradeDetailsOrBuilder

UpgradeDetails contains detailed information of each individual upgrade operation.

Protobuf type google.container.v1beta1.UpgradeDetails

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

INITIAL_VERSION_FIELD_NUMBER

public static final int INITIAL_VERSION_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

START_TYPE_FIELD_NUMBER

public static final int START_TYPE_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 UpgradeDetails getDefaultInstance()
Returns
Type Description
UpgradeDetails

getDescriptor()

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

newBuilder()

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

newBuilder(UpgradeDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpgradeDetails getDefaultInstanceForType()
Returns
Type Description
UpgradeDetails

getEndTime()

public Timestamp getEndTime()

The end timestamp of the upgrade.

optional .google.protobuf.Timestamp end_time = 3;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end timestamp of the upgrade.

optional .google.protobuf.Timestamp end_time = 3;

Returns
Type Description
TimestampOrBuilder

getInitialVersion()

public String getInitialVersion()

The version before the upgrade.

string initial_version = 4;

Returns
Type Description
String

The initialVersion.

getInitialVersionBytes()

public ByteString getInitialVersionBytes()

The version before the upgrade.

string initial_version = 4;

Returns
Type Description
ByteString

The bytes for initialVersion.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

The start timestamp of the upgrade.

optional .google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The start timestamp of the upgrade.

optional .google.protobuf.Timestamp start_time = 2;

Returns
Type Description
TimestampOrBuilder

getStartType()

public UpgradeDetails.StartType getStartType()

The start type of the upgrade.

.google.container.v1beta1.UpgradeDetails.StartType start_type = 6;

Returns
Type Description
UpgradeDetails.StartType

The startType.

getStartTypeValue()

public int getStartTypeValue()

The start type of the upgrade.

.google.container.v1beta1.UpgradeDetails.StartType start_type = 6;

Returns
Type Description
int

The enum numeric value on the wire for startType.

getState()

public UpgradeDetails.State getState()

Output only. The state of the upgrade.

.google.container.v1beta1.UpgradeDetails.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpgradeDetails.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the upgrade.

.google.container.v1beta1.UpgradeDetails.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTargetVersion()

public String getTargetVersion()

The version after the upgrade.

string target_version = 5;

Returns
Type Description
String

The targetVersion.

getTargetVersionBytes()

public ByteString getTargetVersionBytes()

The version after the upgrade.

string target_version = 5;

Returns
Type Description
ByteString

The bytes for targetVersion.

hasEndTime()

public boolean hasEndTime()

The end timestamp of the upgrade.

optional .google.protobuf.Timestamp end_time = 3;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The start timestamp of the upgrade.

optional .google.protobuf.Timestamp start_time = 2;

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 UpgradeDetails.Builder newBuilderForType()
Returns
Type Description
UpgradeDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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