public static final class UpgradeRuntimeRequest.Builder extends GeneratedMessageV3.Builder<UpgradeRuntimeRequest.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpgradeRuntimeRequest.BuilderImplements
UpgradeRuntimeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeRuntimeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpgradeRuntimeRequest.Builder |
build()
public UpgradeRuntimeRequest build()
Type | Description |
UpgradeRuntimeRequest |
buildPartial()
public UpgradeRuntimeRequest buildPartial()
Type | Description |
UpgradeRuntimeRequest |
clear()
public UpgradeRuntimeRequest.Builder clear()
Type | Description |
UpgradeRuntimeRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpgradeRuntimeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UpgradeRuntimeRequest.Builder |
clearName()
public UpgradeRuntimeRequest.Builder clearName()
Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
UpgradeRuntimeRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeRuntimeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UpgradeRuntimeRequest.Builder |
clearRequestId()
public UpgradeRuntimeRequest.Builder clearRequestId()
Idempotent request UUID.
string request_id = 2;
Type | Description |
UpgradeRuntimeRequest.Builder | This builder for chaining. |
clone()
public UpgradeRuntimeRequest.Builder clone()
Type | Description |
UpgradeRuntimeRequest.Builder |
getDefaultInstanceForType()
public UpgradeRuntimeRequest getDefaultInstanceForType()
Type | Description |
UpgradeRuntimeRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
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];
Type | Description |
ByteString | The bytes for name. |
getRequestId()
public String getRequestId()
Idempotent request UUID.
string request_id = 2;
Type | Description |
String | The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
Idempotent request UUID.
string request_id = 2;
Type | Description |
ByteString | The bytes for requestId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(UpgradeRuntimeRequest other)
public UpgradeRuntimeRequest.Builder mergeFrom(UpgradeRuntimeRequest other)
Name | Description |
other | UpgradeRuntimeRequest |
Type | Description |
UpgradeRuntimeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpgradeRuntimeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpgradeRuntimeRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UpgradeRuntimeRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UpgradeRuntimeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeRuntimeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpgradeRuntimeRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpgradeRuntimeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpgradeRuntimeRequest.Builder |
setName(String value)
public UpgradeRuntimeRequest.Builder setName(String value)
Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The name to set. |
Type | Description |
UpgradeRuntimeRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public UpgradeRuntimeRequest.Builder setNameBytes(ByteString value)
Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
UpgradeRuntimeRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpgradeRuntimeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UpgradeRuntimeRequest.Builder |
setRequestId(String value)
public UpgradeRuntimeRequest.Builder setRequestId(String value)
Idempotent request UUID.
string request_id = 2;
Name | Description |
value | String The requestId to set. |
Type | Description |
UpgradeRuntimeRequest.Builder | This builder for chaining. |
setRequestIdBytes(ByteString value)
public UpgradeRuntimeRequest.Builder setRequestIdBytes(ByteString value)
Idempotent request UUID.
string request_id = 2;
Name | Description |
value | ByteString The bytes for requestId to set. |
Type | Description |
UpgradeRuntimeRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeRuntimeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpgradeRuntimeRequest.Builder |