Class Instance.UpgradeHistoryEntry

    • 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
      • 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 interface Instance.UpgradeHistoryEntryOrBuilder
        Returns:
        The bytes for snapshot.
      • getContainerImageBytes

        public com.google.protobuf.ByteString getContainerImageBytes()
         The container image before this instance upgrade.
         
        string container_image = 3;
        Specified by:
        getContainerImageBytes in interface Instance.UpgradeHistoryEntryOrBuilder
        Returns:
        The bytes for containerImage.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         The version of the notebook instance before this upgrade.
         
        string version = 5;
        Specified by:
        getVersionBytes in interface Instance.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 interface Instance.UpgradeHistoryEntryOrBuilder
        Returns:
        The enum numeric value on the wire for 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 interface Instance.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 interface Instance.UpgradeHistoryEntryOrBuilder
        Returns:
        The createTime.
      • getTargetImage

        @Deprecated
        public String getTargetImage()
        Deprecated.
        google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.target_image is deprecated. See google/cloud/notebooks/v1/instance.proto;l=352
         Target VM Image. Format: `ainotebooks-vm/project/image-name/name`.
         
        string target_image = 8 [deprecated = true];
        Specified by:
        getTargetImage in interface Instance.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=352
         Target VM Image. Format: `ainotebooks-vm/project/image-name/name`.
         
        string target_image = 8 [deprecated = true];
        Specified by:
        getTargetImageBytes in interface Instance.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 interface Instance.UpgradeHistoryEntryOrBuilder
        Returns:
        The enum numeric value on the wire for action.
      • 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 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
      • newBuilderForType

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

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

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

        public com.google.protobuf.Parser<Instance.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 Instance.UpgradeHistoryEntry getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder