Class UpgradeHistoryEntry.Builder

    • Method Detail

      • 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.Builder<UpgradeHistoryEntry.Builder>
      • clear

        public UpgradeHistoryEntry.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpgradeHistoryEntry.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>
      • setField

        public UpgradeHistoryEntry.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>
      • clearField

        public UpgradeHistoryEntry.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>
      • clearOneof

        public UpgradeHistoryEntry.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>
      • setRepeatedField

        public UpgradeHistoryEntry.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>
      • addRepeatedField

        public UpgradeHistoryEntry.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>
      • mergeFrom

        public UpgradeHistoryEntry.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpgradeHistoryEntry.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>
      • mergeFrom

        public UpgradeHistoryEntry.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpgradeHistoryEntry.Builder>
        Throws:
        IOException
      • 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.
      • setSnapshot

        public UpgradeHistoryEntry.Builder setSnapshot​(String value)
         Optional. The snapshot of the boot disk of this notebook instance before
         upgrade.
         
        string snapshot = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The snapshot to set.
        Returns:
        This builder for chaining.
      • clearSnapshot

        public UpgradeHistoryEntry.Builder clearSnapshot()
         Optional. The snapshot of the boot disk of this notebook instance before
         upgrade.
         
        string snapshot = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setSnapshotBytes

        public UpgradeHistoryEntry.Builder setSnapshotBytes​(com.google.protobuf.ByteString value)
         Optional. The snapshot of the boot disk of this notebook instance before
         upgrade.
         
        string snapshot = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for snapshot to set.
        Returns:
        This builder for chaining.
      • 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.
      • setVmImage

        public UpgradeHistoryEntry.Builder setVmImage​(String value)
         Optional. The VM image before this instance upgrade.
         
        string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The vmImage to set.
        Returns:
        This builder for chaining.
      • clearVmImage

        public UpgradeHistoryEntry.Builder clearVmImage()
         Optional. The VM image before this instance upgrade.
         
        string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setVmImageBytes

        public UpgradeHistoryEntry.Builder setVmImageBytes​(com.google.protobuf.ByteString value)
         Optional. The VM image before this instance upgrade.
         
        string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for vmImage to set.
        Returns:
        This builder for chaining.
      • 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.
      • setContainerImage

        public UpgradeHistoryEntry.Builder setContainerImage​(String value)
         Optional. The container image before this instance upgrade.
         
        string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The containerImage to set.
        Returns:
        This builder for chaining.
      • clearContainerImage

        public UpgradeHistoryEntry.Builder clearContainerImage()
         Optional. The container image before this instance upgrade.
         
        string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setContainerImageBytes

        public UpgradeHistoryEntry.Builder setContainerImageBytes​(com.google.protobuf.ByteString value)
         Optional. The container image before this instance upgrade.
         
        string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for containerImage to set.
        Returns:
        This builder for chaining.
      • 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.
      • setFramework

        public UpgradeHistoryEntry.Builder setFramework​(String value)
         Optional. The framework of this notebook instance.
         
        string framework = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The framework to set.
        Returns:
        This builder for chaining.
      • clearFramework

        public UpgradeHistoryEntry.Builder clearFramework()
         Optional. The framework of this notebook instance.
         
        string framework = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setFrameworkBytes

        public UpgradeHistoryEntry.Builder setFrameworkBytes​(com.google.protobuf.ByteString value)
         Optional. The framework of this notebook instance.
         
        string framework = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for framework to set.
        Returns:
        This builder for chaining.
      • 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.
      • setVersion

        public UpgradeHistoryEntry.Builder setVersion​(String value)
         Optional. The version of the notebook instance before this upgrade.
         
        string version = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public UpgradeHistoryEntry.Builder clearVersion()
         Optional. The version of the notebook instance before this upgrade.
         
        string version = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setVersionBytes

        public UpgradeHistoryEntry.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         Optional. The version of the notebook instance before this upgrade.
         
        string version = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • 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.
      • setStateValue

        public UpgradeHistoryEntry.Builder setStateValue​(int value)
         Output only. The state of this instance upgrade history entry.
         
        .google.cloud.notebooks.v2.UpgradeHistoryEntry.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • 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.
      • setState

        public UpgradeHistoryEntry.Builder setState​(UpgradeHistoryEntry.State value)
         Output only. The state of this instance upgrade history entry.
         
        .google.cloud.notebooks.v2.UpgradeHistoryEntry.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public UpgradeHistoryEntry.Builder clearState()
         Output only. The state of this instance upgrade history entry.
         
        .google.cloud.notebooks.v2.UpgradeHistoryEntry.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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.
      • setCreateTime

        public UpgradeHistoryEntry.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Immutable. The time that this instance upgrade history entry is created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];
      • setCreateTime

        public UpgradeHistoryEntry.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Immutable. The time that this instance upgrade history entry is created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];
      • mergeCreateTime

        public UpgradeHistoryEntry.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Immutable. The time that this instance upgrade history entry is created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];
      • clearCreateTime

        public UpgradeHistoryEntry.Builder clearCreateTime()
         Immutable. The time that this instance upgrade history entry is created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Immutable. The time that this instance upgrade history entry is created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];
      • 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.
      • setActionValue

        public UpgradeHistoryEntry.Builder setActionValue​(int value)
         Optional. Action. Rolloback or Upgrade.
         
        .google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The enum numeric value on the wire for action to set.
        Returns:
        This builder for chaining.
      • setAction

        public UpgradeHistoryEntry.Builder setAction​(UpgradeHistoryEntry.Action value)
         Optional. Action. Rolloback or Upgrade.
         
        .google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The action to set.
        Returns:
        This builder for chaining.
      • clearAction

        public UpgradeHistoryEntry.Builder clearAction()
         Optional. Action. Rolloback or Upgrade.
         
        .google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • 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.
      • setTargetVersion

        public UpgradeHistoryEntry.Builder setTargetVersion​(String value)
         Optional. Target VM Version, like m63.
         
        string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The targetVersion to set.
        Returns:
        This builder for chaining.
      • clearTargetVersion

        public UpgradeHistoryEntry.Builder clearTargetVersion()
         Optional. Target VM Version, like m63.
         
        string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setTargetVersionBytes

        public UpgradeHistoryEntry.Builder setTargetVersionBytes​(com.google.protobuf.ByteString value)
         Optional. Target VM Version, like m63.
         
        string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for targetVersion to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final UpgradeHistoryEntry.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>
      • mergeUnknownFields

        public final UpgradeHistoryEntry.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder>