Class IsInstanceUpgradeableResponse.Builder (0.6.2)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IsInstanceUpgradeableResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides

build()

public IsInstanceUpgradeableResponse build()
Returns
TypeDescription
IsInstanceUpgradeableResponse

buildPartial()

public IsInstanceUpgradeableResponse buildPartial()
Returns
TypeDescription
IsInstanceUpgradeableResponse

clear()

public IsInstanceUpgradeableResponse.Builder clear()
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IsInstanceUpgradeableResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IsInstanceUpgradeableResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides

clearUpgradeInfo()

public IsInstanceUpgradeableResponse.Builder clearUpgradeInfo()

Additional information about upgrade.

string upgrade_info = 3;

Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder

This builder for chaining.

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
TypeDescription
IsInstanceUpgradeableResponse.Builder

This builder for chaining.

clearUpgradeable()

public IsInstanceUpgradeableResponse.Builder clearUpgradeable()

If an instance is upgradeable.

bool upgradeable = 1;

Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder

This builder for chaining.

clone()

public IsInstanceUpgradeableResponse.Builder clone()
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides

getDefaultInstanceForType()

public IsInstanceUpgradeableResponse getDefaultInstanceForType()
Returns
TypeDescription
IsInstanceUpgradeableResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpgradeInfo()

public String getUpgradeInfo()

Additional information about upgrade.

string upgrade_info = 3;

Returns
TypeDescription
String

The upgradeInfo.

getUpgradeInfoBytes()

public ByteString getUpgradeInfoBytes()

Additional information about upgrade.

string upgrade_info = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for upgradeVersion.

getUpgradeable()

public boolean getUpgradeable()

If an instance is upgradeable.

bool upgradeable = 1;

Returns
TypeDescription
boolean

The upgradeable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IsInstanceUpgradeableResponse other)

public IsInstanceUpgradeableResponse.Builder mergeFrom(IsInstanceUpgradeableResponse other)
Parameter
NameDescription
otherIsInstanceUpgradeableResponse
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IsInstanceUpgradeableResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IsInstanceUpgradeableResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IsInstanceUpgradeableResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public IsInstanceUpgradeableResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides

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

public IsInstanceUpgradeableResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IsInstanceUpgradeableResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder
Overrides

setUpgradeInfo(String value)

public IsInstanceUpgradeableResponse.Builder setUpgradeInfo(String value)

Additional information about upgrade.

string upgrade_info = 3;

Parameter
NameDescription
valueString

The upgradeInfo to set.

Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder

This builder for chaining.

setUpgradeInfoBytes(ByteString value)

public IsInstanceUpgradeableResponse.Builder setUpgradeInfoBytes(ByteString value)

Additional information about upgrade.

string upgrade_info = 3;

Parameter
NameDescription
valueByteString

The bytes for upgradeInfo to set.

Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder

This builder for chaining.

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
NameDescription
valueString

The upgradeVersion to set.

Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for upgradeVersion to set.

Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder

This builder for chaining.

setUpgradeable(boolean value)

public IsInstanceUpgradeableResponse.Builder setUpgradeable(boolean value)

If an instance is upgradeable.

bool upgradeable = 1;

Parameter
NameDescription
valueboolean

The upgradeable to set.

Returns
TypeDescription
IsInstanceUpgradeableResponse.Builder

This builder for chaining.