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,
String outerProtoName) |
static String |
getFullJavaName(com.google.protobuf.Descriptors.EnumDescriptor enumDescriptor,
String outerProtoName) |
static String |
getOuterProtoPrefix(String name) |
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, String outerProtoName)
public static String getFullJavaName(com.google.protobuf.Descriptors.EnumDescriptor enumDescriptor, String outerProtoName)
public static boolean isSimpleType(LogicalType type)
public static com.google.protobuf.Descriptors.Descriptor getDescriptor(String className)
public static boolean isRepeatedType(LogicalType type)
public static boolean isArrayType(LogicalType type)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.