public static final class CreateRuntimeRequest.Builder extends GeneratedMessage.Builder<CreateRuntimeRequest.Builder> implements CreateRuntimeRequestOrBuilderRequest for creating a Managed Notebook Runtime.
Protobuf type google.cloud.notebooks.v1.CreateRuntimeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateRuntimeRequest.BuilderImplements
CreateRuntimeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateRuntimeRequest build()| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest |
|
buildPartial()
public CreateRuntimeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest |
|
clear()
public CreateRuntimeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
|
clearParent()
public CreateRuntimeRequest.Builder clearParent() Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateRuntimeRequest.Builder clearRequestId()Idempotent request UUID.
string request_id = 4;
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
clearRuntime()
public CreateRuntimeRequest.Builder clearRuntime()Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
|
clearRuntimeId()
public CreateRuntimeRequest.Builder clearRuntimeId()Required. User-defined unique ID of this Runtime.
string runtime_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateRuntimeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRequestId()
public String getRequestId()Idempotent request UUID.
string request_id = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()Idempotent request UUID.
string request_id = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
getRuntime()
public Runtime getRuntime()Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Runtime |
The runtime. |
getRuntimeBuilder()
public Runtime.Builder getRuntimeBuilder()Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Runtime.Builder |
|
getRuntimeId()
public String getRuntimeId()Required. User-defined unique ID of this Runtime.
string runtime_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The runtimeId. |
getRuntimeIdBytes()
public ByteString getRuntimeIdBytes()Required. User-defined unique ID of this Runtime.
string runtime_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for runtimeId. |
getRuntimeOrBuilder()
public RuntimeOrBuilder getRuntimeOrBuilder()Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RuntimeOrBuilder |
|
hasRuntime()
public boolean hasRuntime()Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the runtime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateRuntimeRequest other)
public CreateRuntimeRequest.Builder mergeFrom(CreateRuntimeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateRuntimeRequest |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateRuntimeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateRuntimeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
|
mergeRuntime(Runtime value)
public CreateRuntimeRequest.Builder mergeRuntime(Runtime value)Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Runtime |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
|
setParent(String value)
public CreateRuntimeRequest.Builder setParent(String value) Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateRuntimeRequest.Builder setParentBytes(ByteString value) Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateRuntimeRequest.Builder setRequestId(String value)Idempotent request UUID.
string request_id = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateRuntimeRequest.Builder setRequestIdBytes(ByteString value)Idempotent request UUID.
string request_id = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
setRuntime(Runtime value)
public CreateRuntimeRequest.Builder setRuntime(Runtime value)Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Runtime |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
|
setRuntime(Runtime.Builder builderForValue)
public CreateRuntimeRequest.Builder setRuntime(Runtime.Builder builderForValue)Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Runtime.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
|
setRuntimeId(String value)
public CreateRuntimeRequest.Builder setRuntimeId(String value)Required. User-defined unique ID of this Runtime.
string runtime_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe runtimeId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
setRuntimeIdBytes(ByteString value)
public CreateRuntimeRequest.Builder setRuntimeIdBytes(ByteString value)Required. User-defined unique ID of this Runtime.
string runtime_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for runtimeId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |