Class JupyterConfig (4.41.0)

public final class JupyterConfig extends GeneratedMessageV3 implements JupyterConfigOrBuilder

Jupyter configuration for an interactive session.

Protobuf type google.cloud.dataproc.v1.JupyterConfig

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

KERNEL_FIELD_NUMBER

public static final int KERNEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static JupyterConfig getDefaultInstance()
Returns
Type Description
JupyterConfig

getDescriptor()

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

newBuilder()

public static JupyterConfig.Builder newBuilder()
Returns
Type Description
JupyterConfig.Builder

newBuilder(JupyterConfig prototype)

public static JupyterConfig.Builder newBuilder(JupyterConfig prototype)
Parameter
Name Description
prototype JupyterConfig
Returns
Type Description
JupyterConfig.Builder

parseDelimitedFrom(InputStream input)

public static JupyterConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JupyterConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JupyterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JupyterConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static JupyterConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
JupyterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JupyterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JupyterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JupyterConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
JupyterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JupyterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JupyterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JupyterConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
JupyterConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JupyterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JupyterConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static JupyterConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JupyterConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JupyterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JupyterConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static JupyterConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
JupyterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JupyterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JupyterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<JupyterConfig> parser()
Returns
Type Description
Parser<JupyterConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public JupyterConfig getDefaultInstanceForType()
Returns
Type Description
JupyterConfig

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.

getParserForType()

public Parser<JupyterConfig> getParserForType()
Returns
Type Description
Parser<JupyterConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public JupyterConfig.Builder newBuilderForType()
Returns
Type Description
JupyterConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JupyterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
JupyterConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public JupyterConfig.Builder toBuilder()
Returns
Type Description
JupyterConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException