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, newMessageScopedGeneratedExtension
equals, findInitializationErrors, getInitializationErrorString, hashCode, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public com.google.protobuf.Parser<ClassHierarchyProto.ClassNode> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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 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 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 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 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 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.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<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 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 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.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<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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
public static ClassHierarchyProto.ClassNode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClassHierarchyProto.ClassNode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClassHierarchyProto.ClassNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClassHierarchyProto.ClassNode parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClassHierarchyProto.ClassNode parseFrom(InputStream input) throws IOException
IOException
public static ClassHierarchyProto.ClassNode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClassHierarchyProto.ClassNode parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClassHierarchyProto.ClassNode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClassHierarchyProto.ClassNode parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ClassHierarchyProto.ClassNode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClassHierarchyProto.ClassNode.Builder newBuilder()
public ClassHierarchyProto.ClassNode.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ClassHierarchyProto.ClassNode.Builder newBuilder(ClassHierarchyProto.ClassNode prototype)
public ClassHierarchyProto.ClassNode.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2016 The Apache Software Foundation. All rights reserved.