...

Source file src/google.golang.org/genproto/googleapis/datastore/v1/query_profile.pb.go

Documentation: google.golang.org/genproto/googleapis/datastore/v1

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

View as plain text