Class UpgradeHistoryEntry (1.37.0)

public final class UpgradeHistoryEntry extends GeneratedMessageV3 implements UpgradeHistoryEntryOrBuilder

The entry of VM image upgrade history.

Protobuf type google.cloud.notebooks.v2.UpgradeHistoryEntry

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

CONTAINER_IMAGE_FIELD_NUMBER

public static final int CONTAINER_IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

FRAMEWORK_FIELD_NUMBER

public static final int FRAMEWORK_FIELD_NUMBER
Field Value
TypeDescription
int

SNAPSHOT_FIELD_NUMBER

public static final int SNAPSHOT_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_VERSION_FIELD_NUMBER

public static final int TARGET_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

VM_IMAGE_FIELD_NUMBER

public static final int VM_IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpgradeHistoryEntry getDefaultInstance()
Returns
TypeDescription
UpgradeHistoryEntry

getDescriptor()

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

newBuilder()

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

newBuilder(UpgradeHistoryEntry prototype)

public static UpgradeHistoryEntry.Builder newBuilder(UpgradeHistoryEntry prototype)
Parameter
NameDescription
prototypeUpgradeHistoryEntry
Returns
TypeDescription
UpgradeHistoryEntry.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAction()

public UpgradeHistoryEntry.Action getAction()

Optional. Action. Rolloback or Upgrade.

.google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpgradeHistoryEntry.Action

The action.

getActionValue()

public int getActionValue()

Optional. Action. Rolloback or Upgrade.

.google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for action.

getContainerImage()

public String getContainerImage()

Optional. The container image before this instance upgrade.

string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The containerImage.

getContainerImageBytes()

public ByteString getContainerImageBytes()

Optional. The container image before this instance upgrade.

string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for containerImage.

getCreateTime()

public Timestamp getCreateTime()

Immutable. The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Immutable. The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public UpgradeHistoryEntry getDefaultInstanceForType()
Returns
TypeDescription
UpgradeHistoryEntry

getFramework()

public String getFramework()

Optional. The framework of this notebook instance.

string framework = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The framework.

getFrameworkBytes()

public ByteString getFrameworkBytes()

Optional. The framework of this notebook instance.

string framework = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for framework.

getParserForType()

public Parser<UpgradeHistoryEntry> getParserForType()
Returns
TypeDescription
Parser<UpgradeHistoryEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnapshot()

public String getSnapshot()

Optional. The snapshot of the boot disk of this notebook instance before upgrade.

string snapshot = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The snapshot.

getSnapshotBytes()

public ByteString getSnapshotBytes()

Optional. The snapshot of the boot disk of this notebook instance before upgrade.

string snapshot = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for snapshot.

getState()

public UpgradeHistoryEntry.State getState()

Output only. The state of this instance upgrade history entry.

.google.cloud.notebooks.v2.UpgradeHistoryEntry.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UpgradeHistoryEntry.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of this instance upgrade history entry.

.google.cloud.notebooks.v2.UpgradeHistoryEntry.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTargetVersion()

public String getTargetVersion()

Optional. Target VM Version, like m63.

string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The targetVersion.

getTargetVersionBytes()

public ByteString getTargetVersionBytes()

Optional. Target VM Version, like m63.

string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for targetVersion.

getVersion()

public String getVersion()

Optional. The version of the notebook instance before this upgrade.

string version = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Optional. The version of the notebook instance before this upgrade.

string version = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for version.

getVmImage()

public String getVmImage()

Optional. The VM image before this instance upgrade.

string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The vmImage.

getVmImageBytes()

public ByteString getVmImageBytes()

Optional. The VM image before this instance upgrade.

string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for vmImage.

hasCreateTime()

public boolean hasCreateTime()

Immutable. The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpgradeHistoryEntry.Builder newBuilderForType()
Returns
TypeDescription
UpgradeHistoryEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpgradeHistoryEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpgradeHistoryEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpgradeHistoryEntry.Builder toBuilder()
Returns
TypeDescription
UpgradeHistoryEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException