- 1.51.0 (latest)
- 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 UpgradeHistoryEntry.Builder extends GeneratedMessageV3.Builder<UpgradeHistoryEntry.Builder> implements UpgradeHistoryEntryOrBuilder
The entry of VM image upgrade history.
Protobuf type google.cloud.notebooks.v2.UpgradeHistoryEntry
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpgradeHistoryEntry.BuilderImplements
UpgradeHistoryEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeHistoryEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
build()
public UpgradeHistoryEntry build()
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry |
buildPartial()
public UpgradeHistoryEntry buildPartial()
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry |
clear()
public UpgradeHistoryEntry.Builder clear()
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
clearAction()
public UpgradeHistoryEntry.Builder clearAction()
Optional. Action. Rolloback or Upgrade.
.google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
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 | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpgradeHistoryEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
clearFramework()
public UpgradeHistoryEntry.Builder clearFramework()
Optional. The framework of this notebook instance.
string framework = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeHistoryEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
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 | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
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 | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
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 | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
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 | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
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 | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
clone()
public UpgradeHistoryEntry.Builder clone()
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
getAction()
public UpgradeHistoryEntry.Action getAction()
Optional. Action. Rolloback or Upgrade.
.google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Action |
The action. |
getActionValue()
public int getActionValue()
Optional. Action. Rolloback or Upgrade.
.google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for action. |
getContainerImage()
public String getContainerImage()
Optional. The container image before this instance upgrade.
string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The containerImage. |
getContainerImageBytes()
public ByteString getContainerImageBytes()
Optional. The container image before this instance upgrade.
string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for containerImage. |
getCreateTime()
public Timestamp getCreateTime()
Immutable. The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Immutable. The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public UpgradeHistoryEntry getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFramework()
public String getFramework()
Optional. The framework of this notebook instance.
string framework = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The framework. |
getFrameworkBytes()
public ByteString getFrameworkBytes()
Optional. The framework of this notebook instance.
string framework = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for framework. |
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];
Returns | |
---|---|
Type | Description |
String |
The snapshot. |
getSnapshotBytes()
public ByteString getSnapshotBytes()
Optional. The snapshot of the boot disk of this notebook instance before upgrade.
string snapshot = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for snapshot. |
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];
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.State |
The state. |
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getTargetVersion()
public String getTargetVersion()
Optional. Target VM Version, like m63.
string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The targetVersion. |
getTargetVersionBytes()
public ByteString getTargetVersionBytes()
Optional. Target VM Version, like m63.
string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for targetVersion. |
getVersion()
public String getVersion()
Optional. The version of the notebook instance before this upgrade.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()
Optional. The version of the notebook instance before this upgrade.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for version. |
getVmImage()
public String getVmImage()
Optional. The VM image before this instance upgrade.
string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The vmImage. |
getVmImageBytes()
public ByteString getVmImageBytes()
Optional. The VM image before this instance upgrade.
string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for vmImage. |
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];
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 UpgradeHistoryEntry.Builder mergeCreateTime(Timestamp value)
Immutable. The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
mergeFrom(UpgradeHistoryEntry other)
public UpgradeHistoryEntry.Builder mergeFrom(UpgradeHistoryEntry other)
Parameter | |
---|---|
Name | Description |
other |
UpgradeHistoryEntry |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpgradeHistoryEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpgradeHistoryEntry.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeHistoryEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
setAction(UpgradeHistoryEntry.Action value)
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];
Parameter | |
---|---|
Name | Description |
value |
UpgradeHistoryEntry.Action The action to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setActionValue(int value)
public UpgradeHistoryEntry.Builder setActionValue(int value)
Optional. Action. Rolloback or Upgrade.
.google.cloud.notebooks.v2.UpgradeHistoryEntry.Action action = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for action to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setContainerImage(String value)
public UpgradeHistoryEntry.Builder setContainerImage(String value)
Optional. The container image before this instance upgrade.
string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The containerImage to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setContainerImageBytes(ByteString value)
public UpgradeHistoryEntry.Builder setContainerImageBytes(ByteString value)
Optional. The container image before this instance upgrade.
string container_image = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for containerImage to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public UpgradeHistoryEntry.Builder setCreateTime(Timestamp value)
Immutable. The time that this instance upgrade history entry is created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public UpgradeHistoryEntry.Builder setCreateTime(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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpgradeHistoryEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
setFramework(String value)
public UpgradeHistoryEntry.Builder setFramework(String value)
Optional. The framework of this notebook instance.
string framework = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The framework to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setFrameworkBytes(ByteString value)
public UpgradeHistoryEntry.Builder setFrameworkBytes(ByteString value)
Optional. The framework of this notebook instance.
string framework = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for framework to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpgradeHistoryEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
setSnapshot(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The snapshot to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setSnapshotBytes(ByteString value)
public UpgradeHistoryEntry.Builder setSnapshotBytes(ByteString value)
Optional. The snapshot of the boot disk of this notebook instance before upgrade.
string snapshot = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for snapshot to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setState(UpgradeHistoryEntry.State value)
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];
Parameter | |
---|---|
Name | Description |
value |
UpgradeHistoryEntry.State The state to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setTargetVersion(String value)
public UpgradeHistoryEntry.Builder setTargetVersion(String value)
Optional. Target VM Version, like m63.
string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The targetVersion to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setTargetVersionBytes(ByteString value)
public UpgradeHistoryEntry.Builder setTargetVersionBytes(ByteString value)
Optional. Target VM Version, like m63.
string target_version = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for targetVersion to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeHistoryEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
setVersion(String value)
public UpgradeHistoryEntry.Builder setVersion(String value)
Optional. The version of the notebook instance before this upgrade.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The version to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public UpgradeHistoryEntry.Builder setVersionBytes(ByteString value)
Optional. The version of the notebook instance before this upgrade.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setVmImage(String value)
public UpgradeHistoryEntry.Builder setVmImage(String value)
Optional. The VM image before this instance upgrade.
string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The vmImage to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |
setVmImageBytes(ByteString value)
public UpgradeHistoryEntry.Builder setVmImageBytes(ByteString value)
Optional. The VM image before this instance upgrade.
string vm_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for vmImage to set. |
Returns | |
---|---|
Type | Description |
UpgradeHistoryEntry.Builder |
This builder for chaining. |