Class Content.Notebook.Builder (1.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Content.Notebook build()
Returns
TypeDescription
Content.Notebook

buildPartial()

public Content.Notebook buildPartial()
Returns
TypeDescription
Content.Notebook

clear()

public Content.Notebook.Builder clear()
Returns
TypeDescription
Content.Notebook.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Content.Notebook.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Content.Notebook.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Content.Notebook.Builder clone()
Returns
TypeDescription
Content.Notebook.Builder
Overrides

getDefaultInstanceForType()

public Content.Notebook getDefaultInstanceForType()
Returns
TypeDescription
Content.Notebook

getDescriptorForType()

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

The enum numeric value on the wire for kernelType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Content.Notebook other)

public Content.Notebook.Builder mergeFrom(Content.Notebook other)
Parameter
NameDescription
otherContent.Notebook
Returns
TypeDescription
Content.Notebook.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Content.Notebook.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Content.Notebook.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Content.Notebook.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueContent.Notebook.KernelType

The kernelType to set.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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