public final class UpgradeRuntimeRequest extends GeneratedMessageV3 implements UpgradeRuntimeRequestOrBuilder
Request for upgrading a Managed Notebook Runtime to the latest version.
option (google.api.message_visibility).restriction =
"TRUSTED_TESTER,SPECIAL_TESTER";
Protobuf type google.cloud.notebooks.v1.UpgradeRuntimeRequest
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpgradeRuntimeRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpgradeRuntimeRequest.Builder newBuilder()
Returns
newBuilder(UpgradeRuntimeRequest prototype)
public static UpgradeRuntimeRequest.Builder newBuilder(UpgradeRuntimeRequest prototype)
Parameter
Returns
public static UpgradeRuntimeRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpgradeRuntimeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpgradeRuntimeRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpgradeRuntimeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpgradeRuntimeRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeRuntimeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpgradeRuntimeRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpgradeRuntimeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpgradeRuntimeRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpgradeRuntimeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpgradeRuntimeRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpgradeRuntimeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpgradeRuntimeRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UpgradeRuntimeRequest getDefaultInstanceForType()
Returns
getName()
Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<UpgradeRuntimeRequest> getParserForType()
Returns
Overrides
getRequestId()
public String getRequestId()
Idempotent request UUID.
string request_id = 2;
Returns
Type | Description |
String | The requestId.
|
getRequestIdBytes()
public ByteString getRequestIdBytes()
Idempotent request UUID.
string request_id = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpgradeRuntimeRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpgradeRuntimeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpgradeRuntimeRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions