public final class ProtobufDescriptorMap
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ProtobufDescriptorMap |
from(com.google.protobuf.DescriptorProtos.FileDescriptorSet fileDescriptorSet) |
static ProtobufDescriptorMap |
from(java.lang.String fileDescriptorPath) |
static ProtobufDescriptorMap |
from(java.net.URL fileDescriptorUrl) |
java.util.Optional<com.google.protobuf.Descriptors.GenericDescriptor> |
getDescriptorByName(java.lang.String messageFullName) |
public static ProtobufDescriptorMap from(java.lang.String fileDescriptorPath) throws java.io.IOException
java.io.IOException
public static ProtobufDescriptorMap from(java.net.URL fileDescriptorUrl) throws java.io.IOException
java.io.IOException
public static ProtobufDescriptorMap from(com.google.protobuf.DescriptorProtos.FileDescriptorSet fileDescriptorSet)
public java.util.Optional<com.google.protobuf.Descriptors.GenericDescriptor> getDescriptorByName(java.lang.String messageFullName)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.