public class BigQuerySchemaUtil extends Object
| Constructor and Description |
|---|
BigQuerySchemaUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
generatePlaceholderFieldName(String fieldName)
* Generates a placeholder name that consists of a prefix + base64 encoded field name.
|
static String |
getFieldName(com.google.protobuf.Descriptors.FieldDescriptor fieldDescriptor)
* Gets the user-facing field name from the descriptor
|
static boolean |
isProtoCompatible(String fieldName)
* Checks if the field name is compatible with proto field naming convention.
|
public static boolean isProtoCompatible(String fieldName)
fieldName - name for the fieldpublic static String generatePlaceholderFieldName(String fieldName)
fieldName - name for the fieldpublic static String getFieldName(com.google.protobuf.Descriptors.FieldDescriptor fieldDescriptor)
fieldDescriptor - Copyright © 2023 Google LLC. All rights reserved.