public static final class IsInstanceUpgradeableResponse.Builder extends GeneratedMessageV3.Builder<IsInstanceUpgradeableResponse.Builder> implements IsInstanceUpgradeableResponseOrBuilder
Response for checking if a notebook instance is upgradeable.
Protobuf type google.cloud.notebooks.v1beta1.IsInstanceUpgradeableResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IsInstanceUpgradeableResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public IsInstanceUpgradeableResponse build()
Returns
buildPartial()
public IsInstanceUpgradeableResponse buildPartial()
Returns
clear()
public IsInstanceUpgradeableResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public IsInstanceUpgradeableResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IsInstanceUpgradeableResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpgradeInfo()
public IsInstanceUpgradeableResponse.Builder clearUpgradeInfo()
Additional information about upgrade.
string upgrade_info = 3;
Returns
clearUpgradeVersion()
public IsInstanceUpgradeableResponse.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
clearUpgradeable()
public IsInstanceUpgradeableResponse.Builder clearUpgradeable()
If an instance is upgradeable.
bool upgradeable = 1;
Returns
clone()
public IsInstanceUpgradeableResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public IsInstanceUpgradeableResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(IsInstanceUpgradeableResponse other)
public IsInstanceUpgradeableResponse.Builder mergeFrom(IsInstanceUpgradeableResponse other)
Parameter
Returns
public IsInstanceUpgradeableResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public IsInstanceUpgradeableResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IsInstanceUpgradeableResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public IsInstanceUpgradeableResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IsInstanceUpgradeableResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IsInstanceUpgradeableResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpgradeInfo(String value)
public IsInstanceUpgradeableResponse.Builder setUpgradeInfo(String value)
Additional information about upgrade.
string upgrade_info = 3;
Parameter
Name | Description |
value | String
The upgradeInfo to set.
|
Returns
setUpgradeInfoBytes(ByteString value)
public IsInstanceUpgradeableResponse.Builder setUpgradeInfoBytes(ByteString value)
Additional information about upgrade.
string upgrade_info = 3;
Parameter
Name | Description |
value | ByteString
The bytes for upgradeInfo to set.
|
Returns
setUpgradeVersion(String value)
public IsInstanceUpgradeableResponse.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
setUpgradeVersionBytes(ByteString value)
public IsInstanceUpgradeableResponse.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
setUpgradeable(boolean value)
public IsInstanceUpgradeableResponse.Builder setUpgradeable(boolean value)
If an instance is upgradeable.
bool upgradeable = 1;
Parameter
Name | Description |
value | boolean
The upgradeable to set.
|
Returns