Class Instance.UpgradeHistoryEntry.Builder (0.16.0)

public static final class Instance.UpgradeHistoryEntry.Builder extends GeneratedMessageV3.Builder<Instance.UpgradeHistoryEntry.Builder> implements Instance.UpgradeHistoryEntryOrBuilder

The entry of VM image upgrade history.

Protobuf type google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Instance.UpgradeHistoryEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides

build()

public Instance.UpgradeHistoryEntry build()
Returns
Type Description
Instance.UpgradeHistoryEntry

buildPartial()

public Instance.UpgradeHistoryEntry buildPartial()
Returns
Type Description
Instance.UpgradeHistoryEntry

clear()

public Instance.UpgradeHistoryEntry.Builder clear()
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides

clearAction()

public Instance.UpgradeHistoryEntry.Builder clearAction()

Action. Rolloback or Upgrade.

.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action action = 9;

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

clearContainerImage()

public Instance.UpgradeHistoryEntry.Builder clearContainerImage()

The container image before this instance upgrade.

string container_image = 3;

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

clearCreateTime()

public Instance.UpgradeHistoryEntry.Builder clearCreateTime()

The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public Instance.UpgradeHistoryEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides

clearFramework()

public Instance.UpgradeHistoryEntry.Builder clearFramework()

The framework of this notebook instance.

string framework = 4;

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.UpgradeHistoryEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides

clearSnapshot()

public Instance.UpgradeHistoryEntry.Builder clearSnapshot()

The snapshot of the boot disk of this notebook instance before upgrade.

string snapshot = 1;

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

clearState()

public Instance.UpgradeHistoryEntry.Builder clearState()

The state of this instance upgrade history entry.

.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

clearTargetImage()

public Instance.UpgradeHistoryEntry.Builder clearTargetImage()

Target VM Image. Format: ainotebooks-vm/project/image-name/name.

string target_image = 8;

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

clearTargetVersion()

public Instance.UpgradeHistoryEntry.Builder clearTargetVersion()

Target VM Version, like m63.

string target_version = 10;

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

clearVersion()

public Instance.UpgradeHistoryEntry.Builder clearVersion()

The version of the notebook instance before this upgrade.

string version = 5;

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

clearVmImage()

public Instance.UpgradeHistoryEntry.Builder clearVmImage()

The VM image before this instance upgrade.

string vm_image = 2;

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

clone()

public Instance.UpgradeHistoryEntry.Builder clone()
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides

getAction()

public Instance.UpgradeHistoryEntry.Action getAction()

Action. Rolloback or Upgrade.

.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action action = 9;

Returns
Type Description
Instance.UpgradeHistoryEntry.Action

The action.

getActionValue()

public int getActionValue()

Action. Rolloback or Upgrade.

.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action action = 9;

Returns
Type Description
int

The enum numeric value on the wire for action.

getContainerImage()

public String getContainerImage()

The container image before this instance upgrade.

string container_image = 3;

Returns
Type Description
String

The containerImage.

getContainerImageBytes()

public ByteString getContainerImageBytes()

The container image before this instance upgrade.

string container_image = 3;

Returns
Type Description
ByteString

The bytes for containerImage.

getCreateTime()

public Timestamp getCreateTime()

The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Instance.UpgradeHistoryEntry getDefaultInstanceForType()
Returns
Type Description
Instance.UpgradeHistoryEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFramework()

public String getFramework()

The framework of this notebook instance.

string framework = 4;

Returns
Type Description
String

The framework.

getFrameworkBytes()

public ByteString getFrameworkBytes()

The framework of this notebook instance.

string framework = 4;

Returns
Type Description
ByteString

The bytes for framework.

getSnapshot()

public String getSnapshot()

The snapshot of the boot disk of this notebook instance before upgrade.

string snapshot = 1;

Returns
Type Description
String

The snapshot.

getSnapshotBytes()

public ByteString getSnapshotBytes()

The snapshot of the boot disk of this notebook instance before upgrade.

string snapshot = 1;

Returns
Type Description
ByteString

The bytes for snapshot.

getState()

public Instance.UpgradeHistoryEntry.State getState()

The state of this instance upgrade history entry.

.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;

Returns
Type Description
Instance.UpgradeHistoryEntry.State

The state.

getStateValue()

public int getStateValue()

The state of this instance upgrade history entry.

.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTargetImage()

public String getTargetImage()

Target VM Image. Format: ainotebooks-vm/project/image-name/name.

string target_image = 8;

Returns
Type Description
String

The targetImage.

getTargetImageBytes()

public ByteString getTargetImageBytes()

Target VM Image. Format: ainotebooks-vm/project/image-name/name.

string target_image = 8;

Returns
Type Description
ByteString

The bytes for targetImage.

getTargetVersion()

public String getTargetVersion()

Target VM Version, like m63.

string target_version = 10;

Returns
Type Description
String

The targetVersion.

getTargetVersionBytes()

public ByteString getTargetVersionBytes()

Target VM Version, like m63.

string target_version = 10;

Returns
Type Description
ByteString

The bytes for targetVersion.

getVersion()

public String getVersion()

The version of the notebook instance before this upgrade.

string version = 5;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The version of the notebook instance before this upgrade.

string version = 5;

Returns
Type Description
ByteString

The bytes for version.

getVmImage()

public String getVmImage()

The VM image before this instance upgrade.

string vm_image = 2;

Returns
Type Description
String

The vmImage.

getVmImageBytes()

public ByteString getVmImageBytes()

