Package com.google.cloud.notebooks.v1
Class Instance.UpgradeHistoryEntry
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry
-
- All Implemented Interfaces:
Instance.UpgradeHistoryEntryOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- Instance
public static final class Instance.UpgradeHistoryEntry extends com.google.protobuf.GeneratedMessageV3 implements Instance.UpgradeHistoryEntryOrBuilder
The entry of VM image upgrade history.
Protobuf typegoogle.cloud.notebooks.v1.Instance.UpgradeHistoryEntry
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Instance.UpgradeHistoryEntry.Action
The definition of operations of this upgrade history entry.static class
Instance.UpgradeHistoryEntry.Builder
The entry of VM image upgrade history.static class
Instance.UpgradeHistoryEntry.State
The definition of the states of this upgrade history entry.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION_FIELD_NUMBER
static int
CONTAINER_IMAGE_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
FRAMEWORK_FIELD_NUMBER
static int
SNAPSHOT_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
TARGET_IMAGE_FIELD_NUMBER
static int
TARGET_VERSION_FIELD_NUMBER
static int
VERSION_FIELD_NUMBER
static int
VM_IMAGE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Instance.UpgradeHistoryEntry.Action
getAction()
Action.int
getActionValue()
Action.String
getContainerImage()
The container image before this instance upgrade.com.google.protobuf.ByteString
getContainerImageBytes()
The container image before this instance upgrade.com.google.protobuf.Timestamp
getCreateTime()
The time that this instance upgrade history entry is created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The time that this instance upgrade history entry is created.static Instance.UpgradeHistoryEntry
getDefaultInstance()
Instance.UpgradeHistoryEntry
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFramework()
The framework of this notebook instance.com.google.protobuf.ByteString
getFrameworkBytes()
The framework of this notebook instance.com.google.protobuf.Parser<Instance.UpgradeHistoryEntry>
getParserForType()
int
getSerializedSize()
String
getSnapshot()
The snapshot of the boot disk of this notebook instance before upgrade.com.google.protobuf.ByteString
getSnapshotBytes()
The snapshot of the boot disk of this notebook instance before upgrade.Instance.UpgradeHistoryEntry.State
getState()
The state of this instance upgrade history entry.int
getStateValue()
The state of this instance upgrade history entry.String
getTargetImage()
Deprecated.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.target_image is deprecated.com.google.protobuf.ByteString
getTargetImageBytes()
Deprecated.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.target_image is deprecated.String
getTargetVersion()
Target VM Version, like m63.com.google.protobuf.ByteString
getTargetVersionBytes()
Target VM Version, like m63.String
getVersion()
The version of the notebook instance before this upgrade.com.google.protobuf.ByteString
getVersionBytes()
The version of the notebook instance before this upgrade.String
getVmImage()
The VM image before this instance upgrade.com.google.protobuf.ByteString
getVmImageBytes()
The VM image before this instance upgrade.boolean
hasCreateTime()
The time that this instance upgrade history entry is created.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Instance.UpgradeHistoryEntry.Builder
newBuilder()
static Instance.UpgradeHistoryEntry.Builder
newBuilder(Instance.UpgradeHistoryEntry prototype)
Instance.UpgradeHistoryEntry.Builder
newBuilderForType()
protected Instance.UpgradeHistoryEntry.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Instance.UpgradeHistoryEntry
parseDelimitedFrom(InputStream input)
static Instance.UpgradeHistoryEntry
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance.UpgradeHistoryEntry
parseFrom(byte[] data)
static Instance.UpgradeHistoryEntry
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance.UpgradeHistoryEntry
parseFrom(com.google.protobuf.ByteString data)
static Instance.UpgradeHistoryEntry
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance.UpgradeHistoryEntry
parseFrom(com.google.protobuf.CodedInputStream input)
static Instance.UpgradeHistoryEntry
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance.UpgradeHistoryEntry
parseFrom(InputStream input)
static Instance.UpgradeHistoryEntry
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance.UpgradeHistoryEntry
parseFrom(ByteBuffer data)
static Instance.UpgradeHistoryEntry
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Instance.UpgradeHistoryEntry>
parser()
Instance.UpgradeHistoryEntry.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SNAPSHOT_FIELD_NUMBER
public static final int SNAPSHOT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VM_IMAGE_FIELD_NUMBER
public static final int VM_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTAINER_IMAGE_FIELD_NUMBER
public static final int CONTAINER_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FRAMEWORK_FIELD_NUMBER
public static final int FRAMEWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_IMAGE_FIELD_NUMBER
public static final int TARGET_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_VERSION_FIELD_NUMBER
public static final int TARGET_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSnapshot
public String getSnapshot()
The snapshot of the boot disk of this notebook instance before upgrade.
string snapshot = 1;
- Specified by:
getSnapshot
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The snapshot.
-
getSnapshotBytes
public com.google.protobuf.ByteString getSnapshotBytes()
The snapshot of the boot disk of this notebook instance before upgrade.
string snapshot = 1;
- Specified by:
getSnapshotBytes
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The bytes for snapshot.
-
getVmImage
public String getVmImage()
The VM image before this instance upgrade.
string vm_image = 2;
- Specified by:
getVmImage
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The vmImage.
-
getVmImageBytes
public com.google.protobuf.ByteString getVmImageBytes()
The VM image before this instance upgrade.
string vm_image = 2;
- Specified by:
getVmImageBytes
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The bytes for vmImage.
-
getContainerImage
public String getContainerImage()
The container image before this instance upgrade.
string container_image = 3;
- Specified by:
getContainerImage
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The containerImage.
-
getContainerImageBytes
public com.google.protobuf.ByteString getContainerImageBytes()
The container image before this instance upgrade.
string container_image = 3;
- Specified by:
getContainerImageBytes
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The bytes for containerImage.
-
getFramework
public String getFramework()
The framework of this notebook instance.
string framework = 4;
- Specified by:
getFramework
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The framework.
-
getFrameworkBytes
public com.google.protobuf.ByteString getFrameworkBytes()
The framework of this notebook instance.
string framework = 4;
- Specified by:
getFrameworkBytes
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The bytes for framework.
-
getVersion
public String getVersion()
The version of the notebook instance before this upgrade.
string version = 5;
- Specified by:
getVersion
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
The version of the notebook instance before this upgrade.
string version = 5;
- Specified by:
getVersionBytes
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The bytes for version.
-
getStateValue
public int getStateValue()
The state of this instance upgrade history entry.
.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;
- Specified by:
getStateValue
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public Instance.UpgradeHistoryEntry.State getState()
The state of this instance upgrade history entry.
.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;
- Specified by:
getState
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The state.
-
hasCreateTime
public boolean hasCreateTime()
The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7;
- Specified by:
hasCreateTime
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7;
- Specified by:
getCreateTime
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7;
- Specified by:
getCreateTimeOrBuilder
in interfaceInstance.UpgradeHistoryEntryOrBuilder
-
getTargetImage
@Deprecated public String getTargetImage()
Deprecated.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.target_image is deprecated. See google/cloud/notebooks/v1/instance.proto;l=352Target VM Image. Format: `ainotebooks-vm/project/image-name/name`.
string target_image = 8 [deprecated = true];
- Specified by:
getTargetImage
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The targetImage.
-
getTargetImageBytes
@Deprecated public com.google.protobuf.ByteString getTargetImageBytes()
Deprecated.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.target_image is deprecated. See google/cloud/notebooks/v1/instance.proto;l=352Target VM Image. Format: `ainotebooks-vm/project/image-name/name`.
string target_image = 8 [deprecated = true];
- Specified by:
getTargetImageBytes
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The bytes for targetImage.
-
getActionValue
public int getActionValue()
Action. Rolloback or Upgrade.
.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action action = 9;
- Specified by:
getActionValue
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The enum numeric value on the wire for action.
-
getAction
public Instance.UpgradeHistoryEntry.Action getAction()
Action. Rolloback or Upgrade.
.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action action = 9;
- Specified by:
getAction
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The action.
-
getTargetVersion
public String getTargetVersion()
Target VM Version, like m63.
string target_version = 10;
- Specified by:
getTargetVersion
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The targetVersion.
-
getTargetVersionBytes
public com.google.protobuf.ByteString getTargetVersionBytes()
Target VM Version, like m63.
string target_version = 10;
- Specified by:
getTargetVersionBytes
in interfaceInstance.UpgradeHistoryEntryOrBuilder
- Returns:
- The bytes for targetVersion.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Instance.UpgradeHistoryEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.UpgradeHistoryEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.UpgradeHistoryEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.UpgradeHistoryEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.UpgradeHistoryEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.UpgradeHistoryEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.UpgradeHistoryEntry parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance.UpgradeHistoryEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance.UpgradeHistoryEntry parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance.UpgradeHistoryEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance.UpgradeHistoryEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance.UpgradeHistoryEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Instance.UpgradeHistoryEntry.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Instance.UpgradeHistoryEntry.Builder newBuilder()
-
newBuilder
public static Instance.UpgradeHistoryEntry.Builder newBuilder(Instance.UpgradeHistoryEntry prototype)
-
toBuilder
public Instance.UpgradeHistoryEntry.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.UpgradeHistoryEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Instance.UpgradeHistoryEntry getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Instance.UpgradeHistoryEntry> parser()
-
getParserForType
public com.google.protobuf.Parser<Instance.UpgradeHistoryEntry> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance.UpgradeHistoryEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-