public static final class Databricks.DocumentationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder> 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 | Method and Description |
---|---|
Databricks.DocumentationMetadata.Builder |
addAllOriginalProtoPath(Iterable<String> values)
The original proto path in the internal representation.
|
Databricks.DocumentationMetadata.Builder |
addOriginalProtoPath(String value)
The original proto path in the internal representation.
|
Databricks.DocumentationMetadata.Builder |
addOriginalProtoPathBytes(com.google.protobuf.ByteString value)
The original proto path in the internal representation.
|
Databricks.DocumentationMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Databricks.DocumentationMetadata |
build() |
Databricks.DocumentationMetadata |
buildPartial() |
Databricks.DocumentationMetadata.Builder |
clear() |
Databricks.DocumentationMetadata.Builder |
clearDocstring()
The string of documentation attached to this particular item.
|
Databricks.DocumentationMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Databricks.DocumentationMetadata.Builder |
clearLeadDoc()
The string of documentation that is *before* this item.
|
Databricks.DocumentationMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Databricks.DocumentationMetadata.Builder |
clearOriginalProtoPath()
The original proto path in the internal representation.
|
Databricks.DocumentationMetadata.Builder |
clearPosition()
The location (line number) of the start of the documentation.
|
Databricks.DocumentationMetadata.Builder |
clearVisibility()
The visibility level when the docstring was generated.
|
Databricks.DocumentationMetadata.Builder |
clone() |
Databricks.DocumentationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
int |
getPosition()
The location (line number) of the start of the documentation.
|
Databricks.Visibility |
getVisibility()
The visibility level when the docstring was generated.
|
boolean |
hasDocstring()
The string of documentation attached to this particular item.
|
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() |
Databricks.DocumentationMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Databricks.DocumentationMetadata.Builder |
mergeFrom(Databricks.DocumentationMetadata other) |
Databricks.DocumentationMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
Databricks.DocumentationMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Databricks.DocumentationMetadata.Builder |
setDocstring(String value)
The string of documentation attached to this particular item.
|
Databricks.DocumentationMetadata.Builder |
setDocstringBytes(com.google.protobuf.ByteString value)
The string of documentation attached to this particular item.
|
Databricks.DocumentationMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Databricks.DocumentationMetadata.Builder |
setLeadDoc(String value)
The string of documentation that is *before* this item.
|
Databricks.DocumentationMetadata.Builder |
setLeadDocBytes(com.google.protobuf.ByteString value)
The string of documentation that is *before* this item.
|
Databricks.DocumentationMetadata.Builder |
setOriginalProtoPath(int index,
String value)
The original proto path in the internal representation.
|
Databricks.DocumentationMetadata.Builder |
setPosition(int value)
The location (line number) of the start of the documentation.
|
Databricks.DocumentationMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Databricks.DocumentationMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Databricks.DocumentationMetadata.Builder |
setVisibility(Databricks.Visibility value)
The visibility level when the docstring was generated.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public Databricks.DocumentationMetadata.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public Databricks.DocumentationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Databricks.DocumentationMetadata build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Databricks.DocumentationMetadata buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Databricks.DocumentationMetadata.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public Databricks.DocumentationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public Databricks.DocumentationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public Databricks.DocumentationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public Databricks.DocumentationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public Databricks.DocumentationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public Databricks.DocumentationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Databricks.DocumentationMetadata.Builder>
public Databricks.DocumentationMetadata.Builder mergeFrom(Databricks.DocumentationMetadata other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public Databricks.DocumentationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Databricks.DocumentationMetadata.Builder>
IOException
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 Databricks.DocumentationMetadata.Builder setDocstring(String value)
The string of documentation attached to this particular item.
optional string docstring = 1;
public Databricks.DocumentationMetadata.Builder clearDocstring()
The string of documentation attached to this particular item.
optional string docstring = 1;
public Databricks.DocumentationMetadata.Builder setDocstringBytes(com.google.protobuf.ByteString value)
The string of documentation attached to this particular item.
optional string docstring = 1;
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 Databricks.DocumentationMetadata.Builder setLeadDoc(String value)
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;
public Databricks.DocumentationMetadata.Builder clearLeadDoc()
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;
public Databricks.DocumentationMetadata.Builder setLeadDocBytes(com.google.protobuf.ByteString value)
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;
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 Databricks.DocumentationMetadata.Builder setVisibility(Databricks.Visibility value)
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;
public Databricks.DocumentationMetadata.Builder clearVisibility()
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;
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 Databricks.DocumentationMetadata.Builder setOriginalProtoPath(int index, String value)
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;
public Databricks.DocumentationMetadata.Builder addOriginalProtoPath(String value)
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;
public Databricks.DocumentationMetadata.Builder addAllOriginalProtoPath(Iterable<String> values)
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;
public Databricks.DocumentationMetadata.Builder clearOriginalProtoPath()
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;
public Databricks.DocumentationMetadata.Builder addOriginalProtoPathBytes(com.google.protobuf.ByteString value)
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;
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 Databricks.DocumentationMetadata.Builder setPosition(int value)
The location (line number) of the start of the documentation. This is required to keep the pieces of documentation sorted.
optional int32 position = 5;
public Databricks.DocumentationMetadata.Builder clearPosition()
The location (line number) of the start of the documentation. This is required to keep the pieces of documentation sorted.
optional int32 position = 5;
public final Databricks.DocumentationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
public final Databricks.DocumentationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.DocumentationMetadata.Builder>
Copyright © 2018. All rights reserved.