public static final class Databricks.DocumentationMetadata extends com.google.protobuf.GeneratedMessageV3 implements Databricks.DocumentationMetadataOrBuilder
A block of documentation that is added to the AST after parsing the original protocol buffer.Protobuf type
DocumentationMetadata
Modifier and Type | Class and Description |
---|---|
static class |
Databricks.DocumentationMetadata.Builder
A block of documentation that is added to the AST after parsing the original protocol buffer.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
DOCSTRING_FIELD_NUMBER |
static int |
LEAD_DOC_FIELD_NUMBER |
static int |
ORIGINAL_PROTO_PATH_FIELD_NUMBER |
static com.google.protobuf.Parser<Databricks.DocumentationMetadata> |
PARSER
Deprecated.
|
static int |
POSITION_FIELD_NUMBER |
static int |
VISIBILITY_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Databricks.DocumentationMetadata |
getDefaultInstance() |
Databricks.DocumentationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDocstring()
The string of documentation attached to this particular item.
|
com.google.protobuf.ByteString |
getDocstringBytes()
The string of documentation attached to this particular item.
|
String |
getLeadDoc()
The string of documentation that is *before* this item.
|
com.google.protobuf.ByteString |
getLeadDocBytes()
The string of documentation that is *before* this item.
|
String |
getOriginalProtoPath(int index)
The original proto path in the internal representation.
|
com.google.protobuf.ByteString |
getOriginalProtoPathBytes(int index)
The original proto path in the internal representation.
|
int |
getOriginalProtoPathCount()
The original proto path in the internal representation.
|
com.google.protobuf.ProtocolStringList |
getOriginalProtoPathList()
The original proto path in the internal representation.
|
com.google.protobuf.Parser<Databricks.DocumentationMetadata> |
getParserForType() |
int |
getPosition()
The location (line number) of the start of the documentation.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Databricks.Visibility |
getVisibility()
The visibility level when the docstring was generated.
|
boolean |
hasDocstring()
The string of documentation attached to this particular item.
|
int |
hashCode() |
boolean |
hasLeadDoc()
The string of documentation that is *before* this item.
|
boolean |
hasPosition()
The location (line number) of the start of the documentation.
|
boolean |
hasVisibility()
The visibility level when the docstring was generated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Databricks.DocumentationMetadata.Builder |
newBuilder() |
static Databricks.DocumentationMetadata.Builder |
newBuilder(Databricks.DocumentationMetadata prototype) |
Databricks.DocumentationMetadata.Builder |
newBuilderForType() |
protected Databricks.DocumentationMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Databricks.DocumentationMetadata |
parseDelimitedFrom(InputStream input) |
static Databricks.DocumentationMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Databricks.DocumentationMetadata |
parseFrom(byte[] data) |
static Databricks.DocumentationMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Databricks.DocumentationMetadata |
parseFrom(ByteBuffer data) |
static Databricks.DocumentationMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Databricks.DocumentationMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static Databricks.DocumentationMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Databricks.DocumentationMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Databricks.DocumentationMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Databricks.DocumentationMetadata |
parseFrom(InputStream input) |
static Databricks.DocumentationMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Databricks.DocumentationMetadata> |
parser() |
Databricks.DocumentationMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int DOCSTRING_FIELD_NUMBER
public static final int LEAD_DOC_FIELD_NUMBER
public static final int VISIBILITY_FIELD_NUMBER
public static final int ORIGINAL_PROTO_PATH_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Databricks.DocumentationMetadata> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasDocstring()
The string of documentation attached to this particular item.
optional string docstring = 1;
hasDocstring
in interface Databricks.DocumentationMetadataOrBuilder
public String getDocstring()
The string of documentation attached to this particular item.
optional string docstring = 1;
getDocstring
in interface Databricks.DocumentationMetadataOrBuilder
public com.google.protobuf.ByteString getDocstringBytes()
The string of documentation attached to this particular item.
optional string docstring = 1;
getDocstringBytes
in interface Databricks.DocumentationMetadataOrBuilder
public boolean hasLeadDoc()
The string of documentation that is *before* this item. This only makes sense for top-level items such as (top-level) messages, (top-level) enumerations, or services. In all other cases, this string is empty.
optional string lead_doc = 2;
hasLeadDoc
in interface Databricks.DocumentationMetadataOrBuilder
public String getLeadDoc()
The string of documentation that is *before* this item. This only makes sense for top-level items such as (top-level) messages, (top-level) enumerations, or services. In all other cases, this string is empty.
optional string lead_doc = 2;
getLeadDoc
in interface Databricks.DocumentationMetadataOrBuilder
public com.google.protobuf.ByteString getLeadDocBytes()
The string of documentation that is *before* this item. This only makes sense for top-level items such as (top-level) messages, (top-level) enumerations, or services. In all other cases, this string is empty.
optional string lead_doc = 2;
getLeadDocBytes
in interface Databricks.DocumentationMetadataOrBuilder
public boolean hasVisibility()
The visibility level when the docstring was generated. The documentation extractor builds multiple versions of the documentation, one for each visibility level. The documentation is then generated for each visibility level.
optional .Visibility visibility = 3;
hasVisibility
in interface Databricks.DocumentationMetadataOrBuilder
public Databricks.Visibility getVisibility()
The visibility level when the docstring was generated. The documentation extractor builds multiple versions of the documentation, one for each visibility level. The documentation is then generated for each visibility level.
optional .Visibility visibility = 3;
getVisibility
in interface Databricks.DocumentationMetadataOrBuilder
public com.google.protobuf.ProtocolStringList getOriginalProtoPathList()
The original proto path in the internal representation. This is useful when performing field flattening to figure out what the original field was. One example is ["jobs","Run","original_attempt_run_id"] for jobs. This path is unique.
repeated string original_proto_path = 4;
getOriginalProtoPathList
in interface Databricks.DocumentationMetadataOrBuilder
public int getOriginalProtoPathCount()
The original proto path in the internal representation. This is useful when performing field flattening to figure out what the original field was. One example is ["jobs","Run","original_attempt_run_id"] for jobs. This path is unique.
repeated string original_proto_path = 4;
getOriginalProtoPathCount
in interface Databricks.DocumentationMetadataOrBuilder
public String getOriginalProtoPath(int index)
The original proto path in the internal representation. This is useful when performing field flattening to figure out what the original field was. One example is ["jobs","Run","original_attempt_run_id"] for jobs. This path is unique.
repeated string original_proto_path = 4;
getOriginalProtoPath
in interface Databricks.DocumentationMetadataOrBuilder
public com.google.protobuf.ByteString getOriginalProtoPathBytes(int index)
The original proto path in the internal representation. This is useful when performing field flattening to figure out what the original field was. One example is ["jobs","Run","original_attempt_run_id"] for jobs. This path is unique.
repeated string original_proto_path = 4;
getOriginalProtoPathBytes
in interface Databricks.DocumentationMetadataOrBuilder
public boolean hasPosition()
The location (line number) of the start of the documentation. This is required to keep the pieces of documentation sorted.
optional int32 position = 5;
hasPosition
in interface Databricks.DocumentationMetadataOrBuilder
public int getPosition()
The location (line number) of the start of the documentation. This is required to keep the pieces of documentation sorted.
optional int32 position = 5;
getPosition
in interface Databricks.DocumentationMetadataOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Databricks.DocumentationMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.DocumentationMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.DocumentationMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.DocumentationMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.DocumentationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.DocumentationMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.DocumentationMetadata parseFrom(InputStream input) throws IOException
IOException
public static Databricks.DocumentationMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Databricks.DocumentationMetadata parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Databricks.DocumentationMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Databricks.DocumentationMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Databricks.DocumentationMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Databricks.DocumentationMetadata.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Databricks.DocumentationMetadata.Builder newBuilder()
public static Databricks.DocumentationMetadata.Builder newBuilder(Databricks.DocumentationMetadata prototype)
public Databricks.DocumentationMetadata.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Databricks.DocumentationMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Databricks.DocumentationMetadata getDefaultInstance()
public static com.google.protobuf.Parser<Databricks.DocumentationMetadata> parser()
public com.google.protobuf.Parser<Databricks.DocumentationMetadata> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Databricks.DocumentationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018. All rights reserved.