Class Content.Notebook.Builder (1.45.0)

public static final class Content.Notebook.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public Content.Notebook.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Content.Notebook.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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