public static final class CreateRuntimeRequest.Builder extends GeneratedMessageV3.Builder<CreateRuntimeRequest.Builder> implements CreateRuntimeRequestOrBuilderRequest for creating a Managed Notebook Runtime.
Protobuf type google.cloud.notebooks.v1.CreateRuntimeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateRuntimeRequest.BuilderImplements
CreateRuntimeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateRuntimeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
CreateRuntimeRequest.Builder |
build()
public CreateRuntimeRequest build()| Type | Description |
CreateRuntimeRequest |
buildPartial()
public CreateRuntimeRequest buildPartial()| Type | Description |
CreateRuntimeRequest |
clear()
public CreateRuntimeRequest.Builder clear()| Type | Description |
CreateRuntimeRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateRuntimeRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
CreateRuntimeRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateRuntimeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| 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) = { ... }
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateRuntimeRequest.Builder clearRequestId()Idempotent request UUID.
string request_id = 4;
| 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];
| 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];
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
clone()
public CreateRuntimeRequest.Builder clone()| Type | Description |
CreateRuntimeRequest.Builder |
getDefaultInstanceForType()
public CreateRuntimeRequest getDefaultInstanceForType()| Type | Description |
CreateRuntimeRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| 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) = { ... }
| 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) = { ... }
| Type | Description |
ByteString |
The bytes for parent. |
getRequestId()
public String getRequestId()Idempotent request UUID.
string request_id = 4;
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()Idempotent request UUID.
string request_id = 4;
| 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];
| 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];
| 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];
| 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];
| 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];
| 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];
| Type | Description |
boolean |
Whether the runtime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(CreateRuntimeRequest other)
public CreateRuntimeRequest.Builder mergeFrom(CreateRuntimeRequest other)| Name | Description |
other |
CreateRuntimeRequest |
| Type | Description |
CreateRuntimeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateRuntimeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
CreateRuntimeRequest.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public CreateRuntimeRequest.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| 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];
| Name | Description |
value |
Runtime |
| Type | Description |
CreateRuntimeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateRuntimeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
CreateRuntimeRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateRuntimeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| 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) = { ... }
| Name | Description |
value |
StringThe parent to set. |
| 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) = { ... }
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateRuntimeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
CreateRuntimeRequest.Builder |
setRequestId(String value)
public CreateRuntimeRequest.Builder setRequestId(String value)Idempotent request UUID.
string request_id = 4;
| Name | Description |
value |
StringThe requestId to set. |
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateRuntimeRequest.Builder setRequestIdBytes(ByteString value)Idempotent request UUID.
string request_id = 4;
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| 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];
| Name | Description |
value |
Runtime |
| 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];
| Name | Description |
builderForValue |
Runtime.Builder |
| 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];
| Name | Description |
value |
StringThe runtimeId to set. |
| 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];
| Name | Description |
value |
ByteStringThe bytes for runtimeId to set. |
| Type | Description |
CreateRuntimeRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateRuntimeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
CreateRuntimeRequest.Builder |