|
| 1 | +/* |
| 2 | + * Copyright 2020 Google LLC |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | +// Generated by the protocol buffer compiler. DO NOT EDIT! |
| 17 | +// source: google/cloud/bigquery/storage/v1/annotations.proto |
| 18 | + |
| 19 | +package com.google.cloud.bigquery.storage.v1; |
| 20 | + |
| 21 | +public final class AnnotationsProto { |
| 22 | + private AnnotationsProto() {} |
| 23 | + |
| 24 | + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { |
| 25 | + registry.add(com.google.cloud.bigquery.storage.v1.AnnotationsProto.columnName); |
| 26 | + } |
| 27 | + |
| 28 | + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { |
| 29 | + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); |
| 30 | + } |
| 31 | + |
| 32 | + public static final int COLUMN_NAME_FIELD_NUMBER = 454943157; |
| 33 | + /** |
| 34 | + * |
| 35 | + * |
| 36 | + * <pre> |
| 37 | + * Setting the column_name extension allows users to reference |
| 38 | + * bigquery column independently of the field name in the protocol buffer |
| 39 | + * message. |
| 40 | + * The intended use of this annotation is to reference a destination column |
| 41 | + * named using characters unavailable for protobuf field names (e.g. unicode |
| 42 | + * characters). |
| 43 | + * More details about BigQuery naming limitations can be found here: |
| 44 | + * https://cloud.google.com/bigquery/docs/schemas#column_names |
| 45 | + * This extension is currently experimental. |
| 46 | + * </pre> |
| 47 | + * |
| 48 | + * <code>extend .google.protobuf.FieldOptions { ... }</code> |
| 49 | + */ |
| 50 | + public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< |
| 51 | + com.google.protobuf.DescriptorProtos.FieldOptions, java.lang.String> |
| 52 | + columnName = |
| 53 | + com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension( |
| 54 | + java.lang.String.class, null); |
| 55 | + |
| 56 | + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { |
| 57 | + return descriptor; |
| 58 | + } |
| 59 | + |
| 60 | + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; |
| 61 | + |
| 62 | + static { |
| 63 | + java.lang.String[] descriptorData = { |
| 64 | + "\n2google/cloud/bigquery/storage/v1/annot" |
| 65 | + + "ations.proto\022 google.cloud.bigquery.stor" |
| 66 | + + "age.v1\032 google/protobuf/descriptor.proto" |
| 67 | + + ":9\n\013column_name\022\035.google.protobuf.FieldO" |
| 68 | + + "ptions\030\265\303\367\330\001 \001(\t\210\001\001B\311\001\n$com.google.cloud" |
| 69 | + + ".bigquery.storage.v1B\020AnnotationsProtoP\001" |
| 70 | + + "ZGgoogle.golang.org/genproto/googleapis/" |
| 71 | + + "cloud/bigquery/storage/v1;storage\252\002 Goog" |
| 72 | + + "le.Cloud.BigQuery.Storage.V1\312\002 Google\\Cl" |
| 73 | + + "oud\\BigQuery\\Storage\\V1b\006proto3" |
| 74 | + }; |
| 75 | + descriptor = |
| 76 | + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( |
| 77 | + descriptorData, |
| 78 | + new com.google.protobuf.Descriptors.FileDescriptor[] { |
| 79 | + com.google.protobuf.DescriptorProtos.getDescriptor(), |
| 80 | + }); |
| 81 | + columnName.internalInit(descriptor.getExtensions().get(0)); |
| 82 | + com.google.protobuf.DescriptorProtos.getDescriptor(); |
| 83 | + } |
| 84 | + |
| 85 | + // @@protoc_insertion_point(outer_class_scope) |
| 86 | +} |
0 commit comments