Class CheckInstanceUpgradabilityResponse (1.34.0)

public final class CheckInstanceUpgradabilityResponse extends GeneratedMessageV3 implements CheckInstanceUpgradabilityResponseOrBuilder

Response for checking if a notebook instance is upgradeable.

Protobuf type google.cloud.notebooks.v2.CheckInstanceUpgradabilityResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CheckInstanceUpgradabilityResponse

Static Fields

UPGRADEABLE_FIELD_NUMBER

public static final int UPGRADEABLE_FIELD_NUMBER
Field Value
TypeDescription
int

UPGRADE_IMAGE_FIELD_NUMBER

public static final int UPGRADE_IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

UPGRADE_INFO_FIELD_NUMBER

public static final int UPGRADE_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

UPGRADE_VERSION_FIELD_NUMBER

public static final int UPGRADE_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CheckInstanceUpgradabilityResponse getDefaultInstance()
Returns
TypeDescription
CheckInstanceUpgradabilityResponse

getDescriptor()

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

newBuilder()

public static CheckInstanceUpgradabilityResponse.Builder newBuilder()
Returns
TypeDescription
CheckInstanceUpgradabilityResponse.Builder

newBuilder(CheckInstanceUpgradabilityResponse prototype)

public static CheckInstanceUpgradabilityResponse.Builder newBuilder(CheckInstanceUpgradabilityResponse prototype)
Parameter
NameDescription
prototypeCheckInstanceUpgradabilityResponse
Returns
TypeDescription
CheckInstanceUpgradabilityResponse.Builder

parseDelimitedFrom(InputStream input)

public static CheckInstanceUpgradabilityResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckInstanceUpgradabilityResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CheckInstanceUpgradabilityResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CheckInstanceUpgradabilityResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CheckInstanceUpgradabilityResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CheckInstanceUpgradabilityResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CheckInstanceUpgradabilityResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckInstanceUpgradabilityResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CheckInstanceUpgradabilityResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckInstanceUpgradabilityResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CheckInstanceUpgradabilityResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CheckInstanceUpgradabilityResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckInstanceUpgradabilityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CheckInstanceUpgradabilityResponse> parser()
Returns
TypeDescription
Parser<CheckInstanceUpgradabilityResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CheckInstanceUpgradabilityResponse getDefaultInstanceForType()
Returns
TypeDescription
CheckInstanceUpgradabilityResponse

getParserForType()

public Parser<CheckInstanceUpgradabilityResponse> getParserForType()
Returns
TypeDescription
Parser<CheckInstanceUpgradabilityResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

The bytes for upgradeImage.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CheckInstanceUpgradabilityResponse.Builder newBuilderForType()
Returns
TypeDescription
CheckInstanceUpgradabilityResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CheckInstanceUpgradabilityResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CheckInstanceUpgradabilityResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CheckInstanceUpgradabilityResponse.Builder toBuilder()
Returns
TypeDescription
CheckInstanceUpgradabilityResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException