Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/error.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/error.proto
20
21 package bigquerypb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Error details.
38 type ErrorProto struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // A short error code that summarizes the error.
44 Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
45 // Specifies where the error occurred, if present.
46 Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
47 // Debugging information. This property is internal to Google and should not
48 // be used.
49 DebugInfo string `protobuf:"bytes,3,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"`
50 // A human-readable description of the error.
51 Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
52 }
53
54 func (x *ErrorProto) Reset() {
55 *x = ErrorProto{}
56 mi := &file_google_cloud_bigquery_v2_error_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60
61 func (x *ErrorProto) String() string {
62 return protoimpl.X.MessageStringOf(x)
63 }
64
65 func (*ErrorProto) ProtoMessage() {}
66
67 func (x *ErrorProto) ProtoReflect() protoreflect.Message {
68 mi := &file_google_cloud_bigquery_v2_error_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 ErrorProto.ProtoReflect.Descriptor instead.
80 func (*ErrorProto) Descriptor() ([]byte, []int) {
81 return file_google_cloud_bigquery_v2_error_proto_rawDescGZIP(), []int{0}
82 }
83
84 func (x *ErrorProto) GetReason() string {
85 if x != nil {
86 return x.Reason
87 }
88 return ""
89 }
90
91 func (x *ErrorProto) GetLocation() string {
92 if x != nil {
93 return x.Location
94 }
95 return ""
96 }
97
98 func (x *ErrorProto) GetDebugInfo() string {
99 if x != nil {
100 return x.DebugInfo
101 }
102 return ""
103 }
104
105 func (x *ErrorProto) GetMessage() string {
106 if x != nil {
107 return x.Message
108 }
109 return ""
110 }
111
112 var File_google_cloud_bigquery_v2_error_proto protoreflect.FileDescriptor
113
114 var file_google_cloud_bigquery_v2_error_proto_rawDesc = []byte{
115 0x0a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
116 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72,
117 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
118 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32,
119 0x22, 0x79, 0x0a, 0x0a, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16,
120 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
121 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
122 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
123 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
124 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66,
125 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01,
126 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x5b, 0x0a, 0x1c, 0x63,
127 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
128 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x5a, 0x3b, 0x63, 0x6c, 0x6f,
129 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
130 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69,
131 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x62, 0x69,
132 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
133 }
134
135 var (
136 file_google_cloud_bigquery_v2_error_proto_rawDescOnce sync.Once
137 file_google_cloud_bigquery_v2_error_proto_rawDescData = file_google_cloud_bigquery_v2_error_proto_rawDesc
138 )
139
140 func file_google_cloud_bigquery_v2_error_proto_rawDescGZIP() []byte {
141 file_google_cloud_bigquery_v2_error_proto_rawDescOnce.Do(func() {
142 file_google_cloud_bigquery_v2_error_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_error_proto_rawDescData)
143 })
144 return file_google_cloud_bigquery_v2_error_proto_rawDescData
145 }
146
147 var file_google_cloud_bigquery_v2_error_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
148 var file_google_cloud_bigquery_v2_error_proto_goTypes = []any{
149 (*ErrorProto)(nil), // 0: google.cloud.bigquery.v2.ErrorProto
150 }
151 var file_google_cloud_bigquery_v2_error_proto_depIdxs = []int32{
152 0, // [0:0] is the sub-list for method output_type
153 0, // [0:0] is the sub-list for method input_type
154 0, // [0:0] is the sub-list for extension type_name
155 0, // [0:0] is the sub-list for extension extendee
156 0, // [0:0] is the sub-list for field type_name
157 }
158
159 func init() { file_google_cloud_bigquery_v2_error_proto_init() }
160 func file_google_cloud_bigquery_v2_error_proto_init() {
161 if File_google_cloud_bigquery_v2_error_proto != nil {
162 return
163 }
164 type x struct{}
165 out := protoimpl.TypeBuilder{
166 File: protoimpl.DescBuilder{
167 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
168 RawDescriptor: file_google_cloud_bigquery_v2_error_proto_rawDesc,
169 NumEnums: 0,
170 NumMessages: 1,
171 NumExtensions: 0,
172 NumServices: 0,
173 },
174 GoTypes: file_google_cloud_bigquery_v2_error_proto_goTypes,
175 DependencyIndexes: file_google_cloud_bigquery_v2_error_proto_depIdxs,
176 MessageInfos: file_google_cloud_bigquery_v2_error_proto_msgTypes,
177 }.Build()
178 File_google_cloud_bigquery_v2_error_proto = out.File
179 file_google_cloud_bigquery_v2_error_proto_rawDesc = nil
180 file_google_cloud_bigquery_v2_error_proto_goTypes = nil
181 file_google_cloud_bigquery_v2_error_proto_depIdxs = nil
182 }