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