public static final class ClassHierarchyProto.Node.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClassHierarchyProto.Node.Builder> implements ClassHierarchyProto.NodeOrBuilder
Node
Node is the abstract base type for all the data encoded in a class hierarchy. It is represented as an (un)tagged union, so only one of the three optional fields can be non-null.
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public ClassHierarchyProto.Node.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ClassHierarchyProto.Node.Builder>
public ClassHierarchyProto.Node.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<ClassHierarchyProto.Node.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.GeneratedMessage.Builder<ClassHierarchyProto.Node.Builder>
public ClassHierarchyProto.Node getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ClassHierarchyProto.Node build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ClassHierarchyProto.Node buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ClassHierarchyProto.Node.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ClassHierarchyProto.Node.Builder>
public ClassHierarchyProto.Node.Builder mergeFrom(ClassHierarchyProto.Node other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ClassHierarchyProto.Node.Builder>
public ClassHierarchyProto.Node.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<ClassHierarchyProto.Node.Builder>
IOException
public boolean hasName()
required string name = 1;
The short name of this node (e.g., a class name without the enclosing package, or a package name without the name of the enclosing package.
hasName
in interface ClassHierarchyProto.NodeOrBuilder
public String getName()
required string name = 1;
The short name of this node (e.g., a class name without the enclosing package, or a package name without the name of the enclosing package.
getName
in interface ClassHierarchyProto.NodeOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
The short name of this node (e.g., a class name without the enclosing package, or a package name without the name of the enclosing package.
getNameBytes
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.Node.Builder setName(String value)
required string name = 1;
The short name of this node (e.g., a class name without the enclosing package, or a package name without the name of the enclosing package.
public ClassHierarchyProto.Node.Builder clearName()
required string name = 1;
The short name of this node (e.g., a class name without the enclosing package, or a package name without the name of the enclosing package.
public ClassHierarchyProto.Node.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;
The short name of this node (e.g., a class name without the enclosing package, or a package name without the name of the enclosing package.
public boolean hasFullName()
required string full_name = 2;
For some languages it can be difficult to map from a list of nodes to the correct short name, so for now, the full name is (redundantly) encoded here. In Java, the full name is a bunch of short names that have been concatenated with "." and/or "$".
hasFullName
in interface ClassHierarchyProto.NodeOrBuilder
public String getFullName()
required string full_name = 2;
For some languages it can be difficult to map from a list of nodes to the correct short name, so for now, the full name is (redundantly) encoded here. In Java, the full name is a bunch of short names that have been concatenated with "." and/or "$".
getFullName
in interface ClassHierarchyProto.NodeOrBuilder
public com.google.protobuf.ByteString getFullNameBytes()
required string full_name = 2;
For some languages it can be difficult to map from a list of nodes to the correct short name, so for now, the full name is (redundantly) encoded here. In Java, the full name is a bunch of short names that have been concatenated with "." and/or "$".
getFullNameBytes
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.Node.Builder setFullName(String value)
required string full_name = 2;
For some languages it can be difficult to map from a list of nodes to the correct short name, so for now, the full name is (redundantly) encoded here. In Java, the full name is a bunch of short names that have been concatenated with "." and/or "$".
public ClassHierarchyProto.Node.Builder clearFullName()
required string full_name = 2;
For some languages it can be difficult to map from a list of nodes to the correct short name, so for now, the full name is (redundantly) encoded here. In Java, the full name is a bunch of short names that have been concatenated with "." and/or "$".
public ClassHierarchyProto.Node.Builder setFullNameBytes(com.google.protobuf.ByteString value)
required string full_name = 2;
For some languages it can be difficult to map from a list of nodes to the correct short name, so for now, the full name is (redundantly) encoded here. In Java, the full name is a bunch of short names that have been concatenated with "." and/or "$".
public boolean hasClassNode()
optional .ClassNode class_node = 3;
Exactly one of the next three fields must be defined. See below for their documentation.
hasClassNode
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.ClassNode getClassNode()
optional .ClassNode class_node = 3;
Exactly one of the next three fields must be defined. See below for their documentation.
getClassNode
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.Node.Builder setClassNode(ClassHierarchyProto.ClassNode value)
optional .ClassNode class_node = 3;
Exactly one of the next three fields must be defined. See below for their documentation.
public ClassHierarchyProto.Node.Builder setClassNode(ClassHierarchyProto.ClassNode.Builder builderForValue)
optional .ClassNode class_node = 3;
Exactly one of the next three fields must be defined. See below for their documentation.
public ClassHierarchyProto.Node.Builder mergeClassNode(ClassHierarchyProto.ClassNode value)
optional .ClassNode class_node = 3;
Exactly one of the next three fields must be defined. See below for their documentation.
public ClassHierarchyProto.Node.Builder clearClassNode()
optional .ClassNode class_node = 3;
Exactly one of the next three fields must be defined. See below for their documentation.
public ClassHierarchyProto.ClassNode.Builder getClassNodeBuilder()
optional .ClassNode class_node = 3;
Exactly one of the next three fields must be defined. See below for their documentation.
public ClassHierarchyProto.ClassNodeOrBuilder getClassNodeOrBuilder()
optional .ClassNode class_node = 3;
Exactly one of the next three fields must be defined. See below for their documentation.
getClassNodeOrBuilder
in interface ClassHierarchyProto.NodeOrBuilder
public boolean hasNamedParameterNode()
optional .NamedParameterNode named_parameter_node = 4;
hasNamedParameterNode
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.NamedParameterNode getNamedParameterNode()
optional .NamedParameterNode named_parameter_node = 4;
getNamedParameterNode
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.Node.Builder setNamedParameterNode(ClassHierarchyProto.NamedParameterNode value)
optional .NamedParameterNode named_parameter_node = 4;
public ClassHierarchyProto.Node.Builder setNamedParameterNode(ClassHierarchyProto.NamedParameterNode.Builder builderForValue)
optional .NamedParameterNode named_parameter_node = 4;
public ClassHierarchyProto.Node.Builder mergeNamedParameterNode(ClassHierarchyProto.NamedParameterNode value)
optional .NamedParameterNode named_parameter_node = 4;
public ClassHierarchyProto.Node.Builder clearNamedParameterNode()
optional .NamedParameterNode named_parameter_node = 4;
public ClassHierarchyProto.NamedParameterNode.Builder getNamedParameterNodeBuilder()
optional .NamedParameterNode named_parameter_node = 4;
public ClassHierarchyProto.NamedParameterNodeOrBuilder getNamedParameterNodeOrBuilder()
optional .NamedParameterNode named_parameter_node = 4;
getNamedParameterNodeOrBuilder
in interface ClassHierarchyProto.NodeOrBuilder
public boolean hasPackageNode()
optional .PackageNode package_node = 5;
hasPackageNode
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.PackageNode getPackageNode()
optional .PackageNode package_node = 5;
getPackageNode
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.Node.Builder setPackageNode(ClassHierarchyProto.PackageNode value)
optional .PackageNode package_node = 5;
public ClassHierarchyProto.Node.Builder setPackageNode(ClassHierarchyProto.PackageNode.Builder builderForValue)
optional .PackageNode package_node = 5;
public ClassHierarchyProto.Node.Builder mergePackageNode(ClassHierarchyProto.PackageNode value)
optional .PackageNode package_node = 5;
public ClassHierarchyProto.Node.Builder clearPackageNode()
optional .PackageNode package_node = 5;
public ClassHierarchyProto.PackageNode.Builder getPackageNodeBuilder()
optional .PackageNode package_node = 5;
public ClassHierarchyProto.PackageNodeOrBuilder getPackageNodeOrBuilder()
optional .PackageNode package_node = 5;
getPackageNodeOrBuilder
in interface ClassHierarchyProto.NodeOrBuilder
public List<ClassHierarchyProto.Node> getChildrenList()
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
getChildrenList
in interface ClassHierarchyProto.NodeOrBuilder
public int getChildrenCount()
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
getChildrenCount
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.Node getChildren(int index)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
getChildren
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.Node.Builder setChildren(int index, ClassHierarchyProto.Node value)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.Node.Builder setChildren(int index, ClassHierarchyProto.Node.Builder builderForValue)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.Node.Builder addChildren(ClassHierarchyProto.Node value)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.Node.Builder addChildren(int index, ClassHierarchyProto.Node value)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.Node.Builder addChildren(ClassHierarchyProto.Node.Builder builderForValue)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.Node.Builder addChildren(int index, ClassHierarchyProto.Node.Builder builderForValue)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.Node.Builder addAllChildren(Iterable<? extends ClassHierarchyProto.Node> values)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.Node.Builder clearChildren()
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.Node.Builder removeChildren(int index)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.Node.Builder getChildrenBuilder(int index)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.NodeOrBuilder getChildrenOrBuilder(int index)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
getChildrenOrBuilder
in interface ClassHierarchyProto.NodeOrBuilder
public List<? extends ClassHierarchyProto.NodeOrBuilder> getChildrenOrBuilderList()
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
getChildrenOrBuilderList
in interface ClassHierarchyProto.NodeOrBuilder
public ClassHierarchyProto.Node.Builder addChildrenBuilder()
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public ClassHierarchyProto.Node.Builder addChildrenBuilder(int index)
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
public List<ClassHierarchyProto.Node.Builder> getChildrenBuilderList()
repeated .Node children = 6;
Class hierarchy nodes are arranged in a tree that mirrors the language namespaces / packages that contain class names (e.g., Java packages, C++ namespaces). A NamedParameterNode cannot have any children. A ClassNode can not have any package nodes as children. PackageNodes cannot have PackageNodes as children.
Copyright © 2017 The Apache Software Foundation. All rights reserved.