The VM image before this instance upgrade.

string vm_image = 2;

Returns
Type Description
ByteString

The bytes for vmImage.

hasCreateTime()

public boolean hasCreateTime()

The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Instance.UpgradeHistoryEntry.Builder mergeCreateTime(Timestamp value)

The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

mergeFrom(Instance.UpgradeHistoryEntry other)

public Instance.UpgradeHistoryEntry.Builder mergeFrom(Instance.UpgradeHistoryEntry other)
Parameter
Name Description
other Instance.UpgradeHistoryEntry
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Instance.UpgradeHistoryEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Instance.UpgradeHistoryEntry.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.UpgradeHistoryEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides

setAction(Instance.UpgradeHistoryEntry.Action value)

public Instance.UpgradeHistoryEntry.Builder setAction(Instance.UpgradeHistoryEntry.Action value)

Action. Rolloback or Upgrade.

.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action action = 9;

Parameter
Name Description
value Instance.UpgradeHistoryEntry.Action

The action to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setActionValue(int value)

public Instance.UpgradeHistoryEntry.Builder setActionValue(int value)

Action. Rolloback or Upgrade.

.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action action = 9;

Parameter
Name Description
value int

The enum numeric value on the wire for action to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setContainerImage(String value)

public Instance.UpgradeHistoryEntry.Builder setContainerImage(String value)

The container image before this instance upgrade.

string container_image = 3;

Parameter
Name Description
value String

The containerImage to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setContainerImageBytes(ByteString value)

public Instance.UpgradeHistoryEntry.Builder setContainerImageBytes(ByteString value)

The container image before this instance upgrade.

string container_image = 3;

Parameter
Name Description
value ByteString

The bytes for containerImage to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Instance.UpgradeHistoryEntry.Builder setCreateTime(Timestamp value)

The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Instance.UpgradeHistoryEntry.Builder setCreateTime(Timestamp.Builder builderForValue)

The time that this instance upgrade history entry is created.

.google.protobuf.Timestamp create_time = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.UpgradeHistoryEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides

setFramework(String value)

public Instance.UpgradeHistoryEntry.Builder setFramework(String value)

The framework of this notebook instance.

string framework = 4;

Parameter
Name Description
value String

The framework to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setFrameworkBytes(ByteString value)

public Instance.UpgradeHistoryEntry.Builder setFrameworkBytes(ByteString value)

The framework of this notebook instance.

string framework = 4;

Parameter
Name Description
value ByteString

The bytes for framework to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Instance.UpgradeHistoryEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides

setSnapshot(String value)

public Instance.UpgradeHistoryEntry.Builder setSnapshot(String value)

The snapshot of the boot disk of this notebook instance before upgrade.

string snapshot = 1;

Parameter
Name Description
value String

The snapshot to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setSnapshotBytes(ByteString value)

public Instance.UpgradeHistoryEntry.Builder setSnapshotBytes(ByteString value)

The snapshot of the boot disk of this notebook instance before upgrade.

string snapshot = 1;

Parameter
Name Description
value ByteString

The bytes for snapshot to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setState(Instance.UpgradeHistoryEntry.State value)

public Instance.UpgradeHistoryEntry.Builder setState(Instance.UpgradeHistoryEntry.State value)

The state of this instance upgrade history entry.

.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;

Parameter
Name Description
value Instance.UpgradeHistoryEntry.State

The state to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setStateValue(int value)

public Instance.UpgradeHistoryEntry.Builder setStateValue(int value)

The state of this instance upgrade history entry.

.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setTargetImage(String value)

public Instance.UpgradeHistoryEntry.Builder setTargetImage(String value)

Target VM Image. Format: ainotebooks-vm/project/image-name/name.

string target_image = 8;

Parameter
Name Description
value String

The targetImage to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setTargetImageBytes(ByteString value)

public Instance.UpgradeHistoryEntry.Builder setTargetImageBytes(ByteString value)

Target VM Image. Format: ainotebooks-vm/project/image-name/name.

string target_image = 8;

Parameter
Name Description
value ByteString

The bytes for targetImage to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setTargetVersion(String value)

public Instance.UpgradeHistoryEntry.Builder setTargetVersion(String value)

Target VM Version, like m63.

string target_version = 10;

Parameter
Name Description
value String

The targetVersion to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setTargetVersionBytes(ByteString value)

public Instance.UpgradeHistoryEntry.Builder setTargetVersionBytes(ByteString value)

Target VM Version, like m63.

string target_version = 10;

Parameter
Name Description
value ByteString

The bytes for targetVersion to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.UpgradeHistoryEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.UpgradeHistoryEntry.Builder
Overrides

setVersion(String value)

public Instance.UpgradeHistoryEntry.Builder setVersion(String value)

The version of the notebook instance before this upgrade.

string version = 5;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Instance.UpgradeHistoryEntry.Builder setVersionBytes(ByteString value)

The version of the notebook instance before this upgrade.

string version = 5;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setVmImage(String value)

public Instance.UpgradeHistoryEntry.Builder setVmImage(String value)

The VM image before this instance upgrade.

string vm_image = 2;

Parameter
Name Description
value String

The vmImage to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.

setVmImageBytes(ByteString value)

public Instance.UpgradeHistoryEntry.Builder setVmImageBytes(ByteString value)

The VM image before this instance upgrade.

string vm_image = 2;

Parameter
Name Description
value ByteString

The bytes for vmImage to set.

Returns
Type Description
Instance.UpgradeHistoryEntry.Builder

This builder for chaining.