Class JupyterConfig.Builder (4.45.0)

public static final class JupyterConfig.Builder extends GeneratedMessageV3.Builder<JupyterConfig.Builder> implements JupyterConfigOrBuilder

Jupyter configuration for an interactive session.

Protobuf type google.cloud.dataproc.v1.JupyterConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public JupyterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
JupyterConfig.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public JupyterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
JupyterConfig.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public JupyterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
JupyterConfig.Builder
Overrides

clone()

public JupyterConfig.Builder clone()
Returns
Type Description
JupyterConfig.Builder
Overrides

getDefaultInstanceForType()

public JupyterConfig getDefaultInstanceForType()
Returns
Type Description
JupyterConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public JupyterConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
JupyterConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final JupyterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
JupyterConfig.Builder
Overrides

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 String

The 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 ByteString

The bytes for displayName to set.

Returns
Type Description
JupyterConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public JupyterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
JupyterConfig.Builder
Overrides

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.Kernel

The 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 int

The enum numeric value on the wire for kernel to set.

Returns
Type Description
JupyterConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public JupyterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
JupyterConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final JupyterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
JupyterConfig.Builder
Overrides