public static final class ClassHierarchyProto.ClassNode.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClassHierarchyProto.ClassNode.Builder> implements ClassHierarchyProto.ClassNodeOrBuilder
ClassNodeaddRepeatedField, 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.ClassNode.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.ClassNode.Builder>public ClassHierarchyProto.ClassNode.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.ClassNode.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.ClassNode.Builder>public ClassHierarchyProto.ClassNode getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClassHierarchyProto.ClassNode build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClassHierarchyProto.ClassNode buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClassHierarchyProto.ClassNode.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClassHierarchyProto.ClassNode.Builder>public ClassHierarchyProto.ClassNode.Builder mergeFrom(ClassHierarchyProto.ClassNode other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ClassHierarchyProto.ClassNode.Builder>public ClassHierarchyProto.ClassNode.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.ClassNode.Builder>IOExceptionpublic boolean hasIsInjectionCandidate()
required bool is_injection_candidate = 1;
Some classes cannot be injected for language-specific reasons. For example, Java's non-static inner classes need a reference to the outer class in order to be instantiated. Set this boolean to false if there is some reason why Tang cannot possibly inject this class.
hasIsInjectionCandidate in interface ClassHierarchyProto.ClassNodeOrBuilderpublic boolean getIsInjectionCandidate()
required bool is_injection_candidate = 1;
Some classes cannot be injected for language-specific reasons. For example, Java's non-static inner classes need a reference to the outer class in order to be instantiated. Set this boolean to false if there is some reason why Tang cannot possibly inject this class.
getIsInjectionCandidate in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ClassNode.Builder setIsInjectionCandidate(boolean value)
required bool is_injection_candidate = 1;
Some classes cannot be injected for language-specific reasons. For example, Java's non-static inner classes need a reference to the outer class in order to be instantiated. Set this boolean to false if there is some reason why Tang cannot possibly inject this class.
public ClassHierarchyProto.ClassNode.Builder clearIsInjectionCandidate()
required bool is_injection_candidate = 1;
Some classes cannot be injected for language-specific reasons. For example, Java's non-static inner classes need a reference to the outer class in order to be instantiated. Set this boolean to false if there is some reason why Tang cannot possibly inject this class.
public boolean hasIsExternalConstructor()
required bool is_external_constructor = 2;
This field will be set to true if this class is a Tang ExternalConstructor implementation. If this is set to true, then some other class *must* contain this ClassNode's name in its impl_full_names field.
hasIsExternalConstructor in interface ClassHierarchyProto.ClassNodeOrBuilderpublic boolean getIsExternalConstructor()
required bool is_external_constructor = 2;
This field will be set to true if this class is a Tang ExternalConstructor implementation. If this is set to true, then some other class *must* contain this ClassNode's name in its impl_full_names field.
getIsExternalConstructor in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ClassNode.Builder setIsExternalConstructor(boolean value)
required bool is_external_constructor = 2;
This field will be set to true if this class is a Tang ExternalConstructor implementation. If this is set to true, then some other class *must* contain this ClassNode's name in its impl_full_names field.
public ClassHierarchyProto.ClassNode.Builder clearIsExternalConstructor()
required bool is_external_constructor = 2;
This field will be set to true if this class is a Tang ExternalConstructor implementation. If this is set to true, then some other class *must* contain this ClassNode's name in its impl_full_names field.
public boolean hasIsUnit()
required bool is_unit = 3;
This field will be set to true if this class is annotated as a Tang Unit.
hasIsUnit in interface ClassHierarchyProto.ClassNodeOrBuilderpublic boolean getIsUnit()
required bool is_unit = 3;
This field will be set to true if this class is annotated as a Tang Unit.
getIsUnit in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ClassNode.Builder setIsUnit(boolean value)
required bool is_unit = 3;
This field will be set to true if this class is annotated as a Tang Unit.
public ClassHierarchyProto.ClassNode.Builder clearIsUnit()
required bool is_unit = 3;
This field will be set to true if this class is annotated as a Tang Unit.
public List<ClassHierarchyProto.ConstructorDef> getInjectableConstructorsList()
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
getInjectableConstructorsList in interface ClassHierarchyProto.ClassNodeOrBuilderpublic int getInjectableConstructorsCount()
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
getInjectableConstructorsCount in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ConstructorDef getInjectableConstructors(int index)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
getInjectableConstructors in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ClassNode.Builder setInjectableConstructors(int index, ClassHierarchyProto.ConstructorDef value)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ClassNode.Builder setInjectableConstructors(int index, ClassHierarchyProto.ConstructorDef.Builder builderForValue)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ClassNode.Builder addInjectableConstructors(ClassHierarchyProto.ConstructorDef value)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ClassNode.Builder addInjectableConstructors(int index, ClassHierarchyProto.ConstructorDef value)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ClassNode.Builder addInjectableConstructors(ClassHierarchyProto.ConstructorDef.Builder builderForValue)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ClassNode.Builder addInjectableConstructors(int index, ClassHierarchyProto.ConstructorDef.Builder builderForValue)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ClassNode.Builder addAllInjectableConstructors(Iterable<? extends ClassHierarchyProto.ConstructorDef> values)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ClassNode.Builder clearInjectableConstructors()
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ClassNode.Builder removeInjectableConstructors(int index)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ConstructorDef.Builder getInjectableConstructorsBuilder(int index)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ConstructorDefOrBuilder getInjectableConstructorsOrBuilder(int index)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
getInjectableConstructorsOrBuilder in interface ClassHierarchyProto.ClassNodeOrBuilderpublic List<? extends ClassHierarchyProto.ConstructorDefOrBuilder> getInjectableConstructorsOrBuilderList()
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
getInjectableConstructorsOrBuilderList in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ConstructorDef.Builder addInjectableConstructorsBuilder()
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public ClassHierarchyProto.ConstructorDef.Builder addInjectableConstructorsBuilder(int index)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public List<ClassHierarchyProto.ConstructorDef.Builder> getInjectableConstructorsBuilderList()
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
public List<ClassHierarchyProto.ConstructorDef> getOtherConstructorsList()
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
getOtherConstructorsList in interface ClassHierarchyProto.ClassNodeOrBuilderpublic int getOtherConstructorsCount()
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
getOtherConstructorsCount in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ConstructorDef getOtherConstructors(int index)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
getOtherConstructors in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ClassNode.Builder setOtherConstructors(int index, ClassHierarchyProto.ConstructorDef value)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ClassNode.Builder setOtherConstructors(int index, ClassHierarchyProto.ConstructorDef.Builder builderForValue)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ClassNode.Builder addOtherConstructors(ClassHierarchyProto.ConstructorDef value)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ClassNode.Builder addOtherConstructors(int index, ClassHierarchyProto.ConstructorDef value)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ClassNode.Builder addOtherConstructors(ClassHierarchyProto.ConstructorDef.Builder builderForValue)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ClassNode.Builder addOtherConstructors(int index, ClassHierarchyProto.ConstructorDef.Builder builderForValue)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ClassNode.Builder addAllOtherConstructors(Iterable<? extends ClassHierarchyProto.ConstructorDef> values)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ClassNode.Builder clearOtherConstructors()
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ClassNode.Builder removeOtherConstructors(int index)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ConstructorDef.Builder getOtherConstructorsBuilder(int index)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ConstructorDefOrBuilder getOtherConstructorsOrBuilder(int index)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
getOtherConstructorsOrBuilder in interface ClassHierarchyProto.ClassNodeOrBuilderpublic List<? extends ClassHierarchyProto.ConstructorDefOrBuilder> getOtherConstructorsOrBuilderList()
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
getOtherConstructorsOrBuilderList in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ConstructorDef.Builder addOtherConstructorsBuilder()
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public ClassHierarchyProto.ConstructorDef.Builder addOtherConstructorsBuilder(int index)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public List<ClassHierarchyProto.ConstructorDef.Builder> getOtherConstructorsBuilderList()
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
public List<String> getImplFullNamesList()
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
getImplFullNamesList in interface ClassHierarchyProto.ClassNodeOrBuilderpublic int getImplFullNamesCount()
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
getImplFullNamesCount in interface ClassHierarchyProto.ClassNodeOrBuilderpublic String getImplFullNames(int index)
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
getImplFullNames in interface ClassHierarchyProto.ClassNodeOrBuilderpublic com.google.protobuf.ByteString getImplFullNamesBytes(int index)
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
getImplFullNamesBytes in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ClassNode.Builder setImplFullNames(int index, String value)
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
public ClassHierarchyProto.ClassNode.Builder addImplFullNames(String value)
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
public ClassHierarchyProto.ClassNode.Builder addAllImplFullNames(Iterable<String> values)
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
public ClassHierarchyProto.ClassNode.Builder clearImplFullNames()
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
public ClassHierarchyProto.ClassNode.Builder addImplFullNamesBytes(com.google.protobuf.ByteString value)
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
public boolean hasDefaultImplementation()
optional string default_implementation = 7;hasDefaultImplementation in interface ClassHierarchyProto.ClassNodeOrBuilderpublic String getDefaultImplementation()
optional string default_implementation = 7;getDefaultImplementation in interface ClassHierarchyProto.ClassNodeOrBuilderpublic com.google.protobuf.ByteString getDefaultImplementationBytes()
optional string default_implementation = 7;getDefaultImplementationBytes in interface ClassHierarchyProto.ClassNodeOrBuilderpublic ClassHierarchyProto.ClassNode.Builder setDefaultImplementation(String value)
optional string default_implementation = 7;public ClassHierarchyProto.ClassNode.Builder clearDefaultImplementation()
optional string default_implementation = 7;public ClassHierarchyProto.ClassNode.Builder setDefaultImplementationBytes(com.google.protobuf.ByteString value)
optional string default_implementation = 7;Copyright © 2017 The Apache Software Foundation. All rights reserved.