Class Content.Notebook.Builder (1.81.0)

public static final class Content.Notebook.Builder extends GeneratedMessage.Builder<Content.Notebook.Builder> implements Content.NotebookOrBuilder

Configuration for Notebook content.

Protobuf type google.cloud.dataplex.v1.Content.Notebook

Static Methods

getDescriptor()

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

Methods

build()

public Content.Notebook build()
Returns
Type Description
Content.Notebook

buildPartial()

public Content.Notebook buildPartial()
Returns
Type Description
Content.Notebook

clear()

public Content.Notebook.Builder clear()
Returns
Type Description
Content.Notebook.Builder
Overrides

clearKernelType()

public Content.Notebook.Builder clearKernelType()

Required. Kernel Type of the notebook.

.google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Content.Notebook.Builder

This builder for chaining.

getDefaultInstanceForType()

public Content.Notebook getDefaultInstanceForType()
Returns
Type Description
Content.Notebook

getDescriptorForType()

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

getKernelType()

public Content.Notebook.KernelType getKernelType()

Required. Kernel Type of the notebook.

.google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Content.Notebook.KernelType

The kernelType.

getKernelTypeValue()

public int getKernelTypeValue()

Required. Kernel Type of the notebook.

.google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for kernelType.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Content.Notebook other)

public Content.Notebook.Builder mergeFrom(Content.Notebook other)
Parameter
Name Description
other Content.Notebook
Returns
Type Description
Content.Notebook.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Content.Notebook.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Content.Notebook.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

setKernelType(Content.Notebook.KernelType value)

public Content.Notebook.Builder setKernelType(Content.Notebook.KernelType value)

Required. Kernel Type of the notebook.

.google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Content.Notebook.KernelType

The kernelType to set.

Returns
Type Description
Content.Notebook.Builder

This builder for chaining.

setKernelTypeValue(int value)

public Content.Notebook.Builder setKernelTypeValue(int value)

Required. Kernel Type of the notebook.

.google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
Content.Notebook.Builder

This builder for chaining.