Send feedback
Class Instance.UpgradeHistoryEntry (1.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.3.0 keyboard_arrow_down
public static final class Instance . UpgradeHistoryEntry extends GeneratedMessageV3 implements Instance . UpgradeHistoryEntryOrBuilder
The entry of VM image upgrade history.
Protobuf type google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry
Static Fields
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
Field Value
CONTAINER_IMAGE_FIELD_NUMBER
public static final int CONTAINER_IMAGE_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
FRAMEWORK_FIELD_NUMBER
public static final int FRAMEWORK_FIELD_NUMBER
Field Value
SNAPSHOT_FIELD_NUMBER
public static final int SNAPSHOT_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
TARGET_IMAGE_FIELD_NUMBER
public static final int TARGET_IMAGE_FIELD_NUMBER
Field Value
TARGET_VERSION_FIELD_NUMBER
public static final int TARGET_VERSION_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
VM_IMAGE_FIELD_NUMBER
public static final int VM_IMAGE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Instance . UpgradeHistoryEntry getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static Instance . UpgradeHistoryEntry . Builder newBuilder ()
Returns
newBuilder(Instance.UpgradeHistoryEntry prototype)
public static Instance . UpgradeHistoryEntry . Builder newBuilder ( Instance . UpgradeHistoryEntry prototype )
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static Instance . UpgradeHistoryEntry parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance . UpgradeHistoryEntry parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Instance . UpgradeHistoryEntry parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance . UpgradeHistoryEntry parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Instance . UpgradeHistoryEntry parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance . UpgradeHistoryEntry parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static Instance . UpgradeHistoryEntry parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance . UpgradeHistoryEntry parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static Instance . UpgradeHistoryEntry parseFrom ( InputStream input )
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance . UpgradeHistoryEntry parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Instance . UpgradeHistoryEntry parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance . UpgradeHistoryEntry parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<Instance . UpgradeHistoryEntry > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getAction()
public Instance . UpgradeHistoryEntry . Action getAction ()
Action. Rolloback or Upgrade.
.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action action = 9;
Returns
getActionValue()
public int getActionValue ()
Action. Rolloback or Upgrade.
.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action action = 9;
Returns
Type Description int The enum numeric value on the wire for action.
getContainerImage()
public String getContainerImage ()
The container image before this instance upgrade.
string container_image = 3;
Returns
Type Description String The containerImage.
getContainerImageBytes()
public ByteString getContainerImageBytes ()
The container image before this instance upgrade.
string container_image = 3;
Returns
Type Description ByteString The bytes for containerImage.
getCreateTime()
public Timestamp getCreateTime ()
The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7;
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder ()
The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7;
Returns
getDefaultInstanceForType()
public Instance . UpgradeHistoryEntry getDefaultInstanceForType ()
Returns
getFramework()
public String getFramework ()
The framework of this notebook instance.
string framework = 4;
Returns
Type Description String The framework.
getFrameworkBytes()
public ByteString getFrameworkBytes ()
The framework of this notebook instance.
string framework = 4;
Returns
getParserForType()
public Parser<Instance . UpgradeHistoryEntry > getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getSnapshot()
public String getSnapshot ()
The snapshot of the boot disk of this notebook instance before upgrade.
string snapshot = 1;
Returns
Type Description String The snapshot.
getSnapshotBytes()
public ByteString getSnapshotBytes ()
The snapshot of the boot disk of this notebook instance before upgrade.
string snapshot = 1;
Returns
getState()
public Instance . UpgradeHistoryEntry . State getState ()
The state of this instance upgrade history entry.
.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;
Returns
getStateValue()
public int getStateValue ()
The state of this instance upgrade history entry.
.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;
Returns
Type Description int The enum numeric value on the wire for state.
getTargetImage() (deprecated)
public String getTargetImage ()
Deprecated. google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.target_image is
deprecated. See google/cloud/notebooks/v1/instance.proto;l=351
Target VM Image. Format: ainotebooks-vm/project/image-name/name.
string target_image = 8 [deprecated = true];
Returns
Type Description String The targetImage.
getTargetImageBytes() (deprecated)
public ByteString getTargetImageBytes ()
Deprecated. google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.target_image is
deprecated. See google/cloud/notebooks/v1/instance.proto;l=351
Target VM Image. Format: ainotebooks-vm/project/image-name/name.
string target_image = 8 [deprecated = true];
Returns
Type Description ByteString The bytes for targetImage.
getTargetVersion()
public String getTargetVersion ()
Target VM Version, like m63.
string target_version = 10;
Returns
Type Description String The targetVersion.
getTargetVersionBytes()
public ByteString getTargetVersionBytes ()
Target VM Version, like m63.
string target_version = 10;
Returns
Type Description ByteString The bytes for targetVersion.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
getVersion()
public String getVersion ()
The version of the notebook instance before this upgrade.
string version = 5;
Returns
Type Description String The version.
getVersionBytes()
public ByteString getVersionBytes ()
The version of the notebook instance before this upgrade.
string version = 5;
Returns
getVmImage()
public String getVmImage ()
The VM image before this instance upgrade.
string vm_image = 2;
Returns
Type Description String The vmImage.
getVmImageBytes()
public ByteString getVmImageBytes ()
The VM image before this instance upgrade.
string vm_image = 2;
Returns
hasCreateTime()
public boolean hasCreateTime ()
The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7;
Returns
Type Description boolean Whether the createTime field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public Instance . UpgradeHistoryEntry . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance . UpgradeHistoryEntry . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public Instance . UpgradeHistoryEntry . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]