Package com.google.cloud.notebooks.v2
Class UpgradeHistoryEntry
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.notebooks.v2.UpgradeHistoryEntry
-
- All Implemented Interfaces:
UpgradeHistoryEntryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class UpgradeHistoryEntry extends com.google.protobuf.GeneratedMessageV3 implements UpgradeHistoryEntryOrBuilder
The entry of VM image upgrade history.
Protobuf typegoogle.cloud.notebooks.v2.UpgradeHistoryEntry- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpgradeHistoryEntry.ActionThe definition of operations of this upgrade history entry.static classUpgradeHistoryEntry.BuilderThe entry of VM image upgrade history.static classUpgradeHistoryEntry.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_VERSION_FIELD_NUMBERstatic intVERSION_FIELD_NUMBERstatic intVM_IMAGE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)UpgradeHistoryEntry.ActiongetAction()Optional.intgetActionValue()Optional.StringgetContainerImage()Optional.com.google.protobuf.ByteStringgetContainerImageBytes()Optional.com.google.protobuf.TimestampgetCreateTime()Immutable.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Immutable.static UpgradeHistoryEntrygetDefaultInstance()UpgradeHistoryEntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFramework()Optional.com.google.protobuf.ByteStringgetFrameworkBytes()Optional.com.google.protobuf.Parser<UpgradeHistoryEntry>getParserForType()intgetSerializedSize()StringgetSnapshot()Optional.com.google.protobuf.ByteStringgetSnapshotBytes()Optional.UpgradeHistoryEntry.StategetState()Output only.intgetStateValue()Output only.StringgetTargetVersion()Optional.com.google.protobuf.ByteStringgetTargetVersionBytes()Optional.StringgetVersion()Optional.com.google.protobuf.ByteStringgetVersionBytes()Optional.StringgetVmImage()Optional.com.google.protobuf.ByteStringgetVmImageBytes()Optional.booleanhasCreateTime()Immutable.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static UpgradeHistoryEntry.BuildernewBuilder()static UpgradeHistoryEntry.BuildernewBuilder(UpgradeHistoryEntry prototype)UpgradeHistoryEntry.BuildernewBuilderForType()protected UpgradeHistoryEntry.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static UpgradeHistoryEntryparseDelimitedFrom(InputStream input)static UpgradeHistoryEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpgradeHistoryEntryparseFrom(byte[] data)static UpgradeHistoryEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpgradeHistoryEntryparseFrom(com.google.protobuf.ByteString data)static UpgradeHistoryEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpgradeHistoryEntryparseFrom(com.google.protobuf.CodedInputStream input)static UpgradeHistoryEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpgradeHistoryEntryparseFrom(InputStream input)static UpgradeHistoryEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpgradeHistoryEntryparseFrom(ByteBuffer data)static UpgradeHistoryEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<UpgradeHistoryEntry>parser()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
-
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()
Optional. The snapshot of the boot disk of this notebook instance before upgrade.
string snapshot = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSnapshotin interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The snapshot.
-
getSnapshotBytes
public com.google.protobuf.ByteString getSnapshotBytes()
Optional. The snapshot of the boot disk of this notebook instance before upgrade.
string snapshot = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSnapshotBytesin interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The bytes for snapshot.
-
getVmImage
public String getVmImage()
Optional. The VM image before this instance upgrade.
string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVmImagein interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The vmImage.
-
getVmImageBytes
public com.google.protobuf.ByteString getVmImageBytes()
Optional. The VM image before this instance upgrade.
string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVmImageBytesin interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The bytes for vmImage.
-
getContainerImage
public String getContainerImage()
Optional. The container image before this instance upgrade.
string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContainerImagein interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The containerImage.
-
getContainerImageBytes
public com.google.protobuf.ByteString getContainerImageBytes()
Optional. The container image before this instance upgrade.
string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContainerImageBytesin interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The bytes for containerImage.
-
getFramework
public String getFramework()
Optional. The framework of this notebook instance.
string framework = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFrameworkin interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The framework.
-
getFrameworkBytes
public com.google.protobuf.ByteString getFrameworkBytes()
Optional. The framework of this notebook instance.
string framework = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFrameworkBytesin interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The bytes for framework.
-
getVersion
public String getVersion()
Optional. The version of the notebook instance before this upgrade.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVersionin interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Optional. The version of the notebook instance before this upgrade.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVersionBytesin interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The bytes for version.
-
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];- Specified by:
getStateValuein interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
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];- Specified by:
getStatein interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The state.
-
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];- Specified by:
hasCreateTimein interfaceUpgradeHistoryEntryOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Immutable. The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getCreateTimein interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Immutable. The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getCreateTimeOrBuilderin interfaceUpgradeHistoryEntryOrBuilder
-
getActionValue
public int getActionValue()
Optional. Action. Rolloback or Upgrade.
.google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionValuein interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
getAction
public UpgradeHistoryEntry.Action getAction()
Optional. Action. Rolloback or Upgrade.
.google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionin interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The action.
-
getTargetVersion
public String getTargetVersion()
Optional. Target VM Version, like m63.
string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTargetVersionin interfaceUpgradeHistoryEntryOrBuilder- Returns:
- The targetVersion.
-
getTargetVersionBytes
public com.google.protobuf.ByteString getTargetVersionBytes()
Optional. Target VM Version, like m63.
string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTargetVersionBytesin interfaceUpgradeHistoryEntryOrBuilder- 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 UpgradeHistoryEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeHistoryEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeHistoryEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static 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 UpgradeHistoryEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeHistoryEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeHistoryEntry parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UpgradeHistoryEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UpgradeHistoryEntry parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UpgradeHistoryEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static UpgradeHistoryEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UpgradeHistoryEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public UpgradeHistoryEntry.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static UpgradeHistoryEntry.Builder newBuilder()
-
newBuilder
public static UpgradeHistoryEntry.Builder newBuilder(UpgradeHistoryEntry prototype)
-
toBuilder
public UpgradeHistoryEntry.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpgradeHistoryEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static UpgradeHistoryEntry getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UpgradeHistoryEntry> parser()
-
getParserForType
public com.google.protobuf.Parser<UpgradeHistoryEntry> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UpgradeHistoryEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-