Class JupyterConfig.Builder (4.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public JupyterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
JupyterConfig.Builder
Overrides

build()

public JupyterConfig build()
Returns
TypeDescription
JupyterConfig

buildPartial()

public JupyterConfig buildPartial()
Returns
TypeDescription
JupyterConfig

clear()

public JupyterConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
JupyterConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public JupyterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
JupyterConfig.Builder
Overrides

clearKernel()

public JupyterConfig.Builder clearKernel()

Optional. Kernel

.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
JupyterConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public JupyterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
JupyterConfig.Builder
Overrides

clone()

public JupyterConfig.Builder clone()
Returns
TypeDescription
JupyterConfig.Builder
Overrides

getDefaultInstanceForType()

public JupyterConfig getDefaultInstanceForType()
Returns
TypeDescription
JupyterConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
JupyterConfig.Kernel

The kernel.

getKernelValue()

public int getKernelValue()

Optional. Kernel

.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for kernel.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(JupyterConfig other)

public JupyterConfig.Builder mergeFrom(JupyterConfig other)
Parameter
NameDescription
otherJupyterConfig
Returns
TypeDescription
JupyterConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public JupyterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JupyterConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public JupyterConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
JupyterConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final JupyterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
JupyterConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public JupyterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueJupyterConfig.Kernel

The kernel to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
JupyterConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final JupyterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
JupyterConfig.Builder
Overrides