- 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 CheckInstanceUpgradabilityResponse.Builder extends GeneratedMessageV3.Builder<CheckInstanceUpgradabilityResponse.Builder> implements CheckInstanceUpgradabilityResponseOrBuilder
Response for checking if a notebook instance is upgradeable.
Protobuf type google.cloud.notebooks.v2.CheckInstanceUpgradabilityResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CheckInstanceUpgradabilityResponse.BuilderImplements
CheckInstanceUpgradabilityResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CheckInstanceUpgradabilityResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
build()
public CheckInstanceUpgradabilityResponse build()
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse |
buildPartial()
public CheckInstanceUpgradabilityResponse buildPartial()
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse |
clear()
public CheckInstanceUpgradabilityResponse.Builder clear()
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public CheckInstanceUpgradabilityResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CheckInstanceUpgradabilityResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
clearUpgradeImage()
public CheckInstanceUpgradabilityResponse.Builder clearUpgradeImage()
The new image self link this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.
string upgrade_image = 4;
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |
clearUpgradeInfo()
public CheckInstanceUpgradabilityResponse.Builder clearUpgradeInfo()
Additional information about upgrade.
string upgrade_info = 3;
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |
clearUpgradeVersion()
public CheckInstanceUpgradabilityResponse.Builder clearUpgradeVersion()
The version this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.
string upgrade_version = 2;
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |
clearUpgradeable()
public CheckInstanceUpgradabilityResponse.Builder clearUpgradeable()
If an instance is upgradeable.
bool upgradeable = 1;
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |
clone()
public CheckInstanceUpgradabilityResponse.Builder clone()
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
getDefaultInstanceForType()
public CheckInstanceUpgradabilityResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getUpgradeImage()
public String getUpgradeImage()
The new image self link this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.
string upgrade_image = 4;
Returns | |
---|---|
Type | Description |
String |
The upgradeImage. |
getUpgradeImageBytes()
public ByteString getUpgradeImageBytes()
The new image self link this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.
string upgrade_image = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for upgradeImage. |
getUpgradeInfo()
public String getUpgradeInfo()
Additional information about upgrade.
string upgrade_info = 3;
Returns | |
---|---|
Type | Description |
String |
The upgradeInfo. |
getUpgradeInfoBytes()
public ByteString getUpgradeInfoBytes()
Additional information about upgrade.
string upgrade_info = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for upgradeInfo. |
getUpgradeVersion()
public String getUpgradeVersion()
The version this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.
string upgrade_version = 2;
Returns | |
---|---|
Type | Description |
String |
The upgradeVersion. |
getUpgradeVersionBytes()
public ByteString getUpgradeVersionBytes()
The version this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.
string upgrade_version = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for upgradeVersion. |
getUpgradeable()
public boolean getUpgradeable()
If an instance is upgradeable.
bool upgradeable = 1;
Returns | |
---|---|
Type | Description |
boolean |
The upgradeable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CheckInstanceUpgradabilityResponse other)
public CheckInstanceUpgradabilityResponse.Builder mergeFrom(CheckInstanceUpgradabilityResponse other)
Parameter | |
---|---|
Name | Description |
other |
CheckInstanceUpgradabilityResponse |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CheckInstanceUpgradabilityResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CheckInstanceUpgradabilityResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CheckInstanceUpgradabilityResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CheckInstanceUpgradabilityResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CheckInstanceUpgradabilityResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CheckInstanceUpgradabilityResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
setUpgradeImage(String value)
public CheckInstanceUpgradabilityResponse.Builder setUpgradeImage(String value)
The new image self link this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.
string upgrade_image = 4;
Parameter | |
---|---|
Name | Description |
value |
String The upgradeImage to set. |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |
setUpgradeImageBytes(ByteString value)
public CheckInstanceUpgradabilityResponse.Builder setUpgradeImageBytes(ByteString value)
The new image self link this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.
string upgrade_image = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for upgradeImage to set. |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |
setUpgradeInfo(String value)
public CheckInstanceUpgradabilityResponse.Builder setUpgradeInfo(String value)
Additional information about upgrade.
string upgrade_info = 3;
Parameter | |
---|---|
Name | Description |
value |
String The upgradeInfo to set. |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |
setUpgradeInfoBytes(ByteString value)
public CheckInstanceUpgradabilityResponse.Builder setUpgradeInfoBytes(ByteString value)
Additional information about upgrade.
string upgrade_info = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for upgradeInfo to set. |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |
setUpgradeVersion(String value)
public CheckInstanceUpgradabilityResponse.Builder setUpgradeVersion(String value)
The version this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.
string upgrade_version = 2;
Parameter | |
---|---|
Name | Description |
value |
String The upgradeVersion to set. |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |
setUpgradeVersionBytes(ByteString value)
public CheckInstanceUpgradabilityResponse.Builder setUpgradeVersionBytes(ByteString value)
The version this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.
string upgrade_version = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for upgradeVersion to set. |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |
setUpgradeable(boolean value)
public CheckInstanceUpgradabilityResponse.Builder setUpgradeable(boolean value)
If an instance is upgradeable.
bool upgradeable = 1;
Parameter | |
---|---|
Name | Description |
value |
boolean The upgradeable to set. |
Returns | |
---|---|
Type | Description |
CheckInstanceUpgradabilityResponse.Builder |
This builder for chaining. |