java_names.h

#include <google/protobuf/compiler/java/java_names.h>
namespace google::protobuf::compiler::java

Provides a mechanism for mapping a descriptor to the fully-qualified name of the corresponding Java class.

Classes in this file

File Members

These definitions are not part of any class.
string
ClassName(const Descriptor * descriptor)
Requires: more...
string
ClassName(const EnumDescriptor * descriptor)
Requires: more...
string
ClassName(const FileDescriptor * descriptor)
Requires: more...
string
ClassName(const ServiceDescriptor * descriptor)
Requires: more...

string java::ClassName(
        const Descriptor * descriptor)

Requires:

descriptor != NULL
Returns:
The fully-qualified Java class name.

string java::ClassName(
        const EnumDescriptor * descriptor)

Requires:

descriptor != NULL
Returns:
The fully-qualified Java class name.

string java::ClassName(
        const FileDescriptor * descriptor)

Requires:

descriptor != NULL
Returns:
The fully-qualified Java class name.

string java::ClassName(
        const ServiceDescriptor * descriptor)

Requires:

descriptor != NULL
Returns:
The fully-qualified Java class name.