1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package bigquery
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 type TableReference struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
46
47 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
48
49
50
51
52
53 TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
54
55
56 ProjectIdAlternative []string `protobuf:"bytes,4,rep,name=project_id_alternative,json=projectIdAlternative,proto3" json:"project_id_alternative,omitempty"`
57
58
59 DatasetIdAlternative []string `protobuf:"bytes,5,rep,name=dataset_id_alternative,json=datasetIdAlternative,proto3" json:"dataset_id_alternative,omitempty"`
60
61
62 TableIdAlternative []string `protobuf:"bytes,6,rep,name=table_id_alternative,json=tableIdAlternative,proto3" json:"table_id_alternative,omitempty"`
63 }
64
65 func (x *TableReference) Reset() {
66 *x = TableReference{}
67 if protoimpl.UnsafeEnabled {
68 mi := &file_google_cloud_bigquery_v2_table_reference_proto_msgTypes[0]
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 ms.StoreMessageInfo(mi)
71 }
72 }
73
74 func (x *TableReference) String() string {
75 return protoimpl.X.MessageStringOf(x)
76 }
77
78 func (*TableReference) ProtoMessage() {}
79
80 func (x *TableReference) ProtoReflect() protoreflect.Message {
81 mi := &file_google_cloud_bigquery_v2_table_reference_proto_msgTypes[0]
82 if protoimpl.UnsafeEnabled && x != nil {
83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
84 if ms.LoadMessageInfo() == nil {
85 ms.StoreMessageInfo(mi)
86 }
87 return ms
88 }
89 return mi.MessageOf(x)
90 }
91
92
93 func (*TableReference) Descriptor() ([]byte, []int) {
94 return file_google_cloud_bigquery_v2_table_reference_proto_rawDescGZIP(), []int{0}
95 }
96
97 func (x *TableReference) GetProjectId() string {
98 if x != nil {
99 return x.ProjectId
100 }
101 return ""
102 }
103
104 func (x *TableReference) GetDatasetId() string {
105 if x != nil {
106 return x.DatasetId
107 }
108 return ""
109 }
110
111 func (x *TableReference) GetTableId() string {
112 if x != nil {
113 return x.TableId
114 }
115 return ""
116 }
117
118 func (x *TableReference) GetProjectIdAlternative() []string {
119 if x != nil {
120 return x.ProjectIdAlternative
121 }
122 return nil
123 }
124
125 func (x *TableReference) GetDatasetIdAlternative() []string {
126 if x != nil {
127 return x.DatasetIdAlternative
128 }
129 return nil
130 }
131
132 func (x *TableReference) GetTableIdAlternative() []string {
133 if x != nil {
134 return x.TableIdAlternative
135 }
136 return nil
137 }
138
139 var File_google_cloud_bigquery_v2_table_reference_proto protoreflect.FileDescriptor
140
141 var file_google_cloud_bigquery_v2_table_reference_proto_rawDesc = []byte{
142 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
143 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65,
144 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
145 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
146 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
147 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
148 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 0x02, 0x0a, 0x0e,
149 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x22,
150 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
151 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
152 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64,
153 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74,
154 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f,
155 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x74,
156 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
157 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65,
158 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49,
159 0x64, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x12, 0x34, 0x0a, 0x16,
160 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72,
161 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x64, 0x61,
162 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69,
163 0x76, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x61,
164 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09,
165 0x52, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61,
166 0x74, 0x69, 0x76, 0x65, 0x42, 0x75, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
167 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
168 0x79, 0x2e, 0x76, 0x32, 0x42, 0x13, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72,
169 0x65, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
170 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
171 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
172 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f,
173 0x76, 0x32, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f,
174 0x74, 0x6f, 0x33,
175 }
176
177 var (
178 file_google_cloud_bigquery_v2_table_reference_proto_rawDescOnce sync.Once
179 file_google_cloud_bigquery_v2_table_reference_proto_rawDescData = file_google_cloud_bigquery_v2_table_reference_proto_rawDesc
180 )
181
182 func file_google_cloud_bigquery_v2_table_reference_proto_rawDescGZIP() []byte {
183 file_google_cloud_bigquery_v2_table_reference_proto_rawDescOnce.Do(func() {
184 file_google_cloud_bigquery_v2_table_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_table_reference_proto_rawDescData)
185 })
186 return file_google_cloud_bigquery_v2_table_reference_proto_rawDescData
187 }
188
189 var file_google_cloud_bigquery_v2_table_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
190 var file_google_cloud_bigquery_v2_table_reference_proto_goTypes = []interface{}{
191 (*TableReference)(nil),
192 }
193 var file_google_cloud_bigquery_v2_table_reference_proto_depIdxs = []int32{
194 0,
195 0,
196 0,
197 0,
198 0,
199 }
200
201 func init() { file_google_cloud_bigquery_v2_table_reference_proto_init() }
202 func file_google_cloud_bigquery_v2_table_reference_proto_init() {
203 if File_google_cloud_bigquery_v2_table_reference_proto != nil {
204 return
205 }
206 if !protoimpl.UnsafeEnabled {
207 file_google_cloud_bigquery_v2_table_reference_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
208 switch v := v.(*TableReference); i {
209 case 0:
210 return &v.state
211 case 1:
212 return &v.sizeCache
213 case 2:
214 return &v.unknownFields
215 default:
216 return nil
217 }
218 }
219 }
220 type x struct{}
221 out := protoimpl.TypeBuilder{
222 File: protoimpl.DescBuilder{
223 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
224 RawDescriptor: file_google_cloud_bigquery_v2_table_reference_proto_rawDesc,
225 NumEnums: 0,
226 NumMessages: 1,
227 NumExtensions: 0,
228 NumServices: 0,
229 },
230 GoTypes: file_google_cloud_bigquery_v2_table_reference_proto_goTypes,
231 DependencyIndexes: file_google_cloud_bigquery_v2_table_reference_proto_depIdxs,
232 MessageInfos: file_google_cloud_bigquery_v2_table_reference_proto_msgTypes,
233 }.Build()
234 File_google_cloud_bigquery_v2_table_reference_proto = out.File
235 file_google_cloud_bigquery_v2_table_reference_proto_rawDesc = nil
236 file_google_cloud_bigquery_v2_table_reference_proto_goTypes = nil
237 file_google_cloud_bigquery_v2_table_reference_proto_depIdxs = nil
238 }
239
View as plain text