| 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/firestore/v1/query_profile.proto |
| 20 |
|
| 21 |
package firestorepb |
| 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 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 28 |
structpb "google.golang.org/protobuf/types/known/structpb" |
| 29 |
reflect "reflect" |
| 30 |
sync "sync" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
// Verify that this generated code is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
// Explain options for the query. |
| 41 |
type ExplainOptions struct { |
| 42 |
state protoimpl.MessageState |
| 43 |
sizeCache protoimpl.SizeCache |
| 44 |
unknownFields protoimpl.UnknownFields |
| 45 |
|
| 46 |
// Optional. Whether to execute this query. |
| 47 |
// |
| 48 |
// When false (the default), the query will be planned, returning only |
| 49 |
// metrics from the planning stages. |
| 50 |
// |
| 51 |
// When true, the query will be planned and executed, returning the full |
| 52 |
// query results along with both planning and execution stage metrics. |
| 53 |
Analyze bool `protobuf:"varint,1,opt,name=analyze,proto3" json:"analyze,omitempty"` |
| 54 |
} |
| 55 |
|
| 56 |
func (x *ExplainOptions) Reset() { |
| 57 |
*x = ExplainOptions{} |
| 58 |
mi := &file_google_firestore_v1_query_profile_proto_msgTypes[0] |
| 59 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 60 |
ms.StoreMessageInfo(mi) |
| 61 |
} |
| 62 |
|
| 63 |
func (x *ExplainOptions) String() string { |
| 64 |
return protoimpl.X.MessageStringOf(x) |
| 65 |
} |
| 66 |
|
| 67 |
func (*ExplainOptions) ProtoMessage() {} |
| 68 |
|
| 69 |
func (x *ExplainOptions) ProtoReflect() protoreflect.Message { |
| 70 |
mi := &file_google_firestore_v1_query_profile_proto_msgTypes[0] |
| 71 |
if x != nil { |
| 72 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 73 |
if ms.LoadMessageInfo() == nil { |
| 74 |
ms.StoreMessageInfo(mi) |
| 75 |
} |
| 76 |
return ms |
| 77 |
} |
| 78 |
return mi.MessageOf(x) |
| 79 |
} |
| 80 |
|
| 81 |
// Deprecated: Use ExplainOptions.ProtoReflect.Descriptor instead. |
| 82 |
func (*ExplainOptions) Descriptor() ([]byte, []int) { |
| 83 |
return file_google_firestore_v1_query_profile_proto_rawDescGZIP(), []int{0} |
| 84 |
} |
| 85 |
|
| 86 |
func (x *ExplainOptions) GetAnalyze() bool { |
| 87 |
if x != nil { |
| 88 |
return x.Analyze |
| 89 |
} |
| 90 |
return false |
| 91 |
} |
| 92 |
|
| 93 |
// Explain metrics for the query. |
| 94 |
type ExplainMetrics struct { |
| 95 |
state protoimpl.MessageState |
| 96 |
sizeCache protoimpl.SizeCache |
| 97 |
unknownFields protoimpl.UnknownFields |
| 98 |
|
| 99 |
// Planning phase information for the query. |
| 100 |
PlanSummary *PlanSummary `protobuf:"bytes,1,opt,name=plan_summary,json=planSummary,proto3" json:"plan_summary,omitempty"` |
| 101 |
// Aggregated stats from the execution of the query. Only present when |
| 102 |
// [ExplainOptions.analyze][google.firestore.v1.ExplainOptions.analyze] is set |
| 103 |
// to true. |
| 104 |
ExecutionStats *ExecutionStats `protobuf:"bytes,2,opt,name=execution_stats,json=executionStats,proto3" json:"execution_stats,omitempty"` |
| 105 |
} |
| 106 |
|
| 107 |
func (x *ExplainMetrics) Reset() { |
| 108 |
*x = ExplainMetrics{} |
| 109 |
mi := &file_google_firestore_v1_query_profile_proto_msgTypes[1] |
| 110 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 111 |
ms.StoreMessageInfo(mi) |
| 112 |
} |
| 113 |
|
| 114 |
func (x *ExplainMetrics) String() string { |
| 115 |
return protoimpl.X.MessageStringOf(x) |
| 116 |
} |
| 117 |
|
| 118 |
func (*ExplainMetrics) ProtoMessage() {} |
| 119 |
|
| 120 |
func (x *ExplainMetrics) ProtoReflect() protoreflect.Message { |
| 121 |
mi := &file_google_firestore_v1_query_profile_proto_msgTypes[1] |
| 122 |
if x != nil { |
| 123 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 124 |
if ms.LoadMessageInfo() == nil { |
| 125 |
ms.StoreMessageInfo(mi) |
| 126 |
} |
| 127 |
return ms |
| 128 |
} |
| 129 |
return mi.MessageOf(x) |
| 130 |
} |
| 131 |
|
| 132 |
// Deprecated: Use ExplainMetrics.ProtoReflect.Descriptor instead. |
| 133 |
func (*ExplainMetrics) Descriptor() ([]byte, []int) { |
| 134 |
return file_google_firestore_v1_query_profile_proto_rawDescGZIP(), []int{1} |
| 135 |
} |
| 136 |
|
| 137 |
func (x *ExplainMetrics) GetPlanSummary() *PlanSummary { |
| 138 |
if x != nil { |
| 139 |
return x.PlanSummary |
| 140 |
} |
| 141 |
return nil |
| 142 |
} |
| 143 |
|
| 144 |
func (x *ExplainMetrics) GetExecutionStats() *ExecutionStats { |
| 145 |
if x != nil { |
| 146 |
return x.ExecutionStats |
| 147 |
} |
| 148 |
return nil |
| 149 |
} |
| 150 |
|
| 151 |
// Planning phase information for the query. |
| 152 |
type PlanSummary struct { |
| 153 |
state protoimpl.MessageState |
| 154 |
sizeCache protoimpl.SizeCache |
| 155 |
unknownFields protoimpl.UnknownFields |
| 156 |
|
| 157 |
// The indexes selected for the query. For example: |
| 158 |
// |
| 159 |
// [ |
| 160 |
// {"query_scope": "Collection", "properties": "(foo ASC, __name__ ASC)"}, |
| 161 |
// {"query_scope": "Collection", "properties": "(bar ASC, __name__ ASC)"} |
| 162 |
// ] |
| 163 |
IndexesUsed []*structpb.Struct `protobuf:"bytes,1,rep,name=indexes_used,json=indexesUsed,proto3" json:"indexes_used,omitempty"` |
| 164 |
} |
| 165 |
|
| 166 |
func (x *PlanSummary) Reset() { |
| 167 |
*x = PlanSummary{} |
| 168 |
mi := &file_google_firestore_v1_query_profile_proto_msgTypes[2] |
| 169 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 170 |
ms.StoreMessageInfo(mi) |
| 171 |
} |
| 172 |
|
| 173 |
func (x *PlanSummary) String() string { |
| 174 |
return protoimpl.X.MessageStringOf(x) |
| 175 |
} |
| 176 |
|
| 177 |
func (*PlanSummary) ProtoMessage() {} |
| 178 |
|
| 179 |
func (x *PlanSummary) ProtoReflect() protoreflect.Message { |
| 180 |
mi := &file_google_firestore_v1_query_profile_proto_msgTypes[2] |
| 181 |
if x != nil { |
| 182 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 183 |
if ms.LoadMessageInfo() == nil { |
| 184 |
ms.StoreMessageInfo(mi) |
| 185 |
} |
| 186 |
return ms |
| 187 |
} |
| 188 |
return mi.MessageOf(x) |
| 189 |
} |
| 190 |
|
| 191 |
// Deprecated: Use PlanSummary.ProtoReflect.Descriptor instead. |
| 192 |
func (*PlanSummary) Descriptor() ([]byte, []int) { |
| 193 |
return file_google_firestore_v1_query_profile_proto_rawDescGZIP(), []int{2} |
| 194 |
} |
| 195 |
|
| 196 |
func (x *PlanSummary) GetIndexesUsed() []*structpb.Struct { |
| 197 |
if x != nil { |
| 198 |
return x.IndexesUsed |
| 199 |
} |
| 200 |
return nil |
| 201 |
} |
| 202 |
|
| 203 |
// Execution statistics for the query. |
| 204 |
type ExecutionStats struct { |
| 205 |
state protoimpl.MessageState |
| 206 |
sizeCache protoimpl.SizeCache |
| 207 |
unknownFields protoimpl.UnknownFields |
| 208 |
|
| 209 |
// Total number of results returned, including documents, projections, |
| 210 |
// aggregation results, keys. |
| 211 |
ResultsReturned int64 `protobuf:"varint,1,opt,name=results_returned,json=resultsReturned,proto3" json:"results_returned,omitempty"` |
| 212 |
// Total time to execute the query in the backend. |
| 213 |
ExecutionDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=execution_duration,json=executionDuration,proto3" json:"execution_duration,omitempty"` |
| 214 |
// Total billable read operations. |
| 215 |
ReadOperations int64 `protobuf:"varint,4,opt,name=read_operations,json=readOperations,proto3" json:"read_operations,omitempty"` |
| 216 |
// Debugging statistics from the execution of the query. Note that the |
| 217 |
// debugging stats are subject to change as Firestore evolves. It could |
| 218 |
// include: |
| 219 |
// |
| 220 |
// { |
| 221 |
// "indexes_entries_scanned": "1000", |
| 222 |
// "documents_scanned": "20", |
| 223 |
// "billing_details" : { |
| 224 |
// "documents_billable": "20", |
| 225 |
// "index_entries_billable": "1000", |
| 226 |
// "min_query_cost": "0" |
| 227 |
// } |
| 228 |
// } |
| 229 |
DebugStats *structpb.Struct `protobuf:"bytes,5,opt,name=debug_stats,json=debugStats,proto3" json:"debug_stats,omitempty"` |
| 230 |
} |
| 231 |
|
| 232 |
func (x *ExecutionStats) Reset() { |
| 233 |
*x = ExecutionStats{} |
| 234 |
mi := &file_google_firestore_v1_query_profile_proto_msgTypes[3] |
| 235 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 236 |
ms.StoreMessageInfo(mi) |
| 237 |
} |
| 238 |
|
| 239 |
func (x *ExecutionStats) String() string { |
| 240 |
return protoimpl.X.MessageStringOf(x) |
| 241 |
} |
| 242 |
|
| 243 |
func (*ExecutionStats) ProtoMessage() {} |
| 244 |
|
| 245 |
func (x *ExecutionStats) ProtoReflect() protoreflect.Message { |
| 246 |
mi := &file_google_firestore_v1_query_profile_proto_msgTypes[3] |
| 247 |
if x != nil { |
| 248 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 249 |
if ms.LoadMessageInfo() == nil { |
| 250 |
ms.StoreMessageInfo(mi) |
| 251 |
} |
| 252 |
return ms |
| 253 |
} |
| 254 |
return mi.MessageOf(x) |
| 255 |
} |
| 256 |
|
| 257 |
// Deprecated: Use ExecutionStats.ProtoReflect.Descriptor instead. |
| 258 |
func (*ExecutionStats) Descriptor() ([]byte, []int) { |
| 259 |
return file_google_firestore_v1_query_profile_proto_rawDescGZIP(), []int{3} |
| 260 |
} |
| 261 |
|
| 262 |
func (x *ExecutionStats) GetResultsReturned() int64 { |
| 263 |
if x != nil { |
| 264 |
return x.ResultsReturned |
| 265 |
} |
| 266 |
return 0 |
| 267 |
} |
| 268 |
|
| 269 |
func (x *ExecutionStats) GetExecutionDuration() *durationpb.Duration { |
| 270 |
if x != nil { |
| 271 |
return x.ExecutionDuration |
| 272 |
} |
| 273 |
return nil |
| 274 |
} |
| 275 |
|
| 276 |
func (x *ExecutionStats) GetReadOperations() int64 { |
| 277 |
if x != nil { |
| 278 |
return x.ReadOperations |
| 279 |
} |
| 280 |
return 0 |
| 281 |
} |
| 282 |
|
| 283 |
func (x *ExecutionStats) GetDebugStats() *structpb.Struct { |
| 284 |
if x != nil { |
| 285 |
return x.DebugStats |
| 286 |
} |
| 287 |
return nil |
| 288 |
} |
| 289 |
|
| 290 |
var File_google_firestore_v1_query_profile_proto protoreflect.FileDescriptor |
| 291 |
|
| 292 |
var file_google_firestore_v1_query_profile_proto_rawDesc = []byte{ |
| 293 |
0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, |
| 294 |
0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x66, |
| 295 |
0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 296 |
0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, |
| 297 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, |
| 298 |
0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 299 |
0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 300 |
0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 301 |
0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 302 |
0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, |
| 303 |
0x0e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, |
| 304 |
0x1d, 0x0a, 0x07, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, |
| 305 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x22, 0xa3, |
| 306 |
0x01, 0x0a, 0x0e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, |
| 307 |
0x73, 0x12, 0x43, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, |
| 308 |
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 309 |
0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, |
| 310 |
0x61, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x6e, 0x53, |
| 311 |
0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x4c, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, |
| 312 |
0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 313 |
0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, |
| 314 |
0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, |
| 315 |
0x74, 0x61, 0x74, 0x73, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, |
| 316 |
0x74, 0x61, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x75, 0x6d, 0x6d, |
| 317 |
0x61, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x0c, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x5f, 0x75, |
| 318 |
0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 319 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, |
| 320 |
0x63, 0x74, 0x52, 0x0b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x55, 0x73, 0x65, 0x64, 0x22, |
| 321 |
0xe8, 0x01, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, |
| 322 |
0x74, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x72, 0x65, |
| 323 |
0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x72, 0x65, |
| 324 |
0x73, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x12, 0x48, 0x0a, |
| 325 |
0x12, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, |
| 326 |
0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 327 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, |
| 328 |
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x44, |
| 329 |
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x61, 0x64, 0x5f, |
| 330 |
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, |
| 331 |
0x52, 0x0e, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 332 |
0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, |
| 333 |
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 334 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, |
| 335 |
0x64, 0x65, 0x62, 0x75, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0xc9, 0x01, 0x0a, 0x17, 0x63, |
| 336 |
0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, |
| 337 |
0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, |
| 338 |
0x66, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, |
| 339 |
0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, |
| 340 |
0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, |
| 341 |
0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x70, 0x62, 0x3b, 0x66, 0x69, 0x72, |
| 342 |
0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x70, 0x62, 0xa2, 0x02, 0x04, 0x47, 0x43, 0x46, 0x53, 0xaa, |
| 343 |
0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, |
| 344 |
0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x47, 0x6f, |
| 345 |
0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x46, 0x69, 0x72, 0x65, 0x73, |
| 346 |
0x74, 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 347 |
0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, |
| 348 |
0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 349 |
} |
| 350 |
|
| 351 |
var ( |
| 352 |
file_google_firestore_v1_query_profile_proto_rawDescOnce sync.Once |
| 353 |
file_google_firestore_v1_query_profile_proto_rawDescData = file_google_firestore_v1_query_profile_proto_rawDesc |
| 354 |
) |
| 355 |
|
| 356 |
func file_google_firestore_v1_query_profile_proto_rawDescGZIP() []byte { |
| 357 |
file_google_firestore_v1_query_profile_proto_rawDescOnce.Do(func() { |
| 358 |
file_google_firestore_v1_query_profile_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_v1_query_profile_proto_rawDescData) |
| 359 |
}) |
| 360 |
return file_google_firestore_v1_query_profile_proto_rawDescData |
| 361 |
} |
| 362 |
|
| 363 |
var file_google_firestore_v1_query_profile_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| 364 |
var file_google_firestore_v1_query_profile_proto_goTypes = []any{ |
| 365 |
(*ExplainOptions)(nil), // 0: google.firestore.v1.ExplainOptions |
| 366 |
(*ExplainMetrics)(nil), // 1: google.firestore.v1.ExplainMetrics |
| 367 |
(*PlanSummary)(nil), // 2: google.firestore.v1.PlanSummary |
| 368 |
(*ExecutionStats)(nil), // 3: google.firestore.v1.ExecutionStats |
| 369 |
(*structpb.Struct)(nil), // 4: google.protobuf.Struct |
| 370 |
(*durationpb.Duration)(nil), // 5: google.protobuf.Duration |
| 371 |
} |
| 372 |
var file_google_firestore_v1_query_profile_proto_depIdxs = []int32{ |
| 373 |
2, // 0: google.firestore.v1.ExplainMetrics.plan_summary:type_name -> google.firestore.v1.PlanSummary |
| 374 |
3, // 1: google.firestore.v1.ExplainMetrics.execution_stats:type_name -> google.firestore.v1.ExecutionStats |
| 375 |
4, // 2: google.firestore.v1.PlanSummary.indexes_used:type_name -> google.protobuf.Struct |
| 376 |
5, // 3: google.firestore.v1.ExecutionStats.execution_duration:type_name -> google.protobuf.Duration |
| 377 |
4, // 4: google.firestore.v1.ExecutionStats.debug_stats:type_name -> google.protobuf.Struct |
| 378 |
5, // [5:5] is the sub-list for method output_type |
| 379 |
5, // [5:5] is the sub-list for method input_type |
| 380 |
5, // [5:5] is the sub-list for extension type_name |
| 381 |
5, // [5:5] is the sub-list for extension extendee |
| 382 |
0, // [0:5] is the sub-list for field type_name |
| 383 |
} |
| 384 |
|
| 385 |
func init() { file_google_firestore_v1_query_profile_proto_init() } |
| 386 |
func file_google_firestore_v1_query_profile_proto_init() { |
| 387 |
if File_google_firestore_v1_query_profile_proto != nil { |
| 388 |
return |
| 389 |
} |
| 390 |
type x struct{} |
| 391 |
out := protoimpl.TypeBuilder{ |
| 392 |
File: protoimpl.DescBuilder{ |
| 393 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 394 |
RawDescriptor: file_google_firestore_v1_query_profile_proto_rawDesc, |
| 395 |
NumEnums: 0, |
| 396 |
NumMessages: 4, |
| 397 |
NumExtensions: 0, |
| 398 |
NumServices: 0, |
| 399 |
}, |
| 400 |
GoTypes: file_google_firestore_v1_query_profile_proto_goTypes, |
| 401 |
DependencyIndexes: file_google_firestore_v1_query_profile_proto_depIdxs, |
| 402 |
MessageInfos: file_google_firestore_v1_query_profile_proto_msgTypes, |
| 403 |
}.Build() |
| 404 |
File_google_firestore_v1_query_profile_proto = out.File |
| 405 |
file_google_firestore_v1_query_profile_proto_rawDesc = nil |
| 406 |
file_google_firestore_v1_query_profile_proto_goTypes = nil |
| 407 |
file_google_firestore_v1_query_profile_proto_depIdxs = nil |
| 408 |
} |