Uses of Class
com.google.protobuf.Descriptors.Descriptor
-
Packages that use Descriptors.Descriptor Package Description com.google.protobuf com.google.protobuf.compiler com.google.protobuf.util -
-
Uses of Descriptors.Descriptor in com.google.protobuf
Fields in com.google.protobuf declared as Descriptors.Descriptor Modifier and Type Field Description private Descriptors.DescriptorDescriptors.Descriptor. containingTypeprivate Descriptors.DescriptorDescriptors.EnumDescriptor. containingTypeprivate Descriptors.DescriptorDescriptors.FieldDescriptor. containingTypeprivate Descriptors.DescriptorDescriptors.OneofDescriptor. containingType(package private) Descriptors.DescriptorDescriptorMessageInfoFactory.IsInitializedCheckAnalyzer.Node. descriptorprivate Descriptors.DescriptorExtensionRegistry.DescriptorIntPair. descriptorprivate Descriptors.DescriptorGeneratedMessage.FieldAccessorTable. descriptorprivate Descriptors.DescriptorGeneratedMessage.FieldAccessorTable.RealOneofAccessor. descriptorDescriptors.DescriptorMapEntry.Metadata. descriptorprivate static Descriptors.Descriptor[]Descriptors. EMPTY_DESCRIPTORSprivate Descriptors.DescriptorDescriptors.FieldDescriptor. extensionScopeprivate Descriptors.DescriptorDescriptors.MethodDescriptor. inputTypeprivate static Descriptors.DescriptorJavaFeaturesProto. internal_static_pb_JavaFeatures_descriptorprivate Descriptors.DescriptorDescriptors.FieldDescriptor. messageTypeprivate Descriptors.Descriptor[]Descriptors.FileDescriptor. messageTypesprivate Descriptors.Descriptor[]Descriptors.Descriptor. nestedTypesprivate Descriptors.DescriptorDescriptors.MethodDescriptor. outputTypeprivate Descriptors.DescriptorDynamicMessage.Builder. typeprivate Descriptors.DescriptorDynamicMessage. typeFields in com.google.protobuf with type parameters of type Descriptors.Descriptor Modifier and Type Field Description (package private) java.util.List<Descriptors.Descriptor>DescriptorMessageInfoFactory.IsInitializedCheckAnalyzer.StronglyConnectedComponent. messagesprivate java.util.Map<Descriptors.Descriptor,DescriptorMessageInfoFactory.IsInitializedCheckAnalyzer.Node>DescriptorMessageInfoFactory.IsInitializedCheckAnalyzer. nodeCacheprivate java.util.Map<Descriptors.Descriptor,java.lang.Boolean>DescriptorMessageInfoFactory.IsInitializedCheckAnalyzer. resultCacheprivate java.util.Map<java.lang.String,Descriptors.Descriptor>TypeRegistry.Builder. typesprivate java.util.Map<java.lang.String,Descriptors.Descriptor>TypeRegistry. typesMethods in com.google.protobuf that return Descriptors.Descriptor Modifier and Type Method Description private static Descriptors.DescriptorDescriptorMessageInfoFactory. descriptorForType(java.lang.Class<?> messageType)Descriptors.DescriptorTypeRegistry. find(java.lang.String name)Find a type by its full name.Descriptors.DescriptorDescriptors.FileDescriptor. findMessageTypeByName(java.lang.String name)Find a message type in the file by name.Descriptors.DescriptorDescriptors.Descriptor. findNestedTypeByName(java.lang.String name)Finds a nested message type by name.Descriptors.DescriptorDescriptors.Descriptor. getContainingType()If this is a nested type, get the outer descriptor, otherwise null.Descriptors.DescriptorDescriptors.EnumDescriptor. getContainingType()If this is a nested type, get the outer descriptor, otherwise null.Descriptors.DescriptorDescriptors.FieldDescriptor. getContainingType()Get the field's containing type.Descriptors.DescriptorDescriptors.OneofDescriptor. getContainingType()static Descriptors.DescriptorJavaFeaturesProto.JavaFeatures.Builder. getDescriptor()static Descriptors.DescriptorJavaFeaturesProto.JavaFeatures. getDescriptor()Descriptors.DescriptorDynamicMessage.Builder. getDescriptorForType()Descriptors.DescriptorDynamicMessage. getDescriptorForType()Descriptors.DescriptorGeneratedMessage.Builder. getDescriptorForType()Descriptors.DescriptorGeneratedMessage. getDescriptorForType()Descriptors.DescriptorJavaFeaturesProto.JavaFeatures.Builder. getDescriptorForType()Descriptors.DescriptorMapEntry.Builder. getDescriptorForType()Descriptors.DescriptorMapEntry. getDescriptorForType()Descriptors.DescriptorMessage.Builder. getDescriptorForType()Get the message's type's descriptor.Descriptors.DescriptorMessageOrBuilder. getDescriptorForType()Get the message's type's descriptor.Descriptors.DescriptorMessageReflection.BuilderAdapter. getDescriptorForType()Descriptors.DescriptorMessageReflection.ExtensionAdapter. getDescriptorForType()Descriptors.DescriptorMessageReflection.ExtensionBuilderAdapter. getDescriptorForType()Descriptors.DescriptorMessageReflection.MergeTarget. getDescriptorForType()Returns the descriptor for the target.Descriptors.DescriptorTypeRegistry. getDescriptorForTypeUrl(java.lang.String typeUrl)Find a type by its typeUrl.Descriptors.DescriptorDescriptors.FieldDescriptor. getExtensionScope()For extensions defined nested within message types, gets the outer type.Descriptors.DescriptorDescriptors.MethodDescriptor. getInputType()Get the method's input type.Descriptors.DescriptorDescriptors.FieldDescriptor. getMessageType()For embedded message and group fields, gets the field's type.Descriptors.DescriptorDescriptors.MethodDescriptor. getOutputType()Get the method's output type.Methods in com.google.protobuf that return types with arguments of type Descriptors.Descriptor Modifier and Type Method Description java.util.List<Descriptors.Descriptor>Descriptors.FileDescriptor. getMessageTypes()Get a list of top-level message types declared in this file.java.util.List<Descriptors.Descriptor>Descriptors.Descriptor. getNestedTypes()Get a list of message types nested within this one.Methods in com.google.protobuf with parameters of type Descriptors.Descriptor Modifier and Type Method Description TypeRegistry.BuilderTypeRegistry.Builder. add(Descriptors.Descriptor messageType)Adds a message type and all types defined in the same .proto file as well as all transitively imported .proto files to thisTypeRegistry.Builder.private voidTypeRegistry.Builder. addMessage(Descriptors.Descriptor message)private static java.lang.StringDescriptors. computeFullName(Descriptors.FileDescriptor file, Descriptors.Descriptor parent, java.lang.String name)private static MessageInfoDescriptorMessageInfoFactory. convert(java.lang.Class<?> messageType, Descriptors.Descriptor messageDescriptor)private voidTextFormat.Parser. detectSilentMarker(TextFormat.Tokenizer tokenizer, Descriptors.Descriptor immediateMessageType, java.lang.String fieldName)A valid silent marker appears between a field name and its value.private DescriptorMessageInfoFactory.IsInitializedCheckAnalyzer.NodeDescriptorMessageInfoFactory.IsInitializedCheckAnalyzer. dfs(Descriptors.Descriptor descriptor)ExtensionRegistry.ExtensionInfoExtensionRegistry. findExtensionByNumber(Descriptors.Descriptor containingType, int fieldNumber)Deprecated.ExtensionRegistry.ExtensionInfoMessageReflection.BuilderAdapter. findExtensionByNumber(ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber)ExtensionRegistry.ExtensionInfoMessageReflection.ExtensionAdapter. findExtensionByNumber(ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber)ExtensionRegistry.ExtensionInfoMessageReflection.ExtensionBuilderAdapter. findExtensionByNumber(ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber)ExtensionRegistry.ExtensionInfoMessageReflection.MergeTarget. findExtensionByNumber(ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber)ExtensionRegistry.ExtensionInfoExtensionRegistry. findImmutableExtensionByNumber(Descriptors.Descriptor containingType, int fieldNumber)Find an extension by containing type and field number for immutable APIs.ExtensionRegistry.ExtensionInfoExtensionRegistry. findMutableExtensionByNumber(Descriptors.Descriptor containingType, int fieldNumber)Find an extension by containing type and field number for mutable APIs.static DynamicMessageDynamicMessage. getDefaultInstance(Descriptors.Descriptor type)Get aDynamicMessagerepresenting the default instance of the given type.private voidTextFormat.Parser. guessFieldTypeAndSkip(TextFormat.Tokenizer tokenizer, Descriptors.Descriptor type, int recursionLimit)Tries to guess the type of this field and skip it.(package private) static booleanDynamicMessage. isInitialized(Descriptors.Descriptor type, FieldSet<Descriptors.FieldDescriptor> fields)private voidTextFormat.Parser. mergeAnyFieldValue(TextFormat.Tokenizer tokenizer, ExtensionRegistry extensionRegistry, MessageReflection.MergeTarget target, TextFormatParseInfoTree.Builder parseTreeBuilder, java.util.List<TextFormat.Parser.UnknownField> unknownFields, Descriptors.Descriptor anyDescriptor, int recursionLimit)(package private) static booleanMessageReflection. mergeFieldFrom(CodedInputStream input, UnknownFieldSet.Builder unknownFields, ExtensionRegistryLite extensionRegistry, Descriptors.Descriptor type, MessageReflection.MergeTarget target, int tag)Parses a single field into MergeTarget.private static voidMessageReflection. mergeMessageSetExtensionFromCodedStream(CodedInputStream input, UnknownFieldSet.Builder unknownFields, ExtensionRegistryLite extensionRegistry, Descriptors.Descriptor type, MessageReflection.MergeTarget target)Called by#mergeFieldFrom()to parse a MessageSet extension into MergeTarget.booleanDescriptorMessageInfoFactory.IsInitializedCheckAnalyzer. needsIsInitializedCheck(Descriptors.Descriptor descriptor)private static booleanDescriptorMessageInfoFactory. needsIsInitializedCheck(Descriptors.Descriptor descriptor)static DynamicMessage.BuilderDynamicMessage. newBuilder(Descriptors.Descriptor type)Construct aMessage.Builderfor the given type.static <K,V>
MapEntry<K,V>MapEntry. newDefaultInstance(Descriptors.Descriptor descriptor, WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue)Create a default MapEntry instance.static DynamicMessageDynamicMessage. parseFrom(Descriptors.Descriptor type, byte[] data)Parsedataas a message of the given type and return it.static DynamicMessageDynamicMessage. parseFrom(Descriptors.Descriptor type, byte[] data, ExtensionRegistry extensionRegistry)Parsedataas a message of the given type and return it.static DynamicMessageDynamicMessage. parseFrom(Descriptors.Descriptor type, ByteString data)Parsedataas a message of the given type and return it.static DynamicMessageDynamicMessage. parseFrom(Descriptors.Descriptor type, ByteString data, ExtensionRegistry extensionRegistry)Parsedataas a message of the given type and return it.static DynamicMessageDynamicMessage. parseFrom(Descriptors.Descriptor type, CodedInputStream input)Parse a message of the given type from the given input stream.static DynamicMessageDynamicMessage. parseFrom(Descriptors.Descriptor type, CodedInputStream input, ExtensionRegistry extensionRegistry)Parse a message of the given type from the given input stream.static DynamicMessageDynamicMessage. parseFrom(Descriptors.Descriptor type, java.io.InputStream input)Parse a message of the given type frominputand return it.static DynamicMessageDynamicMessage. parseFrom(Descriptors.Descriptor type, java.io.InputStream input, ExtensionRegistry extensionRegistry)Parse a message of the given type frominputand return it.private voidTextFormat.Parser. skipField(TextFormat.Tokenizer tokenizer, Descriptors.Descriptor type, int recursionLimit)Skips the next field including the field's name and value.private voidTextFormat.Parser. skipFieldMessage(TextFormat.Tokenizer tokenizer, Descriptors.Descriptor type, int recursionLimit)Skips the whole body of a message including the beginning delimiter and the ending delimiter.private voidTextFormat.Parser. skipFieldShortFormedRepeated(TextFormat.Tokenizer tokenizer, boolean scalarAllowed, Descriptors.Descriptor type, int recursionLimit)Skips a short-formed repeated field value.Method parameters in com.google.protobuf with type arguments of type Descriptors.Descriptor Modifier and Type Method Description TypeRegistry.BuilderTypeRegistry.Builder. add(java.lang.Iterable<Descriptors.Descriptor> messageTypes)Adds message types and all types defined in the same .proto file as well as all transitively imported .proto files to thisTypeRegistry.Builder.Constructors in com.google.protobuf with parameters of type Descriptors.Descriptor Constructor Description Builder(Descriptors.Descriptor type)Construct aBuilderfor the given type.Descriptor(DescriptorProtos.DescriptorProto proto, Descriptors.FileDescriptor file, Descriptors.Descriptor parent, int index)DescriptorIntPair(Descriptors.Descriptor descriptor, int number)DynamicMessage(Descriptors.Descriptor type, FieldSet<Descriptors.FieldDescriptor> fields, Descriptors.FieldDescriptor[] oneofCases, UnknownFieldSet unknownFields)Construct aDynamicMessageusing the givenFieldSet.EnumDescriptor(DescriptorProtos.EnumDescriptorProto proto, Descriptors.FileDescriptor file, Descriptors.Descriptor parent, int index)FieldAccessorTable(Descriptors.Descriptor descriptor, java.lang.String[] camelCaseNames)Construct a FieldAccessorTable for a particular message class without initializing FieldAccessors.FieldAccessorTable(Descriptors.Descriptor descriptor, java.lang.String[] camelCaseNames, java.lang.Class<? extends GeneratedMessage> messageClass, java.lang.Class<? extends GeneratedMessage.Builder<?>> builderClass)Construct a FieldAccessorTable for a particular message class.FieldAccessorTable(Descriptors.Descriptor descriptor, java.lang.String[] camelCaseNames)Deprecated.FieldAccessorTable(Descriptors.Descriptor descriptor, java.lang.String[] camelCaseNames, java.lang.Class<? extends GeneratedMessageV3> messageClass, java.lang.Class<? extends GeneratedMessageV3.Builder<?>> builderClass)Deprecated.FieldDescriptor(DescriptorProtos.FieldDescriptorProto proto, Descriptors.FileDescriptor file, Descriptors.Descriptor parent, int index, boolean isExtension)FileDescriptor(java.lang.String packageName, Descriptors.Descriptor message)Create a placeholder FileDescriptor for a message Descriptor.MapEntry(Descriptors.Descriptor descriptor, WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue)Create a default MapEntry instance.Metadata(Descriptors.Descriptor descriptor, MapEntry<K,V> defaultInstance, WireFormat.FieldType keyType, WireFormat.FieldType valueType)Node(Descriptors.Descriptor descriptor, int index)OneofDescriptor(DescriptorProtos.OneofDescriptorProto proto, Descriptors.FileDescriptor file, Descriptors.Descriptor parent, int index)RealOneofAccessor(Descriptors.Descriptor descriptor, java.lang.String camelCaseName, java.lang.Class<? extends GeneratedMessage> messageClass, java.lang.Class<? extends GeneratedMessage.Builder<?>> builderClass)SyntheticOneofAccessor(Descriptors.Descriptor descriptor, int oneofIndex)Constructor parameters in com.google.protobuf with type arguments of type Descriptors.Descriptor Constructor Description TypeRegistry(java.util.Map<java.lang.String,Descriptors.Descriptor> types) -
Uses of Descriptors.Descriptor in com.google.protobuf.compiler
Fields in com.google.protobuf.compiler declared as Descriptors.Descriptor Modifier and Type Field Description private static Descriptors.DescriptorPluginProtos. internal_static_google_protobuf_compiler_CodeGeneratorRequest_descriptorprivate static Descriptors.DescriptorPluginProtos. internal_static_google_protobuf_compiler_CodeGeneratorResponse_descriptorprivate static Descriptors.DescriptorPluginProtos. internal_static_google_protobuf_compiler_CodeGeneratorResponse_File_descriptorprivate static Descriptors.DescriptorPluginProtos. internal_static_google_protobuf_compiler_Version_descriptorMethods in com.google.protobuf.compiler that return Descriptors.Descriptor Modifier and Type Method Description static Descriptors.DescriptorPluginProtos.CodeGeneratorRequest.Builder. getDescriptor()static Descriptors.DescriptorPluginProtos.CodeGeneratorRequest. getDescriptor()static Descriptors.DescriptorPluginProtos.CodeGeneratorResponse.Builder. getDescriptor()static Descriptors.DescriptorPluginProtos.CodeGeneratorResponse.File.Builder. getDescriptor()static Descriptors.DescriptorPluginProtos.CodeGeneratorResponse.File. getDescriptor()static Descriptors.DescriptorPluginProtos.CodeGeneratorResponse. getDescriptor()static Descriptors.DescriptorPluginProtos.Version.Builder. getDescriptor()static Descriptors.DescriptorPluginProtos.Version. getDescriptor()Descriptors.DescriptorPluginProtos.CodeGeneratorRequest.Builder. getDescriptorForType()Descriptors.DescriptorPluginProtos.CodeGeneratorResponse.Builder. getDescriptorForType()Descriptors.DescriptorPluginProtos.CodeGeneratorResponse.File.Builder. getDescriptorForType()Descriptors.DescriptorPluginProtos.Version.Builder. getDescriptorForType() -
Uses of Descriptors.Descriptor in com.google.protobuf.util
Fields in com.google.protobuf.util with type parameters of type Descriptors.Descriptor Modifier and Type Field Description private java.util.Map<Descriptors.Descriptor,java.util.Map<java.lang.String,Descriptors.FieldDescriptor>>JsonFormat.ParserImpl. fieldNameMapsprivate java.util.Map<java.lang.String,Descriptors.Descriptor>JsonFormat.TypeRegistry.Builder. typesprivate java.util.Map<java.lang.String,Descriptors.Descriptor>JsonFormat.TypeRegistry. typesMethods in com.google.protobuf.util that return Descriptors.Descriptor Modifier and Type Method Description Descriptors.DescriptorJsonFormat.TypeRegistry. find(java.lang.String name)Find a type by its full name.(package private) Descriptors.DescriptorJsonFormat.TypeRegistry. getDescriptorForTypeUrl(java.lang.String typeUrl)Methods in com.google.protobuf.util with parameters of type Descriptors.Descriptor Modifier and Type Method Description JsonFormat.TypeRegistry.BuilderJsonFormat.TypeRegistry.Builder. add(Descriptors.Descriptor messageType)Adds a message type and all types defined in the same .proto file as well as all transitively imported .proto files to thisJsonFormat.TypeRegistry.Builder.private voidJsonFormat.TypeRegistry.Builder. addMessage(Descriptors.Descriptor message)static FieldMaskFieldMaskUtil. fromStringList(Descriptors.Descriptor descriptor, java.lang.Iterable<java.lang.String> paths)Constructs a FieldMask for a list of field paths in a certain type.private java.util.Map<java.lang.String,Descriptors.FieldDescriptor>JsonFormat.ParserImpl. getFieldNameMap(Descriptors.Descriptor descriptor)static booleanFieldMaskUtil. isValid(Descriptors.Descriptor descriptor, FieldMask fieldMask)Checks whether paths in a given fields mask are valid.static booleanFieldMaskUtil. isValid(Descriptors.Descriptor descriptor, java.lang.String path)Checks whether paths in a given fields mask are valid.Method parameters in com.google.protobuf.util with type arguments of type Descriptors.Descriptor Modifier and Type Method Description JsonFormat.TypeRegistry.BuilderJsonFormat.TypeRegistry.Builder. add(java.lang.Iterable<Descriptors.Descriptor> messageTypes)Adds message types and all types defined in the same .proto file as well as all transitively imported .proto files to thisJsonFormat.TypeRegistry.Builder.private static FieldMaskFieldMaskUtil. fromStringList(com.google.common.base.Optional<Descriptors.Descriptor> descriptor, java.lang.Iterable<java.lang.String> paths)Constructor parameters in com.google.protobuf.util with type arguments of type Descriptors.Descriptor Constructor Description TypeRegistry(java.util.Map<java.lang.String,Descriptors.Descriptor> types)
-