public static final class ClassHierarchyProto.ClassNode extends com.google.protobuf.GeneratedMessage implements ClassHierarchyProto.ClassNodeOrBuilder
ClassNode| Modifier and Type | Class and Description |
|---|---|
static class |
ClassHierarchyProto.ClassNode.Builder
Protobuf type
ClassNode |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_IMPLEMENTATION_FIELD_NUMBER |
static int |
IMPL_FULL_NAMES_FIELD_NUMBER |
static int |
INJECTABLECONSTRUCTORS_FIELD_NUMBER |
static int |
IS_EXTERNAL_CONSTRUCTOR_FIELD_NUMBER |
static int |
IS_INJECTION_CANDIDATE_FIELD_NUMBER |
static int |
IS_UNIT_FIELD_NUMBER |
static int |
OTHERCONSTRUCTORS_FIELD_NUMBER |
static com.google.protobuf.Parser<ClassHierarchyProto.ClassNode> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultImplementation()
optional string default_implementation = 7; |
com.google.protobuf.ByteString |
getDefaultImplementationBytes()
optional string default_implementation = 7; |
static ClassHierarchyProto.ClassNode |
getDefaultInstance() |
ClassHierarchyProto.ClassNode |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getImplFullNames(int index)
repeated string impl_full_names = 6; |
com.google.protobuf.ByteString |
getImplFullNamesBytes(int index)
repeated string impl_full_names = 6; |
int |
getImplFullNamesCount()
repeated string impl_full_names = 6; |
List<String> |
getImplFullNamesList()
repeated string impl_full_names = 6; |
ClassHierarchyProto.ConstructorDef |
getInjectableConstructors(int index)
repeated .ConstructorDef InjectableConstructors = 4; |
int |
getInjectableConstructorsCount()
repeated .ConstructorDef InjectableConstructors = 4; |
List<ClassHierarchyProto.ConstructorDef> |
getInjectableConstructorsList()
repeated .ConstructorDef InjectableConstructors = 4; |
ClassHierarchyProto.ConstructorDefOrBuilder |
getInjectableConstructorsOrBuilder(int index)
repeated .ConstructorDef InjectableConstructors = 4; |
List<? extends ClassHierarchyProto.ConstructorDefOrBuilder> |
getInjectableConstructorsOrBuilderList()
repeated .ConstructorDef InjectableConstructors = 4; |
boolean |
getIsExternalConstructor()
required bool is_external_constructor = 2; |
boolean |
getIsInjectionCandidate()
required bool is_injection_candidate = 1; |
boolean |
getIsUnit()
required bool is_unit = 3; |
ClassHierarchyProto.ConstructorDef |
getOtherConstructors(int index)
repeated .ConstructorDef OtherConstructors = 5; |
int |
getOtherConstructorsCount()
repeated .ConstructorDef OtherConstructors = 5; |
List<ClassHierarchyProto.ConstructorDef> |
getOtherConstructorsList()
repeated .ConstructorDef OtherConstructors = 5; |
ClassHierarchyProto.ConstructorDefOrBuilder |
getOtherConstructorsOrBuilder(int index)
repeated .ConstructorDef OtherConstructors = 5; |
List<? extends ClassHierarchyProto.ConstructorDefOrBuilder> |
getOtherConstructorsOrBuilderList()
repeated .ConstructorDef OtherConstructors = 5; |
com.google.protobuf.Parser<ClassHierarchyProto.ClassNode> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDefaultImplementation()
optional string default_implementation = 7; |
boolean |
hasIsExternalConstructor()
required bool is_external_constructor = 2; |
boolean |
hasIsInjectionCandidate()
required bool is_injection_candidate = 1; |
boolean |
hasIsUnit()
required bool is_unit = 3; |
boolean |
isInitialized() |
static ClassHierarchyProto.ClassNode.Builder |
newBuilder() |
static ClassHierarchyProto.ClassNode.Builder |
newBuilder(ClassHierarchyProto.ClassNode prototype) |
ClassHierarchyProto.ClassNode.Builder |
newBuilderForType() |
static ClassHierarchyProto.ClassNode |
parseDelimitedFrom(InputStream input) |
static ClassHierarchyProto.ClassNode |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClassHierarchyProto.ClassNode |
parseFrom(byte[] data) |
static ClassHierarchyProto.ClassNode |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClassHierarchyProto.ClassNode |
parseFrom(com.google.protobuf.ByteString data) |
static ClassHierarchyProto.ClassNode |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClassHierarchyProto.ClassNode |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClassHierarchyProto.ClassNode |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClassHierarchyProto.ClassNode |
parseFrom(InputStream input) |
static ClassHierarchyProto.ClassNode |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClassHierarchyProto.ClassNode.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<ClassHierarchyProto.ClassNode> PARSER
public static final int IS_INJECTION_CANDIDATE_FIELD_NUMBER
public static final int IS_EXTERNAL_CONSTRUCTOR_FIELD_NUMBER
public static final int IS_UNIT_FIELD_NUMBER
public static final int INJECTABLECONSTRUCTORS_FIELD_NUMBER
public static final int OTHERCONSTRUCTORS_FIELD_NUMBER
public static final int IMPL_FULL_NAMES_FIELD_NUMBER
public static final int DEFAULT_IMPLEMENTATION_FIELD_NUMBER
public static ClassHierarchyProto.ClassNode getDefaultInstance()
public ClassHierarchyProto.ClassNode getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public com.google.protobuf.Parser<ClassHierarchyProto.ClassNode> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic 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 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 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 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 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 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.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<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 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 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.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<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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic static ClassHierarchyProto.ClassNode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClassHierarchyProto.ClassNode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClassHierarchyProto.ClassNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClassHierarchyProto.ClassNode parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClassHierarchyProto.ClassNode parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClassHierarchyProto.ClassNode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClassHierarchyProto.ClassNode parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClassHierarchyProto.ClassNode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClassHierarchyProto.ClassNode parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClassHierarchyProto.ClassNode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClassHierarchyProto.ClassNode.Builder newBuilder()
public ClassHierarchyProto.ClassNode.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ClassHierarchyProto.ClassNode.Builder newBuilder(ClassHierarchyProto.ClassNode prototype)
public ClassHierarchyProto.ClassNode.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2017 The Apache Software Foundation. All rights reserved.