Class Content.Notebook (1.35.0)

public static final class Content.Notebook extends GeneratedMessageV3 implements Content.NotebookOrBuilder

Configuration for Notebook content.

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

Static Fields

KERNEL_TYPE_FIELD_NUMBER

public static final int KERNEL_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Content.Notebook getDefaultInstance()
Returns
TypeDescription
Content.Notebook

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Content.Notebook.Builder newBuilder()
Returns
TypeDescription
Content.Notebook.Builder

newBuilder(Content.Notebook prototype)

public static Content.Notebook.Builder newBuilder(Content.Notebook prototype)
Parameter
NameDescription
prototypeContent.Notebook
Returns
TypeDescription
Content.Notebook.Builder

parseDelimitedFrom(InputStream input)

public static Content.Notebook parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Content.Notebook parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Content.Notebook parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Content.Notebook parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Content.Notebook parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Content.Notebook parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Content.Notebook parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Content.Notebook parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Content.Notebook parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Content.Notebook parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Content.Notebook parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Content.Notebook parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Content.Notebook
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Content.Notebook> parser()
Returns
TypeDescription
Parser<Notebook>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<Content.Notebook> getParserForType()
Returns
TypeDescription
Parser<Notebook>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Content.Notebook.Builder newBuilderForType()
Returns
TypeDescription
Content.Notebook.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Content.Notebook.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Content.Notebook.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Content.Notebook.Builder toBuilder()
Returns
TypeDescription
Content.Notebook.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException