- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
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.cloud.notebooks.v1.Instance.UpgradeHistoryEntry
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.UpgradeHistoryEntry.BuilderImplements
Instance.UpgradeHistoryEntryOrBuilderStatic 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 |
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 |
clearAction()
public Instance.UpgradeHistoryEntry.Builder clearAction()
Action. Rolloback or Upgrade.
.google.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 |
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 |
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.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;
Returns | |
---|---|
Type | Description |
Instance.UpgradeHistoryEntry.Builder |
This builder for chaining. |
clearTargetImage() (deprecated)
public Instance.UpgradeHistoryEntry.Builder clearTargetImage()
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];
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 |
getAction()
public Instance.UpgradeHistoryEntry.Action getAction()
Action. Rolloback or Upgrade.
.google.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.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 |
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.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.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State state = 6;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
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];
Returns | |
---|---|
Type | Description |
String |
The targetImage. |
getTargetImageBytes() (deprecated)
public 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];
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.UpgradeHistoryEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Instance.UpgradeHistoryEntry.Builder |
setAction(Instance.UpgradeHistoryEntry.Action value)
public Instance.UpgradeHistoryEntry.Builder setAction(Instance.UpgradeHistoryEntry.Action value)
Action. Rolloback or Upgrade.
.google.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.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 |
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 |
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.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.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) (deprecated)
public Instance.UpgradeHistoryEntry.Builder setTargetImage(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The targetImage to set. |
Returns | |
---|---|
Type | Description |
Instance.UpgradeHistoryEntry.Builder |
This builder for chaining. |
setTargetImageBytes(ByteString value) (deprecated)
public Instance.UpgradeHistoryEntry.Builder setTargetImageBytes(ByteString value)
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];
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 |
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. |