public static final class CreateRuntimeRequest.Builder extends GeneratedMessageV3.Builder<CreateRuntimeRequest.Builder> implements CreateRuntimeRequestOrBuilder
Request for creating a Managed Notebook Runtime.
Protobuf type google.cloud.notebooks.v1.CreateRuntimeRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateRuntimeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateRuntimeRequest build()
Returns
buildPartial()
public CreateRuntimeRequest buildPartial()
Returns
clear()
public CreateRuntimeRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateRuntimeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateRuntimeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clearRuntime()
public CreateRuntimeRequest.Builder clearRuntime()
Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearRuntimeId()
public CreateRuntimeRequest.Builder clearRuntimeId()
Required. User-defined unique ID of this Runtime.
string runtime_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateRuntimeRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateRuntimeRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getRuntime()
public Runtime getRuntime()
Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getRuntimeBuilder()
public Runtime.Builder getRuntimeBuilder()
Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
getRuntimeOrBuilder()
public RuntimeOrBuilder getRuntimeOrBuilder()
Required. The Runtime to be created.
.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateRuntimeRequest other)
public CreateRuntimeRequest.Builder mergeFrom(CreateRuntimeRequest other)
Parameter
Returns
public CreateRuntimeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateRuntimeRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateRuntimeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateRuntimeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The parent to set.
|
Returns
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 | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateRuntimeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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 | String
The runtimeId to set.
|
Returns
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 | ByteString
The bytes for runtimeId to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateRuntimeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides