Class AnnotationsProto (3.5.2)

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
Type Description
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
Type Description
GeneratedExtension<FieldOptions,String>

Static Methods

getDescriptor()

public static Descriptors.FileDescriptor getDescriptor()
Returns
Type Description
FileDescriptor

registerAllExtensions(ExtensionRegistry registry)

public static void registerAllExtensions(ExtensionRegistry registry)
Parameter
Name Description
registry ExtensionRegistry

registerAllExtensions(ExtensionRegistryLite registry)

public static void registerAllExtensions(ExtensionRegistryLite registry)
Parameter
Name Description
registry ExtensionRegistryLite