public static final class JupyterConfig.Builder extends GeneratedMessage.Builder<JupyterConfig.Builder> implements JupyterConfigOrBuilderJupyter configuration for an interactive session.
Protobuf type google.cloud.dataproc.v1.JupyterConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > JupyterConfig.BuilderImplements
JupyterConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public JupyterConfig build()| Returns | |
|---|---|
| Type | Description |
JupyterConfig |
|
buildPartial()
public JupyterConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
JupyterConfig |
|
clear()
public JupyterConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Builder |
|
clearDisplayName()
public JupyterConfig.Builder clearDisplayName()Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Builder |
This builder for chaining. |
clearKernel()
public JupyterConfig.Builder clearKernel()Optional. Kernel
.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public JupyterConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
JupyterConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getKernel()
public JupyterConfig.Kernel getKernel()Optional. Kernel
.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Kernel |
The kernel. |
getKernelValue()
public int getKernelValue()Optional. Kernel
.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for kernel. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(JupyterConfig other)
public JupyterConfig.Builder mergeFrom(JupyterConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
JupyterConfig |
| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JupyterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public JupyterConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Builder |
|
setDisplayName(String value)
public JupyterConfig.Builder setDisplayName(String value)Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public JupyterConfig.Builder setDisplayNameBytes(ByteString value)Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Builder |
This builder for chaining. |
setKernel(JupyterConfig.Kernel value)
public JupyterConfig.Builder setKernel(JupyterConfig.Kernel value)Optional. Kernel
.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
JupyterConfig.KernelThe kernel to set. |
| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Builder |
This builder for chaining. |
setKernelValue(int value)
public JupyterConfig.Builder setKernelValue(int value)Optional. Kernel
.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for kernel to set. |
| Returns | |
|---|---|
| Type | Description |
JupyterConfig.Builder |
This builder for chaining. |