public final class IsInstanceUpgradeableResponse extends GeneratedMessageV3 implements IsInstanceUpgradeableResponseOrBuilder
Response for checking if a notebook instance is upgradeable.
Protobuf type google.cloud.notebooks.v1beta1.IsInstanceUpgradeableResponse
Static Fields
UPGRADEABLE_FIELD_NUMBER
public static final int UPGRADEABLE_FIELD_NUMBER
Field Value
UPGRADE_INFO_FIELD_NUMBER
public static final int UPGRADE_INFO_FIELD_NUMBER
Field Value
UPGRADE_VERSION_FIELD_NUMBER
public static final int UPGRADE_VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static IsInstanceUpgradeableResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static IsInstanceUpgradeableResponse.Builder newBuilder()
Returns
newBuilder(IsInstanceUpgradeableResponse prototype)
public static IsInstanceUpgradeableResponse.Builder newBuilder(IsInstanceUpgradeableResponse prototype)
Parameter
Returns
public static IsInstanceUpgradeableResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static IsInstanceUpgradeableResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static IsInstanceUpgradeableResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IsInstanceUpgradeableResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static IsInstanceUpgradeableResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IsInstanceUpgradeableResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IsInstanceUpgradeableResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static IsInstanceUpgradeableResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IsInstanceUpgradeableResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static IsInstanceUpgradeableResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static IsInstanceUpgradeableResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IsInstanceUpgradeableResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<IsInstanceUpgradeableResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public IsInstanceUpgradeableResponse getDefaultInstanceForType()
Returns
getParserForType()
public Parser<IsInstanceUpgradeableResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public IsInstanceUpgradeableResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IsInstanceUpgradeableResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public IsInstanceUpgradeableResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions