Debian Codegraph @

financialservices/apiv1/financialservicespb/bigquery_destination.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/financialservices/v1/bigquery_destination.proto
20
21 package financialservicespb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // WriteDisposition controls the behavior when the destination table already
39 // exists.
40 type BigQueryDestination_WriteDisposition int32
41
42 const (
43 // Default behavior is the same as WRITE_EMPTY.
44 BigQueryDestination_WRITE_DISPOSITION_UNSPECIFIED BigQueryDestination_WriteDisposition = 0
45 // If the table already exists and contains data, an error is returned.
46 BigQueryDestination_WRITE_EMPTY BigQueryDestination_WriteDisposition = 1
47 // If the table already exists, the data will be overwritten.
48 BigQueryDestination_WRITE_TRUNCATE BigQueryDestination_WriteDisposition = 2
49 )
50
51 // Enum value maps for BigQueryDestination_WriteDisposition.
52 var (
53 BigQueryDestination_WriteDisposition_name = map[int32]string{
54 0: "WRITE_DISPOSITION_UNSPECIFIED",
55 1: "WRITE_EMPTY",
56 2: "WRITE_TRUNCATE",
57 }
58 BigQueryDestination_WriteDisposition_value = map[string]int32{
59 "WRITE_DISPOSITION_UNSPECIFIED": 0,
60 "WRITE_EMPTY": 1,
61 "WRITE_TRUNCATE": 2,
62 }
63 )
64
65 func (x BigQueryDestination_WriteDisposition) Enum() *BigQueryDestination_WriteDisposition {
66 p := new(BigQueryDestination_WriteDisposition)
67 *p = x
68 return p
69 }
70
71 func (x BigQueryDestination_WriteDisposition) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (BigQueryDestination_WriteDisposition) Descriptor() protoreflect.EnumDescriptor {
76 return file_google_cloud_financialservices_v1_bigquery_destination_proto_enumTypes[0].Descriptor()
77 }
78
79 func (BigQueryDestination_WriteDisposition) Type() protoreflect.EnumType {
80 return &file_google_cloud_financialservices_v1_bigquery_destination_proto_enumTypes[0]
81 }
82
83 func (x BigQueryDestination_WriteDisposition) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
85 }
86
87 // Deprecated: Use BigQueryDestination_WriteDisposition.Descriptor instead.
88 func (BigQueryDestination_WriteDisposition) EnumDescriptor() ([]byte, []int) {
89 return file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDescGZIP(), []int{0, 0}
90 }
91
92 // BigQueryDestination is a wrapper for BigQuery output information.
93 type BigQueryDestination struct {
94 state protoimpl.MessageState
95 sizeCache protoimpl.SizeCache
96 unknownFields protoimpl.UnknownFields
97
98 // Optional. BigQuery URI to a table, must be of the form
99 // bq://projectId.bqDatasetId.tableId.
100 // Note that the BigQuery dataset must already exist.
101 // VPC-SC restrictions apply.
102 TableUri string `protobuf:"bytes,1,opt,name=table_uri,json=tableUri,proto3" json:"table_uri,omitempty"`
103 // Required. Whether or not to overwrite the destination table. By default the
104 // table won't be overwritten and an error will be returned if the table
105 // exists and contains data.
106 WriteDisposition BigQueryDestination_WriteDisposition `protobuf:"varint,2,opt,name=write_disposition,json=writeDisposition,proto3,enum=google.cloud.financialservices.v1.BigQueryDestination_WriteDisposition" json:"write_disposition,omitempty"`
107 }
108
109 func (x *BigQueryDestination) Reset() {
110 *x = BigQueryDestination{}
111 mi := &file_google_cloud_financialservices_v1_bigquery_destination_proto_msgTypes[0]
112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
113 ms.StoreMessageInfo(mi)
114 }
115
116 func (x *BigQueryDestination) String() string {
117 return protoimpl.X.MessageStringOf(x)
118 }
119
120 func (*BigQueryDestination) ProtoMessage() {}
121
122 func (x *BigQueryDestination) ProtoReflect() protoreflect.Message {
123 mi := &file_google_cloud_financialservices_v1_bigquery_destination_proto_msgTypes[0]
124 if x != nil {
125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126 if ms.LoadMessageInfo() == nil {
127 ms.StoreMessageInfo(mi)
128 }
129 return ms
130 }
131 return mi.MessageOf(x)
132 }
133
134 // Deprecated: Use BigQueryDestination.ProtoReflect.Descriptor instead.
135 func (*BigQueryDestination) Descriptor() ([]byte, []int) {
136 return file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDescGZIP(), []int{0}
137 }
138
139 func (x *BigQueryDestination) GetTableUri() string {
140 if x != nil {
141 return x.TableUri
142 }
143 return ""
144 }
145
146 func (x *BigQueryDestination) GetWriteDisposition() BigQueryDestination_WriteDisposition {
147 if x != nil {
148 return x.WriteDisposition
149 }
150 return BigQueryDestination_WRITE_DISPOSITION_UNSPECIFIED
151 }
152
153 var File_google_cloud_financialservices_v1_bigquery_destination_proto protoreflect.FileDescriptor
154
155 var file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDesc = []byte{
156 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x66,
157 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x69, 0x61, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73,
158 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x65, 0x73,
159 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21,
160 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x69, 0x6e,
161 0x61, 0x6e, 0x63, 0x69, 0x61, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76,
162 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
163 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
164 0x74, 0x6f, 0x22, 0x8e, 0x02, 0x0a, 0x13, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44,
165 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x09, 0x74, 0x61,
166 0x62, 0x6c, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
167 0x41, 0x01, 0x52, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x72, 0x69, 0x12, 0x79, 0x0a, 0x11,
168 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
169 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
170 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x69, 0x61, 0x6c,
171 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x67, 0x51,
172 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
173 0x57, 0x72, 0x69, 0x74, 0x65, 0x44, 0x69, 0x73, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
174 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x77, 0x72, 0x69, 0x74, 0x65, 0x44, 0x69, 0x73, 0x70,
175 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5a, 0x0a, 0x10, 0x57, 0x72, 0x69, 0x74, 0x65,
176 0x44, 0x69, 0x73, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x1d, 0x57,
177 0x52, 0x49, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e,
178 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f,
179 0x0a, 0x0b, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x01, 0x12,
180 0x12, 0x0a, 0x0e, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x54, 0x52, 0x55, 0x4e, 0x43, 0x41, 0x54,
181 0x45, 0x10, 0x02, 0x42, 0x87, 0x02, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
182 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x69,
183 0x61, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x42,
184 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
185 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x63, 0x6c, 0x6f, 0x75, 0x64,
186 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x66,
187 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x69, 0x61, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73,
188 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x66, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x69, 0x61, 0x6c,
189 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x66, 0x69, 0x6e, 0x61, 0x6e,
190 0x63, 0x69, 0x61, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x70, 0x62, 0xaa, 0x02,
191 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, 0x69,
192 0x6e, 0x61, 0x6e, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e,
193 0x56, 0x31, 0xca, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
194 0x64, 0x5c, 0x46, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69,
195 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
196 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x46, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x69, 0x61,
197 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
198 0x72, 0x6f, 0x74, 0x6f, 0x33,
199 }
200
201 var (
202 file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDescOnce sync.Once
203 file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDescData = file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDesc
204 )
205
206 func file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDescGZIP() []byte {
207 file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDescOnce.Do(func() {
208 file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDescData)
209 })
210 return file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDescData
211 }
212
213 var file_google_cloud_financialservices_v1_bigquery_destination_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
214 var file_google_cloud_financialservices_v1_bigquery_destination_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
215 var file_google_cloud_financialservices_v1_bigquery_destination_proto_goTypes = []any{
216 (BigQueryDestination_WriteDisposition)(0), // 0: google.cloud.financialservices.v1.BigQueryDestination.WriteDisposition
217 (*BigQueryDestination)(nil), // 1: google.cloud.financialservices.v1.BigQueryDestination
218 }
219 var file_google_cloud_financialservices_v1_bigquery_destination_proto_depIdxs = []int32{
220 0, // 0: google.cloud.financialservices.v1.BigQueryDestination.write_disposition:type_name -> google.cloud.financialservices.v1.BigQueryDestination.WriteDisposition
221 1, // [1:1] is the sub-list for method output_type
222 1, // [1:1] is the sub-list for method input_type
223 1, // [1:1] is the sub-list for extension type_name
224 1, // [1:1] is the sub-list for extension extendee
225 0, // [0:1] is the sub-list for field type_name
226 }
227
228 func init() { file_google_cloud_financialservices_v1_bigquery_destination_proto_init() }
229 func file_google_cloud_financialservices_v1_bigquery_destination_proto_init() {
230 if File_google_cloud_financialservices_v1_bigquery_destination_proto != nil {
231 return
232 }
233 type x struct{}
234 out := protoimpl.TypeBuilder{
235 File: protoimpl.DescBuilder{
236 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
237 RawDescriptor: file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDesc,
238 NumEnums: 1,
239 NumMessages: 1,
240 NumExtensions: 0,
241 NumServices: 0,
242 },
243 GoTypes: file_google_cloud_financialservices_v1_bigquery_destination_proto_goTypes,
244 DependencyIndexes: file_google_cloud_financialservices_v1_bigquery_destination_proto_depIdxs,
245 EnumInfos: file_google_cloud_financialservices_v1_bigquery_destination_proto_enumTypes,
246 MessageInfos: file_google_cloud_financialservices_v1_bigquery_destination_proto_msgTypes,
247 }.Build()
248 File_google_cloud_financialservices_v1_bigquery_destination_proto = out.File
249 file_google_cloud_financialservices_v1_bigquery_destination_proto_rawDesc = nil
250 file_google_cloud_financialservices_v1_bigquery_destination_proto_goTypes = nil
251 file_google_cloud_financialservices_v1_bigquery_destination_proto_depIdxs = nil
252 }