Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/external_dataset_reference.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/bigquery/v2/external_dataset_reference.proto
20
21 package bigquerypb
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 // Configures the access a dataset defined in an external metadata storage.
39 type ExternalDatasetReference struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Required. External source that backs this dataset.
45 ExternalSource string `protobuf:"bytes,2,opt,name=external_source,json=externalSource,proto3" json:"external_source,omitempty"`
46 // Required. The connection id that is used to access the external_source.
47 //
48 // Format:
49 //
50 // projects/{project_id}/locations/{location_id}/connections/{connection_id}
51 Connection string `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"`
52 }
53
54 func (x *ExternalDatasetReference) Reset() {
55 *x = ExternalDatasetReference{}
56 mi := &file_google_cloud_bigquery_v2_external_dataset_reference_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60
61 func (x *ExternalDatasetReference) String() string {
62 return protoimpl.X.MessageStringOf(x)
63 }
64
65 func (*ExternalDatasetReference) ProtoMessage() {}
66
67 func (x *ExternalDatasetReference) ProtoReflect() protoreflect.Message {
68 mi := &file_google_cloud_bigquery_v2_external_dataset_reference_proto_msgTypes[0]
69 if x != nil {
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 if ms.LoadMessageInfo() == nil {
72 ms.StoreMessageInfo(mi)
73 }
74 return ms
75 }
76 return mi.MessageOf(x)
77 }
78
79 // Deprecated: Use ExternalDatasetReference.ProtoReflect.Descriptor instead.
80 func (*ExternalDatasetReference) Descriptor() ([]byte, []int) {
81 return file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDescGZIP(), []int{0}
82 }
83
84 func (x *ExternalDatasetReference) GetExternalSource() string {
85 if x != nil {
86 return x.ExternalSource
87 }
88 return ""
89 }
90
91 func (x *ExternalDatasetReference) GetConnection() string {
92 if x != nil {
93 return x.Connection
94 }
95 return ""
96 }
97
98 var File_google_cloud_bigquery_v2_external_dataset_reference_proto protoreflect.FileDescriptor
99
100 var file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDesc = []byte{
101 0x0a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
102 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72,
103 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x65,
104 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f,
105 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
106 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
107 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72,
108 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
109 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
110 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x18, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61,
111 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x2c,
112 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
113 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x65, 0x78,
114 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x54, 0x0a, 0x0a,
115 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
116 0x42, 0x34, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2e, 0x0a, 0x2c, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
117 0x72, 0x79, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f,
118 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x6e,
119 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
120 0x6f, 0x6e, 0x42, 0xef, 0x01, 0xea, 0x41, 0x70, 0x0a, 0x2c, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
121 0x72, 0x79, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f,
122 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x6e,
123 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
124 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
125 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f,
126 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e,
127 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
128 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
129 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x1d, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
130 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
131 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
132 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67,
133 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62,
134 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
135 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
136 }
137
138 var (
139 file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDescOnce sync.Once
140 file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDescData = file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDesc
141 )
142
143 func file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDescGZIP() []byte {
144 file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDescOnce.Do(func() {
145 file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDescData)
146 })
147 return file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDescData
148 }
149
150 var file_google_cloud_bigquery_v2_external_dataset_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
151 var file_google_cloud_bigquery_v2_external_dataset_reference_proto_goTypes = []any{
152 (*ExternalDatasetReference)(nil), // 0: google.cloud.bigquery.v2.ExternalDatasetReference
153 }
154 var file_google_cloud_bigquery_v2_external_dataset_reference_proto_depIdxs = []int32{
155 0, // [0:0] is the sub-list for method output_type
156 0, // [0:0] is the sub-list for method input_type
157 0, // [0:0] is the sub-list for extension type_name
158 0, // [0:0] is the sub-list for extension extendee
159 0, // [0:0] is the sub-list for field type_name
160 }
161
162 func init() { file_google_cloud_bigquery_v2_external_dataset_reference_proto_init() }
163 func file_google_cloud_bigquery_v2_external_dataset_reference_proto_init() {
164 if File_google_cloud_bigquery_v2_external_dataset_reference_proto != nil {
165 return
166 }
167 type x struct{}
168 out := protoimpl.TypeBuilder{
169 File: protoimpl.DescBuilder{
170 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
171 RawDescriptor: file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDesc,
172 NumEnums: 0,
173 NumMessages: 1,
174 NumExtensions: 0,
175 NumServices: 0,
176 },
177 GoTypes: file_google_cloud_bigquery_v2_external_dataset_reference_proto_goTypes,
178 DependencyIndexes: file_google_cloud_bigquery_v2_external_dataset_reference_proto_depIdxs,
179 MessageInfos: file_google_cloud_bigquery_v2_external_dataset_reference_proto_msgTypes,
180 }.Build()
181 File_google_cloud_bigquery_v2_external_dataset_reference_proto = out.File
182 file_google_cloud_bigquery_v2_external_dataset_reference_proto_rawDesc = nil
183 file_google_cloud_bigquery_v2_external_dataset_reference_proto_goTypes = nil
184 file_google_cloud_bigquery_v2_external_dataset_reference_proto_depIdxs = nil
185 }