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 classInstance.UpgradeHistoryEntry.ActionThe definition of operations of this upgrade history entry.static classInstance.UpgradeHistoryEntry.BuilderThe entry of VM image upgrade history.static classInstance.UpgradeHistoryEntry.StateThe 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 intACTION_FIELD_NUMBERstatic intCONTAINER_IMAGE_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intFRAMEWORK_FIELD_NUMBERstatic intSNAPSHOT_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intTARGET_IMAGE_FIELD_NUMBERstatic intTARGET_VERSION_FIELD_NUMBERstatic intVERSION_FIELD_NUMBERstatic intVM_IMAGE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)Instance.UpgradeHistoryEntry.ActiongetAction()Action.intgetActionValue()Action.StringgetContainerImage()The container image before this instance upgrade.com.google.protobuf.ByteStringgetContainerImageBytes()The container image before this instance upgrade.com.google.protobuf.TimestampgetCreateTime()The time that this instance upgrade history entry is created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time that this instance upgrade history entry is created.static Instance.UpgradeHistoryEntrygetDefaultInstance()Instance.UpgradeHistoryEntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFramework()The framework of this notebook instance.com.google.protobuf.ByteStringgetFrameworkBytes()The framework of this notebook instance.com.google.protobuf.Parser<Instance.UpgradeHistoryEntry>getParserForType()intgetSerializedSize()StringgetSnapshot()The snapshot of the boot disk of this notebook instance before upgrade.com.google.protobuf.ByteStringgetSnapshotBytes()The snapshot of the boot disk of this notebook instance before upgrade.Instance.UpgradeHistoryEntry.StategetState()The state of this instance upgrade history entry.intgetStateValue()The state of this instance upgrade history entry.StringgetTargetImage()Deprecated.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.target_image is deprecated.com.google.protobuf.ByteStringgetTargetImageBytes()Deprecated.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.target_image is deprecated.StringgetTargetVersion()Target VM Version, like m63.com.google.protobuf.ByteStringgetTargetVersionBytes()Target VM Version, like m63.StringgetVersion()The version of the notebook instance before this upgrade.com.google.protobuf.ByteStringgetVersionBytes()The version of the notebook instance before this upgrade.StringgetVmImage()The VM image before this instance upgrade.com.google.protobuf.ByteStringgetVmImageBytes()The VM image before this instance upgrade.booleanhasCreateTime()The time that this instance upgrade history entry is created.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Instance.UpgradeHistoryEntry.BuildernewBuilder()static Instance.UpgradeHistoryEntry.BuildernewBuilder(Instance.UpgradeHistoryEntry prototype)Instance.UpgradeHistoryEntry.BuildernewBuilderForType()protected Instance.UpgradeHistoryEntry.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Instance.UpgradeHistoryEntryparseDelimitedFrom(InputStream input)static Instance.UpgradeHistoryEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Instance.UpgradeHistoryEntryparseFrom(byte[] data)static Instance.UpgradeHistoryEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Instance.UpgradeHistoryEntryparseFrom(com.google.protobuf.ByteString data)static Instance.UpgradeHistoryEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Instance.UpgradeHistoryEntryparseFrom(com.google.protobuf.CodedInputStream input)static Instance.UpgradeHistoryEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Instance.UpgradeHistoryEntryparseFrom(InputStream input)static Instance.UpgradeHistoryEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Instance.UpgradeHistoryEntryparseFrom(ByteBuffer data)static Instance.UpgradeHistoryEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Instance.UpgradeHistoryEntry>parser()Instance.UpgradeHistoryEntry.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
getSnapshotin 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:
getSnapshotBytesin interfaceInstance.UpgradeHistoryEntryOrBuilder- Returns:
- The bytes for snapshot.
-
getVmImage
public String getVmImage()
The VM image before this instance upgrade.
string vm_image = 2;- Specified by:
getVmImagein 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:
getVmImageBytesin interfaceInstance.UpgradeHistoryEntryOrBuilder- Returns:
- The bytes for vmImage.
-
getContainerImage
public String getContainerImage()
The container image before this instance upgrade.
string container_image = 3;- Specified by:
getContainerImagein 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:
getContainerImageBytesin interfaceInstance.UpgradeHistoryEntryOrBuilder- Returns:
- The bytes for containerImage.
-
getFramework
public String getFramework()
The framework of this notebook instance.
string framework = 4;- Specified by:
getFrameworkin interfaceInstance.UpgradeHistoryEntryOrBuilder- Returns:
- The framework.
-
getFrameworkBytes
public com.google.protobuf.ByteString getFrameworkBytes()
The framework of this notebook instance.
string framework = 4;- Specified by:
getFrameworkBytesin 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:
getVersionin 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:
getVersionBytesin 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:
getStateValuein 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:
getStatein 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin 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:
getTargetImagein 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:
getTargetImageBytesin 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:
getActionValuein 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:
getActionin interfaceInstance.UpgradeHistoryEntryOrBuilder- Returns:
- The action.
-
getTargetVersion
public String getTargetVersion()
Target VM Version, like m63.
string target_version = 10;- Specified by:
getTargetVersionin interfaceInstance.UpgradeHistoryEntryOrBuilder- Returns:
- The targetVersion.
-
getTargetVersionBytes
public com.google.protobuf.ByteString getTargetVersionBytes()
Target VM Version, like m63.
string target_version = 10;- Specified by:
getTargetVersionBytesin interfaceInstance.UpgradeHistoryEntryOrBuilder- Returns:
- The bytes for targetVersion.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.UpgradeHistoryEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance.UpgradeHistoryEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-