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, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public ClassHierarchyProto.Node.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ClassHierarchyProto.Node.Builder>public ClassHierarchyProto.Node.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<ClassHierarchyProto.Node.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ClassHierarchyProto.Node.Builder>public ClassHierarchyProto.Node getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClassHierarchyProto.Node build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClassHierarchyProto.Node buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClassHierarchyProto.Node.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClassHierarchyProto.Node.Builder>IOExceptionpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic boolean hasNamedParameterNode()
optional .NamedParameterNode named_parameter_node = 4;hasNamedParameterNode in interface ClassHierarchyProto.NodeOrBuilderpublic ClassHierarchyProto.NamedParameterNode getNamedParameterNode()
optional .NamedParameterNode named_parameter_node = 4;getNamedParameterNode in interface ClassHierarchyProto.NodeOrBuilderpublic 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.NodeOrBuilderpublic boolean hasPackageNode()
optional .PackageNode package_node = 5;hasPackageNode in interface ClassHierarchyProto.NodeOrBuilderpublic ClassHierarchyProto.PackageNode getPackageNode()
optional .PackageNode package_node = 5;getPackageNode in interface ClassHierarchyProto.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.NodeOrBuilderpublic 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.