Class 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 type google.cloud.notebooks.v2.UpgradeHistoryEntry
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
      • 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 interface UpgradeHistoryEntryOrBuilder
        Returns:
        The enum numeric value on the wire for action.
      • getTargetVersion

        public String getTargetVersion()
         Optional. Target VM Version, like m63.
         
        string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTargetVersion in interface UpgradeHistoryEntryOrBuilder
        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 interface UpgradeHistoryEntryOrBuilder
        Returns:
        The bytes for targetVersion.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Throws:
        IOException
      • newBuilderForType

        public UpgradeHistoryEntry.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public UpgradeHistoryEntry.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected UpgradeHistoryEntry.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<UpgradeHistoryEntry> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public UpgradeHistoryEntry getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder