-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
access_report.pb.go
executable file
·2263 lines (2002 loc) · 89.2 KB
/
access_report.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc v4.23.2
// source: google/analytics/admin/v1alpha/access_report.proto
package adminpb
import (
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// The match type of a string filter.
type AccessStringFilter_MatchType int32
const (
// Unspecified
AccessStringFilter_MATCH_TYPE_UNSPECIFIED AccessStringFilter_MatchType = 0
// Exact match of the string value.
AccessStringFilter_EXACT AccessStringFilter_MatchType = 1
// Begins with the string value.
AccessStringFilter_BEGINS_WITH AccessStringFilter_MatchType = 2
// Ends with the string value.
AccessStringFilter_ENDS_WITH AccessStringFilter_MatchType = 3
// Contains the string value.
AccessStringFilter_CONTAINS AccessStringFilter_MatchType = 4
// Full match for the regular expression with the string value.
AccessStringFilter_FULL_REGEXP AccessStringFilter_MatchType = 5
// Partial match for the regular expression with the string value.
AccessStringFilter_PARTIAL_REGEXP AccessStringFilter_MatchType = 6
)
// Enum value maps for AccessStringFilter_MatchType.
var (
AccessStringFilter_MatchType_name = map[int32]string{
0: "MATCH_TYPE_UNSPECIFIED",
1: "EXACT",
2: "BEGINS_WITH",
3: "ENDS_WITH",
4: "CONTAINS",
5: "FULL_REGEXP",
6: "PARTIAL_REGEXP",
}
AccessStringFilter_MatchType_value = map[string]int32{
"MATCH_TYPE_UNSPECIFIED": 0,
"EXACT": 1,
"BEGINS_WITH": 2,
"ENDS_WITH": 3,
"CONTAINS": 4,
"FULL_REGEXP": 5,
"PARTIAL_REGEXP": 6,
}
)
func (x AccessStringFilter_MatchType) Enum() *AccessStringFilter_MatchType {
p := new(AccessStringFilter_MatchType)
*p = x
return p
}
func (x AccessStringFilter_MatchType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AccessStringFilter_MatchType) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_access_report_proto_enumTypes[0].Descriptor()
}
func (AccessStringFilter_MatchType) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_access_report_proto_enumTypes[0]
}
func (x AccessStringFilter_MatchType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AccessStringFilter_MatchType.Descriptor instead.
func (AccessStringFilter_MatchType) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{6, 0}
}
// The operation applied to a numeric filter.
type AccessNumericFilter_Operation int32
const (
// Unspecified.
AccessNumericFilter_OPERATION_UNSPECIFIED AccessNumericFilter_Operation = 0
// Equal
AccessNumericFilter_EQUAL AccessNumericFilter_Operation = 1
// Less than
AccessNumericFilter_LESS_THAN AccessNumericFilter_Operation = 2
// Less than or equal
AccessNumericFilter_LESS_THAN_OR_EQUAL AccessNumericFilter_Operation = 3
// Greater than
AccessNumericFilter_GREATER_THAN AccessNumericFilter_Operation = 4
// Greater than or equal
AccessNumericFilter_GREATER_THAN_OR_EQUAL AccessNumericFilter_Operation = 5
)
// Enum value maps for AccessNumericFilter_Operation.
var (
AccessNumericFilter_Operation_name = map[int32]string{
0: "OPERATION_UNSPECIFIED",
1: "EQUAL",
2: "LESS_THAN",
3: "LESS_THAN_OR_EQUAL",
4: "GREATER_THAN",
5: "GREATER_THAN_OR_EQUAL",
}
AccessNumericFilter_Operation_value = map[string]int32{
"OPERATION_UNSPECIFIED": 0,
"EQUAL": 1,
"LESS_THAN": 2,
"LESS_THAN_OR_EQUAL": 3,
"GREATER_THAN": 4,
"GREATER_THAN_OR_EQUAL": 5,
}
)
func (x AccessNumericFilter_Operation) Enum() *AccessNumericFilter_Operation {
p := new(AccessNumericFilter_Operation)
*p = x
return p
}
func (x AccessNumericFilter_Operation) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AccessNumericFilter_Operation) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_access_report_proto_enumTypes[1].Descriptor()
}
func (AccessNumericFilter_Operation) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_access_report_proto_enumTypes[1]
}
func (x AccessNumericFilter_Operation) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AccessNumericFilter_Operation.Descriptor instead.
func (AccessNumericFilter_Operation) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{8, 0}
}
// Rule to order the string dimension values by.
type AccessOrderBy_DimensionOrderBy_OrderType int32
const (
// Unspecified.
AccessOrderBy_DimensionOrderBy_ORDER_TYPE_UNSPECIFIED AccessOrderBy_DimensionOrderBy_OrderType = 0
// Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
// "b" < "z".
AccessOrderBy_DimensionOrderBy_ALPHANUMERIC AccessOrderBy_DimensionOrderBy_OrderType = 1
// Case insensitive alphanumeric sort by lower case Unicode code point.
// For example, "2" < "A" < "b" < "X" < "z".
AccessOrderBy_DimensionOrderBy_CASE_INSENSITIVE_ALPHANUMERIC AccessOrderBy_DimensionOrderBy_OrderType = 2
// Dimension values are converted to numbers before sorting. For example
// in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
// "25". Non-numeric dimension values all have equal ordering value below
// all numeric values.
AccessOrderBy_DimensionOrderBy_NUMERIC AccessOrderBy_DimensionOrderBy_OrderType = 3
)
// Enum value maps for AccessOrderBy_DimensionOrderBy_OrderType.
var (
AccessOrderBy_DimensionOrderBy_OrderType_name = map[int32]string{
0: "ORDER_TYPE_UNSPECIFIED",
1: "ALPHANUMERIC",
2: "CASE_INSENSITIVE_ALPHANUMERIC",
3: "NUMERIC",
}
AccessOrderBy_DimensionOrderBy_OrderType_value = map[string]int32{
"ORDER_TYPE_UNSPECIFIED": 0,
"ALPHANUMERIC": 1,
"CASE_INSENSITIVE_ALPHANUMERIC": 2,
"NUMERIC": 3,
}
)
func (x AccessOrderBy_DimensionOrderBy_OrderType) Enum() *AccessOrderBy_DimensionOrderBy_OrderType {
p := new(AccessOrderBy_DimensionOrderBy_OrderType)
*p = x
return p
}
func (x AccessOrderBy_DimensionOrderBy_OrderType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AccessOrderBy_DimensionOrderBy_OrderType) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_access_report_proto_enumTypes[2].Descriptor()
}
func (AccessOrderBy_DimensionOrderBy_OrderType) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_access_report_proto_enumTypes[2]
}
func (x AccessOrderBy_DimensionOrderBy_OrderType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AccessOrderBy_DimensionOrderBy_OrderType.Descriptor instead.
func (AccessOrderBy_DimensionOrderBy_OrderType) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{11, 1, 0}
}
// Dimensions are attributes of your data. For example, the dimension
// `userEmail` indicates the email of the user that accessed reporting data.
// Dimension values in report responses are strings.
type AccessDimension struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The API name of the dimension. See [Data Access
// Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
// for the list of dimensions supported in this API.
//
// Dimensions are referenced by name in `dimensionFilter` and `orderBys`.
DimensionName string `protobuf:"bytes,1,opt,name=dimension_name,json=dimensionName,proto3" json:"dimension_name,omitempty"`
}
func (x *AccessDimension) Reset() {
*x = AccessDimension{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessDimension) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessDimension) ProtoMessage() {}
func (x *AccessDimension) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccessDimension.ProtoReflect.Descriptor instead.
func (*AccessDimension) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{0}
}
func (x *AccessDimension) GetDimensionName() string {
if x != nil {
return x.DimensionName
}
return ""
}
// The quantitative measurements of a report. For example, the metric
// `accessCount` is the total number of data access records.
type AccessMetric struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The API name of the metric. See [Data Access
// Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
// for the list of metrics supported in this API.
//
// Metrics are referenced by name in `metricFilter` & `orderBys`.
MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
}
func (x *AccessMetric) Reset() {
*x = AccessMetric{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessMetric) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessMetric) ProtoMessage() {}
func (x *AccessMetric) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccessMetric.ProtoReflect.Descriptor instead.
func (*AccessMetric) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{1}
}
func (x *AccessMetric) GetMetricName() string {
if x != nil {
return x.MetricName
}
return ""
}
// A contiguous range of days: startDate, startDate + 1, ..., endDate.
type AccessDateRange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
// be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
// accepted, and in that case, the date is inferred based on the current time
// in the request's time zone.
StartDate string `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
// The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
// be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
// also accepted, and in that case, the date is inferred based on the current
// time in the request's time zone.
EndDate string `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
}
func (x *AccessDateRange) Reset() {
*x = AccessDateRange{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessDateRange) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessDateRange) ProtoMessage() {}
func (x *AccessDateRange) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccessDateRange.ProtoReflect.Descriptor instead.
func (*AccessDateRange) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{2}
}
func (x *AccessDateRange) GetStartDate() string {
if x != nil {
return x.StartDate
}
return ""
}
func (x *AccessDateRange) GetEndDate() string {
if x != nil {
return x.EndDate
}
return ""
}
// Expresses dimension or metric filters. The fields in the same expression need
// to be either all dimensions or all metrics.
type AccessFilterExpression struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Specify one type of filter expression for `FilterExpression`.
//
// Types that are assignable to OneExpression:
// *AccessFilterExpression_AndGroup
// *AccessFilterExpression_OrGroup
// *AccessFilterExpression_NotExpression
// *AccessFilterExpression_AccessFilter
OneExpression isAccessFilterExpression_OneExpression `protobuf_oneof:"one_expression"`
}
func (x *AccessFilterExpression) Reset() {
*x = AccessFilterExpression{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessFilterExpression) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessFilterExpression) ProtoMessage() {}
func (x *AccessFilterExpression) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccessFilterExpression.ProtoReflect.Descriptor instead.
func (*AccessFilterExpression) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{3}
}
func (m *AccessFilterExpression) GetOneExpression() isAccessFilterExpression_OneExpression {
if m != nil {
return m.OneExpression
}
return nil
}
func (x *AccessFilterExpression) GetAndGroup() *AccessFilterExpressionList {
if x, ok := x.GetOneExpression().(*AccessFilterExpression_AndGroup); ok {
return x.AndGroup
}
return nil
}
func (x *AccessFilterExpression) GetOrGroup() *AccessFilterExpressionList {
if x, ok := x.GetOneExpression().(*AccessFilterExpression_OrGroup); ok {
return x.OrGroup
}
return nil
}
func (x *AccessFilterExpression) GetNotExpression() *AccessFilterExpression {
if x, ok := x.GetOneExpression().(*AccessFilterExpression_NotExpression); ok {
return x.NotExpression
}
return nil
}
func (x *AccessFilterExpression) GetAccessFilter() *AccessFilter {
if x, ok := x.GetOneExpression().(*AccessFilterExpression_AccessFilter); ok {
return x.AccessFilter
}
return nil
}
type isAccessFilterExpression_OneExpression interface {
isAccessFilterExpression_OneExpression()
}
type AccessFilterExpression_AndGroup struct {
// Each of the FilterExpressions in the and_group has an AND relationship.
AndGroup *AccessFilterExpressionList `protobuf:"bytes,1,opt,name=and_group,json=andGroup,proto3,oneof"`
}
type AccessFilterExpression_OrGroup struct {
// Each of the FilterExpressions in the or_group has an OR relationship.
OrGroup *AccessFilterExpressionList `protobuf:"bytes,2,opt,name=or_group,json=orGroup,proto3,oneof"`
}
type AccessFilterExpression_NotExpression struct {
// The FilterExpression is NOT of not_expression.
NotExpression *AccessFilterExpression `protobuf:"bytes,3,opt,name=not_expression,json=notExpression,proto3,oneof"`
}
type AccessFilterExpression_AccessFilter struct {
// A primitive filter. In the same FilterExpression, all of the filter's
// field names need to be either all dimensions or all metrics.
AccessFilter *AccessFilter `protobuf:"bytes,4,opt,name=access_filter,json=accessFilter,proto3,oneof"`
}
func (*AccessFilterExpression_AndGroup) isAccessFilterExpression_OneExpression() {}
func (*AccessFilterExpression_OrGroup) isAccessFilterExpression_OneExpression() {}
func (*AccessFilterExpression_NotExpression) isAccessFilterExpression_OneExpression() {}
func (*AccessFilterExpression_AccessFilter) isAccessFilterExpression_OneExpression() {}
// A list of filter expressions.
type AccessFilterExpressionList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// A list of filter expressions.
Expressions []*AccessFilterExpression `protobuf:"bytes,1,rep,name=expressions,proto3" json:"expressions,omitempty"`
}
func (x *AccessFilterExpressionList) Reset() {
*x = AccessFilterExpressionList{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessFilterExpressionList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessFilterExpressionList) ProtoMessage() {}
func (x *AccessFilterExpressionList) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccessFilterExpressionList.ProtoReflect.Descriptor instead.
func (*AccessFilterExpressionList) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{4}
}
func (x *AccessFilterExpressionList) GetExpressions() []*AccessFilterExpression {
if x != nil {
return x.Expressions
}
return nil
}
// An expression to filter dimension or metric values.
type AccessFilter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Specify one type of filter for `Filter`.
//
// Types that are assignable to OneFilter:
// *AccessFilter_StringFilter
// *AccessFilter_InListFilter
// *AccessFilter_NumericFilter
// *AccessFilter_BetweenFilter
OneFilter isAccessFilter_OneFilter `protobuf_oneof:"one_filter"`
// The dimension name or metric name.
FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
}
func (x *AccessFilter) Reset() {
*x = AccessFilter{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessFilter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessFilter) ProtoMessage() {}
func (x *AccessFilter) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccessFilter.ProtoReflect.Descriptor instead.
func (*AccessFilter) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{5}
}
func (m *AccessFilter) GetOneFilter() isAccessFilter_OneFilter {
if m != nil {
return m.OneFilter
}
return nil
}
func (x *AccessFilter) GetStringFilter() *AccessStringFilter {
if x, ok := x.GetOneFilter().(*AccessFilter_StringFilter); ok {
return x.StringFilter
}
return nil
}
func (x *AccessFilter) GetInListFilter() *AccessInListFilter {
if x, ok := x.GetOneFilter().(*AccessFilter_InListFilter); ok {
return x.InListFilter
}
return nil
}
func (x *AccessFilter) GetNumericFilter() *AccessNumericFilter {
if x, ok := x.GetOneFilter().(*AccessFilter_NumericFilter); ok {
return x.NumericFilter
}
return nil
}
func (x *AccessFilter) GetBetweenFilter() *AccessBetweenFilter {
if x, ok := x.GetOneFilter().(*AccessFilter_BetweenFilter); ok {
return x.BetweenFilter
}
return nil
}
func (x *AccessFilter) GetFieldName() string {
if x != nil {
return x.FieldName
}
return ""
}
type isAccessFilter_OneFilter interface {
isAccessFilter_OneFilter()
}
type AccessFilter_StringFilter struct {
// Strings related filter.
StringFilter *AccessStringFilter `protobuf:"bytes,2,opt,name=string_filter,json=stringFilter,proto3,oneof"`
}
type AccessFilter_InListFilter struct {
// A filter for in list values.
InListFilter *AccessInListFilter `protobuf:"bytes,3,opt,name=in_list_filter,json=inListFilter,proto3,oneof"`
}
type AccessFilter_NumericFilter struct {
// A filter for numeric or date values.
NumericFilter *AccessNumericFilter `protobuf:"bytes,4,opt,name=numeric_filter,json=numericFilter,proto3,oneof"`
}
type AccessFilter_BetweenFilter struct {
// A filter for two values.
BetweenFilter *AccessBetweenFilter `protobuf:"bytes,5,opt,name=between_filter,json=betweenFilter,proto3,oneof"`
}
func (*AccessFilter_StringFilter) isAccessFilter_OneFilter() {}
func (*AccessFilter_InListFilter) isAccessFilter_OneFilter() {}
func (*AccessFilter_NumericFilter) isAccessFilter_OneFilter() {}
func (*AccessFilter_BetweenFilter) isAccessFilter_OneFilter() {}
// The filter for strings.
type AccessStringFilter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The match type for this filter.
MatchType AccessStringFilter_MatchType `protobuf:"varint,1,opt,name=match_type,json=matchType,proto3,enum=google.analytics.admin.v1alpha.AccessStringFilter_MatchType" json:"match_type,omitempty"`
// The string value used for the matching.
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// If true, the string value is case sensitive.
CaseSensitive bool `protobuf:"varint,3,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
}
func (x *AccessStringFilter) Reset() {
*x = AccessStringFilter{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessStringFilter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessStringFilter) ProtoMessage() {}
func (x *AccessStringFilter) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccessStringFilter.ProtoReflect.Descriptor instead.
func (*AccessStringFilter) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{6}
}
func (x *AccessStringFilter) GetMatchType() AccessStringFilter_MatchType {
if x != nil {
return x.MatchType
}
return AccessStringFilter_MATCH_TYPE_UNSPECIFIED
}
func (x *AccessStringFilter) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
func (x *AccessStringFilter) GetCaseSensitive() bool {
if x != nil {
return x.CaseSensitive
}
return false
}
// The result needs to be in a list of string values.
type AccessInListFilter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The list of string values. Must be non-empty.
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// If true, the string value is case sensitive.
CaseSensitive bool `protobuf:"varint,2,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
}
func (x *AccessInListFilter) Reset() {
*x = AccessInListFilter{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessInListFilter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessInListFilter) ProtoMessage() {}
func (x *AccessInListFilter) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccessInListFilter.ProtoReflect.Descriptor instead.
func (*AccessInListFilter) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{7}
}
func (x *AccessInListFilter) GetValues() []string {
if x != nil {
return x.Values
}
return nil
}
func (x *AccessInListFilter) GetCaseSensitive() bool {
if x != nil {
return x.CaseSensitive
}
return false
}
// Filters for numeric or date values.
type AccessNumericFilter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The operation type for this filter.
Operation AccessNumericFilter_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=google.analytics.admin.v1alpha.AccessNumericFilter_Operation" json:"operation,omitempty"`
// A numeric value or a date value.
Value *NumericValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *AccessNumericFilter) Reset() {
*x = AccessNumericFilter{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessNumericFilter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessNumericFilter) ProtoMessage() {}
func (x *AccessNumericFilter) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccessNumericFilter.ProtoReflect.Descriptor instead.
func (*AccessNumericFilter) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{8}
}
func (x *AccessNumericFilter) GetOperation() AccessNumericFilter_Operation {
if x != nil {
return x.Operation
}
return AccessNumericFilter_OPERATION_UNSPECIFIED
}
func (x *AccessNumericFilter) GetValue() *NumericValue {
if x != nil {
return x.Value
}
return nil
}
// To express that the result needs to be between two numbers (inclusive).
type AccessBetweenFilter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Begins with this number.
FromValue *NumericValue `protobuf:"bytes,1,opt,name=from_value,json=fromValue,proto3" json:"from_value,omitempty"`
// Ends with this number.
ToValue *NumericValue `protobuf:"bytes,2,opt,name=to_value,json=toValue,proto3" json:"to_value,omitempty"`
}
func (x *AccessBetweenFilter) Reset() {
*x = AccessBetweenFilter{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessBetweenFilter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessBetweenFilter) ProtoMessage() {}
func (x *AccessBetweenFilter) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccessBetweenFilter.ProtoReflect.Descriptor instead.
func (*AccessBetweenFilter) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{9}
}
func (x *AccessBetweenFilter) GetFromValue() *NumericValue {
if x != nil {
return x.FromValue
}
return nil
}
func (x *AccessBetweenFilter) GetToValue() *NumericValue {
if x != nil {
return x.ToValue
}
return nil
}
// To represent a number.
type NumericValue struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// One of a numeric value
//
// Types that are assignable to OneValue:
// *NumericValue_Int64Value
// *NumericValue_DoubleValue
OneValue isNumericValue_OneValue `protobuf_oneof:"one_value"`
}
func (x *NumericValue) Reset() {
*x = NumericValue{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NumericValue) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NumericValue) ProtoMessage() {}
func (x *NumericValue) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_access_report_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NumericValue.ProtoReflect.Descriptor instead.
func (*NumericValue) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_access_report_proto_rawDescGZIP(), []int{10}
}
func (m *NumericValue) GetOneValue() isNumericValue_OneValue {
if m != nil {
return m.OneValue
}
return nil
}
func (x *NumericValue) GetInt64Value() int64 {
if x, ok := x.GetOneValue().(*NumericValue_Int64Value); ok {
return x.Int64Value
}
return 0
}
func (x *NumericValue) GetDoubleValue() float64 {
if x, ok := x.GetOneValue().(*NumericValue_DoubleValue); ok {
return x.DoubleValue