Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/system_variable.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/system_variable.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 structpb "google.golang.org/protobuf/types/known/structpb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // System variables given to a query.
40 type SystemVariables struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Output only. Data type for each system variable.
46 Types map[string]*StandardSqlDataType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
47 // Output only. Value for each system variable.
48 Values *structpb.Struct `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"`
49 }
50
51 func (x *SystemVariables) Reset() {
52 *x = SystemVariables{}
53 mi := &file_google_cloud_bigquery_v2_system_variable_proto_msgTypes[0]
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 ms.StoreMessageInfo(mi)
56 }
57
58 func (x *SystemVariables) String() string {
59 return protoimpl.X.MessageStringOf(x)
60 }
61
62 func (*SystemVariables) ProtoMessage() {}
63
64 func (x *SystemVariables) ProtoReflect() protoreflect.Message {
65 mi := &file_google_cloud_bigquery_v2_system_variable_proto_msgTypes[0]
66 if x != nil {
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 if ms.LoadMessageInfo() == nil {
69 ms.StoreMessageInfo(mi)
70 }
71 return ms
72 }
73 return mi.MessageOf(x)
74 }
75
76 // Deprecated: Use SystemVariables.ProtoReflect.Descriptor instead.
77 func (*SystemVariables) Descriptor() ([]byte, []int) {
78 return file_google_cloud_bigquery_v2_system_variable_proto_rawDescGZIP(), []int{0}
79 }
80
81 func (x *SystemVariables) GetTypes() map[string]*StandardSqlDataType {
82 if x != nil {
83 return x.Types
84 }
85 return nil
86 }
87
88 func (x *SystemVariables) GetValues() *structpb.Struct {
89 if x != nil {
90 return x.Values
91 }
92 return nil
93 }
94
95 var File_google_cloud_bigquery_v2_system_variable_proto protoreflect.FileDescriptor
96
97 var file_google_cloud_bigquery_v2_system_variable_proto_rawDesc = []byte{
98 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
99 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65,
100 0x6d, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
101 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
102 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
103 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
104 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f,
105 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
106 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x5f, 0x73,
107 0x71, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
108 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74,
109 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x02, 0x0a, 0x0f, 0x53, 0x79, 0x73, 0x74, 0x65,
110 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x05, 0x74, 0x79,
111 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
112 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
113 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61,
114 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42,
115 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x76,
116 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f,
117 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74,
118 0x72, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65,
119 0x73, 0x1a, 0x67, 0x0a, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
120 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
121 0x79, 0x12, 0x43, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
122 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
123 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x6e,
124 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52,
125 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x72, 0x0a, 0x1c, 0x63, 0x6f,
126 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
127 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x13, 0x53, 0x79, 0x73, 0x74,
128 0x65, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
129 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
130 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f,
131 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
132 0x79, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06,
133 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
134 }
135
136 var (
137 file_google_cloud_bigquery_v2_system_variable_proto_rawDescOnce sync.Once
138 file_google_cloud_bigquery_v2_system_variable_proto_rawDescData = file_google_cloud_bigquery_v2_system_variable_proto_rawDesc
139 )
140
141 func file_google_cloud_bigquery_v2_system_variable_proto_rawDescGZIP() []byte {
142 file_google_cloud_bigquery_v2_system_variable_proto_rawDescOnce.Do(func() {
143 file_google_cloud_bigquery_v2_system_variable_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_system_variable_proto_rawDescData)
144 })
145 return file_google_cloud_bigquery_v2_system_variable_proto_rawDescData
146 }
147
148 var file_google_cloud_bigquery_v2_system_variable_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
149 var file_google_cloud_bigquery_v2_system_variable_proto_goTypes = []any{
150 (*SystemVariables)(nil), // 0: google.cloud.bigquery.v2.SystemVariables
151 nil, // 1: google.cloud.bigquery.v2.SystemVariables.TypesEntry
152 (*structpb.Struct)(nil), // 2: google.protobuf.Struct
153 (*StandardSqlDataType)(nil), // 3: google.cloud.bigquery.v2.StandardSqlDataType
154 }
155 var file_google_cloud_bigquery_v2_system_variable_proto_depIdxs = []int32{
156 1, // 0: google.cloud.bigquery.v2.SystemVariables.types:type_name -> google.cloud.bigquery.v2.SystemVariables.TypesEntry
157 2, // 1: google.cloud.bigquery.v2.SystemVariables.values:type_name -> google.protobuf.Struct
158 3, // 2: google.cloud.bigquery.v2.SystemVariables.TypesEntry.value:type_name -> google.cloud.bigquery.v2.StandardSqlDataType
159 3, // [3:3] is the sub-list for method output_type
160 3, // [3:3] is the sub-list for method input_type
161 3, // [3:3] is the sub-list for extension type_name
162 3, // [3:3] is the sub-list for extension extendee
163 0, // [0:3] is the sub-list for field type_name
164 }
165
166 func init() { file_google_cloud_bigquery_v2_system_variable_proto_init() }
167 func file_google_cloud_bigquery_v2_system_variable_proto_init() {
168 if File_google_cloud_bigquery_v2_system_variable_proto != nil {
169 return
170 }
171 file_google_cloud_bigquery_v2_standard_sql_proto_init()
172 type x struct{}
173 out := protoimpl.TypeBuilder{
174 File: protoimpl.DescBuilder{
175 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
176 RawDescriptor: file_google_cloud_bigquery_v2_system_variable_proto_rawDesc,
177 NumEnums: 0,
178 NumMessages: 2,
179 NumExtensions: 0,
180 NumServices: 0,
181 },
182 GoTypes: file_google_cloud_bigquery_v2_system_variable_proto_goTypes,
183 DependencyIndexes: file_google_cloud_bigquery_v2_system_variable_proto_depIdxs,
184 MessageInfos: file_google_cloud_bigquery_v2_system_variable_proto_msgTypes,
185 }.Build()
186 File_google_cloud_bigquery_v2_system_variable_proto = out.File
187 file_google_cloud_bigquery_v2_system_variable_proto_rawDesc = nil
188 file_google_cloud_bigquery_v2_system_variable_proto_goTypes = nil
189 file_google_cloud_bigquery_v2_system_variable_proto_depIdxs = nil
190 }