public static final class ClassHierarchyProto.ClassNode.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClassHierarchyProto.ClassNode.Builder> implements ClassHierarchyProto.ClassNodeOrBuilder
ClassNode
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.ClassNode.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.ClassNode.Builder>
public ClassHierarchyProto.ClassNode.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.ClassNode.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.ClassNode.Builder>
public ClassHierarchyProto.ClassNode getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ClassHierarchyProto.ClassNode build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ClassHierarchyProto.ClassNode buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ClassHierarchyProto.ClassNode.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ClassHierarchyProto.ClassNode.Builder>
IOException
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public 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.ClassNodeOrBuilder
public String getDefaultImplementation()
optional string default_implementation = 7;
getDefaultImplementation
in interface ClassHierarchyProto.ClassNodeOrBuilder
public com.google.protobuf.ByteString getDefaultImplementationBytes()
optional string default_implementation = 7;
getDefaultImplementationBytes
in interface ClassHierarchyProto.ClassNodeOrBuilder
public 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 © 2016 The Apache Software Foundation. All rights reserved.