Class AnnotationsProto (3.0.1)

public final class AnnotationsProto

Inheritance

java.lang.Object > AnnotationsProto

Static Fields

COLUMN_NAME_FIELD_NUMBER

public static final int COLUMN_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

columnName

public static final GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,String> columnName

Setting the column_name extension allows users to reference bigquery column independently of the field name in the protocol buffer message.

The intended use of this annotation is to reference a destination column named using characters unavailable for protobuf field names (e.g. unicode characters).

More details about BigQuery naming limitations can be found here: https://cloud.google.com/bigquery/docs/schemas#column_names

This extension is currently experimental.

extend .google.protobuf.FieldOptions { ... }

Field Value
TypeDescription
GeneratedExtension<FieldOptions,String>

Static Methods

getDescriptor()

public static Descriptors.FileDescriptor getDescriptor()
Returns
TypeDescription
FileDescriptor

registerAllExtensions(ExtensionRegistry registry)

public static void registerAllExtensions(ExtensionRegistry registry)
Parameter
NameDescription
registryExtensionRegistry

registerAllExtensions(ExtensionRegistryLite registry)

public static void registerAllExtensions(ExtensionRegistryLite registry)
Parameter
NameDescription
registryExtensionRegistryLite