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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Content.Notebook.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Content.Notebook build()
Returns
buildPartial()
public Content.Notebook buildPartial()
Returns
clear()
public Content.Notebook.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Content.Notebook.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public Content.Notebook.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Content.Notebook.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Content.Notebook getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Content.Notebook other)
public Content.Notebook.Builder mergeFrom(Content.Notebook other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Content.Notebook.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Content.Notebook.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Content.Notebook.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Content.Notebook.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Content.Notebook.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Content.Notebook.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides