@@ -442,7 +442,7 @@ const char descriptor_table_protodef_google_2ffirestore_2fv1_2fquery_2eproto[] P
442
442
" \n\037 google/firestore/v1/query.proto\022\023 googl"
443
443
" e.firestore.v1\032\034 google/api/annotations.p"
444
444
" roto\032\" google/firestore/v1/document.proto"
445
- " \032\036 google/protobuf/wrappers.proto\"\266 \017\n\017 Str"
445
+ " \032\036 google/protobuf/wrappers.proto\"\276 \017\n\017 Str"
446
446
" ucturedQuery\022\?\n\006 select\030\001 \001 (\013 2/.google.fi"
447
447
" restore.v1.StructuredQuery.Projection\022 E\n "
448
448
" \004 from\030\002 \003 (\013 27.google.firestore.v1.Struct"
@@ -461,53 +461,54 @@ const char descriptor_table_protodef_google_2ffirestore_2fv1_2fquery_2eproto[] P
461
461
" r\030\002 \001 (\013 20.google.firestore.v1.Structured"
462
462
" Query.FieldFilterH\000\022 H\n\014 unary_filter\030\003 \001 ("
463
463
" \013 20.google.firestore.v1.StructuredQuery."
464
- " UnaryFilterH\000 B\r\n\013 filter_type\032\311 \001\n\017 Composi"
464
+ " UnaryFilterH\000 B\r\n\013 filter_type\032\321 \001\n\017 Composi"
465
465
" teFilter\022 I\n\002 op\030\001 \001 (\016 2=.google.firestore."
466
466
" v1.StructuredQuery.CompositeFilter.Opera"
467
467
" tor\022 <\n\007 filters\030\002 \003 (\013 2+.google.firestore."
468
- " v1.StructuredQuery.Filter\" -\n\010 Operator\022\030\n "
469
- " \024 OPERATOR_UNSPECIFIED\020\000\022\007\n\003 AND\020\001\032\230\003\n\013 Fie"
470
- " ldFilter\022 B\n\005 field\030\001 \001 (\013 23.google.firesto"
471
- " re.v1.StructuredQuery.FieldReference\022 E\n\002 "
472
- " op\030\002 \001 (\016 29.google.firestore.v1.Structure"
473
- " dQuery.FieldFilter.Operator\022 )\n\005 value\030\003 \001 "
474
- " (\013 2\032 .google.firestore.v1.Value\"\322\001\n\010 Opera"
475
- " tor\022\030\n\024 OPERATOR_UNSPECIFIED\020\000\022\r\n\t LESS_TH"
476
- " AN\020\001\022\026\n\022 LESS_THAN_OR_EQUAL\020\002\022\020\n\014 GREATER_"
477
- " THAN\020\003\022\031\n\025 GREATER_THAN_OR_EQUAL\020\004\022\t\n\005 EQU"
478
- " AL\020\005\022\r\n\t NOT_EQUAL\020\006\022\022\n\016 ARRAY_CONTAINS\020\007\022 "
479
- " \006\n\002 IN\020\010\022\026\n\022 ARRAY_CONTAINS_ANY\020\t\022\n\n\006 NOT_I"
480
- " N\020\n\032\212\002\n\013 UnaryFilter\022 E\n\002 op\030\001 \001 (\016 29.google"
481
- " .firestore.v1.StructuredQuery.UnaryFilte"
482
- " r.Operator\022 D\n\005 field\030\002 \001 (\013 23.google.fires"
483
- " tore.v1.StructuredQuery.FieldReferenceH\000 "
484
- " \" ^\n\010 Operator\022\030\n\024 OPERATOR_UNSPECIFIED\020\000\022\n "
485
- " \n\006 IS_NAN\020\002\022\013\n\007 IS_NULL\020\003\022\016\n\n IS_NOT_NAN\020\004\022 "
486
- " \017\n\013 IS_NOT_NULL\020\005 B\016\n\014 operand_type\032\216\001\n\005 Ord"
487
- " er\022 B\n\005 field\030\001 \001 (\013 23.google.firestore.v1."
488
- " StructuredQuery.FieldReference\022 A\n\t direct"
489
- " ion\030\002 \001 (\016 2..google.firestore.v1.Structur"
490
- " edQuery.Direction\032 $\n\016 FieldReference\022\022\n\n f"
491
- " ield_path\030\002 \001 (\t\032 Q\n\n Projection\022 C\n\006 fields\030 "
492
- " \002 \003 (\013 23.google.firestore.v1.StructuredQu"
493
- " ery.FieldReference\" E\n\t Direction\022\031\n\025 DIREC"
494
- " TION_UNSPECIFIED\020\000\022\r\n\t ASCENDING\020\001\022\016\n\n DES"
495
- " CENDING\020\002\"\363\002\n\032 StructuredAggregationQuery"
496
- " \022 @\n\020 structured_query\030\001 \001 (\013 2$.google.fire"
497
- " store.v1.StructuredQueryH\000\022 Q\n\014 aggregatio"
498
- " ns\030\003 \003 (\013 2;.google.firestore.v1.Structure"
499
- " dAggregationQuery.Aggregation\032\261\001\n\013 Aggreg"
500
- " ation\022 R\n\005 count\030\001 \001 (\013 2A.google.firestore."
501
- " v1.StructuredAggregationQuery.Aggregatio"
502
- " n.CountH\000\022\r\n\005 alias\030\007 \001 (\t\032 3\n\005 Count\022 *\n\005 up_"
503
- " to\030\001 \001 (\013 2\033 .google.protobuf.Int64ValueB\n\n "
504
- " \010 operatorB\014\n\n query_type\" D\n\006 Cursor\022 *\n\006 val"
505
- " ues\030\001 \003 (\013 2\032 .google.firestore.v1.Value\022\016\n "
506
- " \006 before\030\002 \001 (\010 B\256\001\n\027 com.google.firestore.v"
507
- " 1B\n QueryProtoP\001 Z<google.golang.org/genpr"
508
- " oto/googleapis/firestore/v1;firestore\242\002\004 "
509
- " GCFS\252\002\036 Google.Cloud.Firestore.V1Beta1\312\002\036 "
510
- " Google\\ Cloud\\ Firestore\\ V1beta1b\006 proto3"
468
+ " v1.StructuredQuery.Filter\" 5\n\010 Operator\022\030\n "
469
+ " \024 OPERATOR_UNSPECIFIED\020\000\022\007\n\003 AND\020\001\022\006\n\002 OR\020\002 "
470
+ " \032\230\003\n\013 FieldFilter\022 B\n\005 field\030\001 \001 (\013 23.google"
471
+ " .firestore.v1.StructuredQuery.FieldRefer"
472
+ " ence\022 E\n\002 op\030\002 \001 (\016 29.google.firestore.v1.S"
473
+ " tructuredQuery.FieldFilter.Operator\022 )\n\005 v"
474
+ " alue\030\003 \001 (\013 2\032 .google.firestore.v1.Value\"\322 "
475
+ " \001\n\010 Operator\022\030\n\024 OPERATOR_UNSPECIFIED\020\000\022\r\n "
476
+ " \t LESS_THAN\020\001\022\026\n\022 LESS_THAN_OR_EQUAL\020\002\022\020\n\014 "
477
+ " GREATER_THAN\020\003\022\031\n\025 GREATER_THAN_OR_EQUAL\020 "
478
+ " \004\022\t\n\005 EQUAL\020\005\022\r\n\t NOT_EQUAL\020\006\022\022\n\016 ARRAY_CON"
479
+ " TAINS\020\007\022\006\n\002 IN\020\010\022\026\n\022 ARRAY_CONTAINS_ANY\020\t\022 "
480
+ " \n\n\006 NOT_IN\020\n\032\212\002\n\013 UnaryFilter\022 E\n\002 op\030\001 \001 (\016 2"
481
+ " 9.google.firestore.v1.StructuredQuery.Un"
482
+ " aryFilter.Operator\022 D\n\005 field\030\002 \001 (\013 23.goog"
483
+ " le.firestore.v1.StructuredQuery.FieldRef"
484
+ " erenceH\000\" ^\n\010 Operator\022\030\n\024 OPERATOR_UNSPECI"
485
+ " FIED\020\000\022\n\n\006 IS_NAN\020\002\022\013\n\007 IS_NULL\020\003\022\016\n\n IS_NO"
486
+ " T_NAN\020\004\022\017\n\013 IS_NOT_NULL\020\005 B\016\n\014 operand_type"
487
+ " \032\216\001\n\005 Order\022 B\n\005 field\030\001 \001 (\013 23.google.fires"
488
+ " tore.v1.StructuredQuery.FieldReference\022 A"
489
+ " \n\t direction\030\002 \001 (\016 2..google.firestore.v1."
490
+ " StructuredQuery.Direction\032 $\n\016 FieldRefere"
491
+ " nce\022\022\n\n field_path\030\002 \001 (\t\032 Q\n\n Projection\022 C\n "
492
+ " \006 fields\030\002 \003 (\013 23.google.firestore.v1.Stru"
493
+ " cturedQuery.FieldReference\" E\n\t Direction\022 "
494
+ " \031\n\025 DIRECTION_UNSPECIFIED\020\000\022\r\n\t ASCENDING\020 "
495
+ " \001\022\016\n\n DESCENDING\020\002\"\363\002\n\032 StructuredAggregat"
496
+ " ionQuery\022 @\n\020 structured_query\030\001 \001 (\013 2$.goo"
497
+ " gle.firestore.v1.StructuredQueryH\000\022 Q\n\014 ag"
498
+ " gregations\030\003 \003 (\013 2;.google.firestore.v1.S"
499
+ " tructuredAggregationQuery.Aggregation\032\261\001 "
500
+ " \n\013 Aggregation\022 R\n\005 count\030\001 \001 (\013 2A.google.fi"
501
+ " restore.v1.StructuredAggregationQuery.Ag"
502
+ " gregation.CountH\000\022\r\n\005 alias\030\007 \001 (\t\032 3\n\005 Coun"
503
+ " t\022 *\n\005 up_to\030\001 \001 (\013 2\033 .google.protobuf.Int64"
504
+ " ValueB\n\n\010 operatorB\014\n\n query_type\" D\n\006 Curso"
505
+ " r\022 *\n\006 values\030\001 \003 (\013 2\032 .google.firestore.v1."
506
+ " Value\022\016\n\006 before\030\002 \001 (\010 B\256\001\n\027 com.google.fir"
507
+ " estore.v1B\n QueryProtoP\001 Z<google.golang.o"
508
+ " rg/genproto/googleapis/firestore/v1;fire"
509
+ " store\242\002\004 GCFS\252\002\036 Google.Cloud.Firestore.V1"
510
+ " Beta1\312\002\036 Google\\ Cloud\\ Firestore\\ V1beta1b\006 "
511
+ " proto3"
511
512
;
512
513
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_google_2ffirestore_2fv1_2fquery_2eproto_deps[3 ] = {
513
514
&::descriptor_table_google_2fapi_2fannotations_2eproto,
@@ -531,7 +532,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_goo
531
532
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2ffirestore_2fv1_2fquery_2eproto_once;
532
533
static bool descriptor_table_google_2ffirestore_2fv1_2fquery_2eproto_initialized = false ;
533
534
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2ffirestore_2fv1_2fquery_2eproto = {
534
- &descriptor_table_google_2ffirestore_2fv1_2fquery_2eproto_initialized, descriptor_table_protodef_google_2ffirestore_2fv1_2fquery_2eproto, " google/firestore/v1/query.proto" , 2758 ,
535
+ &descriptor_table_google_2ffirestore_2fv1_2fquery_2eproto_initialized, descriptor_table_protodef_google_2ffirestore_2fv1_2fquery_2eproto, " google/firestore/v1/query.proto" , 2766 ,
535
536
&descriptor_table_google_2ffirestore_2fv1_2fquery_2eproto_once, descriptor_table_google_2ffirestore_2fv1_2fquery_2eproto_sccs, descriptor_table_google_2ffirestore_2fv1_2fquery_2eproto_deps, 12 , 3 ,
536
537
schemas, file_default_instances, TableStruct_google_2ffirestore_2fv1_2fquery_2eproto::offsets,
537
538
file_level_metadata_google_2ffirestore_2fv1_2fquery_2eproto, 13 , file_level_enum_descriptors_google_2ffirestore_2fv1_2fquery_2eproto, file_level_service_descriptors_google_2ffirestore_2fv1_2fquery_2eproto,
@@ -550,6 +551,7 @@ bool StructuredQuery_CompositeFilter_Operator_IsValid(int value) {
550
551
switch (value) {
551
552
case 0 :
552
553
case 1 :
554
+ case 2 :
553
555
return true ;
554
556
default :
555
557
return false ;
@@ -559,6 +561,7 @@ bool StructuredQuery_CompositeFilter_Operator_IsValid(int value) {
559
561
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
560
562
constexpr StructuredQuery_CompositeFilter_Operator StructuredQuery_CompositeFilter::OPERATOR_UNSPECIFIED;
561
563
constexpr StructuredQuery_CompositeFilter_Operator StructuredQuery_CompositeFilter::AND;
564
+ constexpr StructuredQuery_CompositeFilter_Operator StructuredQuery_CompositeFilter::OR;
562
565
constexpr StructuredQuery_CompositeFilter_Operator StructuredQuery_CompositeFilter::Operator_MIN;
563
566
constexpr StructuredQuery_CompositeFilter_Operator StructuredQuery_CompositeFilter::Operator_MAX;
564
567
constexpr int StructuredQuery_CompositeFilter::Operator_ARRAYSIZE;
0 commit comments