public class ProtobufClassName extends Object
| Constructor and Description |
|---|
ProtobufClassName() |
| Modifier and Type | Method and Description |
|---|---|
static String |
from(com.google.protobuf.Descriptors.Descriptor messageDescriptor)
Derives the Protobuf generated Java class name using the Descriptor.
|
static String |
normalize(String fileDescriptorName)
Normalizes the fileDescriptorName to class name.
|
public static String from(@NonNull com.google.protobuf.Descriptors.Descriptor messageDescriptor)
messageDescriptor - Protobuf message descriptorpublic static String normalize(String fileDescriptorName)
Copyright © 2024. All rights reserved.