public class PbFormatUtils extends Object
Constructor and Description |
---|
PbFormatUtils() |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor(String className) |
static String |
getFullJavaName(com.google.protobuf.Descriptors.Descriptor descriptor) |
static String |
getFullJavaName(com.google.protobuf.Descriptors.EnumDescriptor enumDescriptor) |
static String |
getOuterClassName(com.google.protobuf.Descriptors.FileDescriptor fileDescriptor) |
static String |
getOuterProtoPrefix(com.google.protobuf.Descriptors.FileDescriptor fileDescriptor) |
static String |
getStrongCamelCaseJsonName(String name) |
static boolean |
isArrayType(LogicalType type) |
static boolean |
isRepeatedType(LogicalType type) |
static boolean |
isSimpleType(LogicalType type) |
public static String getFullJavaName(com.google.protobuf.Descriptors.Descriptor descriptor)
public static String getFullJavaName(com.google.protobuf.Descriptors.EnumDescriptor enumDescriptor)
public static boolean isSimpleType(LogicalType type)
public static String getOuterClassName(com.google.protobuf.Descriptors.FileDescriptor fileDescriptor)
public static String getOuterProtoPrefix(com.google.protobuf.Descriptors.FileDescriptor fileDescriptor)
public static com.google.protobuf.Descriptors.Descriptor getDescriptor(String className)
public static boolean isRepeatedType(LogicalType type)
public static boolean isArrayType(LogicalType type)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.