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 class
UpgradeHistoryEntry.Action
The definition of operations of this upgrade history entry.static class
UpgradeHistoryEntry.Builder
The entry of VM image upgrade history.static class
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_VERSION_FIELD_NUMBER
static int
VERSION_FIELD_NUMBER
static int
VM_IMAGE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
UpgradeHistoryEntry.Action
getAction()
Optional.int
getActionValue()
Optional.String
getContainerImage()
Optional.com.google.protobuf.ByteString
getContainerImageBytes()
Optional.com.google.protobuf.Timestamp
getCreateTime()
Immutable.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Immutable.static UpgradeHistoryEntry
getDefaultInstance()
UpgradeHistoryEntry
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFramework()
Optional.com.google.protobuf.ByteString
getFrameworkBytes()
Optional.com.google.protobuf.Parser<UpgradeHistoryEntry>
getParserForType()
int
getSerializedSize()
String
getSnapshot()
Optional.com.google.protobuf.ByteString
getSnapshotBytes()
Optional.UpgradeHistoryEntry.State
getState()
Output only.int
getStateValue()
Output only.String
getTargetVersion()
Optional.com.google.protobuf.ByteString
getTargetVersionBytes()
Optional.String
getVersion()
Optional.com.google.protobuf.ByteString
getVersionBytes()
Optional.String
getVmImage()
Optional.com.google.protobuf.ByteString
getVmImageBytes()
Optional.boolean
hasCreateTime()
Immutable.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static UpgradeHistoryEntry.Builder
newBuilder()
static UpgradeHistoryEntry.Builder
newBuilder(UpgradeHistoryEntry prototype)
UpgradeHistoryEntry.Builder
newBuilderForType()
protected UpgradeHistoryEntry.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static UpgradeHistoryEntry
parseDelimitedFrom(InputStream input)
static UpgradeHistoryEntry
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UpgradeHistoryEntry
parseFrom(byte[] data)
static UpgradeHistoryEntry
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UpgradeHistoryEntry
parseFrom(com.google.protobuf.ByteString data)
static UpgradeHistoryEntry
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UpgradeHistoryEntry
parseFrom(com.google.protobuf.CodedInputStream input)
static UpgradeHistoryEntry
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UpgradeHistoryEntry
parseFrom(InputStream input)
static UpgradeHistoryEntry
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UpgradeHistoryEntry
parseFrom(ByteBuffer data)
static UpgradeHistoryEntry
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<UpgradeHistoryEntry>
parser()
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
-
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()
Optional. The snapshot of the boot disk of this notebook instance before upgrade.
string snapshot = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSnapshot
in 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:
getSnapshotBytes
in 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:
getVmImage
in 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:
getVmImageBytes
in 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:
getContainerImage
in 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:
getContainerImageBytes
in 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:
getFramework
in 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:
getFrameworkBytes
in 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:
getVersion
in 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:
getVersionBytes
in 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:
getStateValue
in 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:
getState
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
getActionValue
in 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:
getAction
in 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:
getTargetVersion
in 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:
getTargetVersionBytes
in interfaceUpgradeHistoryEntryOrBuilder
- 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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpgradeHistoryEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UpgradeHistoryEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-