forked from googleapis/java-spanner
/
criteria.pb.go
4820 lines (4304 loc) · 205 KB
/
criteria.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 2020 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.25.0
// protoc v3.13.0
// source: google/ads/googleads/v3/common/criteria.proto
package common
import (
reflect "reflect"
sync "sync"
proto "github.com/golang/protobuf/proto"
enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)
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)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// A keyword criterion.
type KeywordInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The text of the keyword (at most 80 characters and 10 words).
Text *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// The match type of the keyword.
MatchType enums.KeywordMatchTypeEnum_KeywordMatchType `protobuf:"varint,2,opt,name=match_type,json=matchType,proto3,enum=google.ads.googleads.v3.enums.KeywordMatchTypeEnum_KeywordMatchType" json:"match_type,omitempty"`
}
func (x *KeywordInfo) Reset() {
*x = KeywordInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeywordInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeywordInfo) ProtoMessage() {}
func (x *KeywordInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 KeywordInfo.ProtoReflect.Descriptor instead.
func (*KeywordInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{0}
}
func (x *KeywordInfo) GetText() *wrapperspb.StringValue {
if x != nil {
return x.Text
}
return nil
}
func (x *KeywordInfo) GetMatchType() enums.KeywordMatchTypeEnum_KeywordMatchType {
if x != nil {
return x.MatchType
}
return enums.KeywordMatchTypeEnum_UNSPECIFIED
}
// A placement criterion. This can be used to modify bids for sites when
// targeting the content network.
type PlacementInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// URL of the placement.
//
// For example, "http://www.domain.com".
Url *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
}
func (x *PlacementInfo) Reset() {
*x = PlacementInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PlacementInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PlacementInfo) ProtoMessage() {}
func (x *PlacementInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 PlacementInfo.ProtoReflect.Descriptor instead.
func (*PlacementInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{1}
}
func (x *PlacementInfo) GetUrl() *wrapperspb.StringValue {
if x != nil {
return x.Url
}
return nil
}
// A mobile app category criterion.
type MobileAppCategoryInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The mobile app category constant resource name.
MobileAppCategoryConstant *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=mobile_app_category_constant,json=mobileAppCategoryConstant,proto3" json:"mobile_app_category_constant,omitempty"`
}
func (x *MobileAppCategoryInfo) Reset() {
*x = MobileAppCategoryInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MobileAppCategoryInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MobileAppCategoryInfo) ProtoMessage() {}
func (x *MobileAppCategoryInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 MobileAppCategoryInfo.ProtoReflect.Descriptor instead.
func (*MobileAppCategoryInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{2}
}
func (x *MobileAppCategoryInfo) GetMobileAppCategoryConstant() *wrapperspb.StringValue {
if x != nil {
return x.MobileAppCategoryConstant
}
return nil
}
// A mobile application criterion.
type MobileApplicationInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// A string that uniquely identifies a mobile application to Google Ads API.
// The format of this string is "{platform}-{platform_native_id}", where
// platform is "1" for iOS apps and "2" for Android apps, and where
// platform_native_id is the mobile application identifier native to the
// corresponding platform.
// For iOS, this native identifier is the 9 digit string that appears at the
// end of an App Store URL (e.g., "476943146" for "Flood-It! 2" whose App
// Store link is "http://itunes.apple.com/us/app/flood-it!-2/id476943146").
// For Android, this native identifier is the application's package name
// (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link
// "https://play.google.com/store/apps/details?id=com.labpixies.colordrips").
// A well formed app id for Google Ads API would thus be "1-476943146" for iOS
// and "2-com.labpixies.colordrips" for Android.
// This field is required and must be set in CREATE operations.
AppId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
// Name of this mobile application.
Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *MobileApplicationInfo) Reset() {
*x = MobileApplicationInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MobileApplicationInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MobileApplicationInfo) ProtoMessage() {}
func (x *MobileApplicationInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 MobileApplicationInfo.ProtoReflect.Descriptor instead.
func (*MobileApplicationInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{3}
}
func (x *MobileApplicationInfo) GetAppId() *wrapperspb.StringValue {
if x != nil {
return x.AppId
}
return nil
}
func (x *MobileApplicationInfo) GetName() *wrapperspb.StringValue {
if x != nil {
return x.Name
}
return nil
}
// A location criterion.
type LocationInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The geo target constant resource name.
GeoTargetConstant *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=geo_target_constant,json=geoTargetConstant,proto3" json:"geo_target_constant,omitempty"`
}
func (x *LocationInfo) Reset() {
*x = LocationInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LocationInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LocationInfo) ProtoMessage() {}
func (x *LocationInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 LocationInfo.ProtoReflect.Descriptor instead.
func (*LocationInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{4}
}
func (x *LocationInfo) GetGeoTargetConstant() *wrapperspb.StringValue {
if x != nil {
return x.GeoTargetConstant
}
return nil
}
// A device criterion.
type DeviceInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Type of the device.
Type enums.DeviceEnum_Device `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v3.enums.DeviceEnum_Device" json:"type,omitempty"`
}
func (x *DeviceInfo) Reset() {
*x = DeviceInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeviceInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeviceInfo) ProtoMessage() {}
func (x *DeviceInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 DeviceInfo.ProtoReflect.Descriptor instead.
func (*DeviceInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{5}
}
func (x *DeviceInfo) GetType() enums.DeviceEnum_Device {
if x != nil {
return x.Type
}
return enums.DeviceEnum_UNSPECIFIED
}
// A preferred content criterion.
type PreferredContentInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Type of the preferred content.
Type enums.PreferredContentTypeEnum_PreferredContentType `protobuf:"varint,2,opt,name=type,proto3,enum=google.ads.googleads.v3.enums.PreferredContentTypeEnum_PreferredContentType" json:"type,omitempty"`
}
func (x *PreferredContentInfo) Reset() {
*x = PreferredContentInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PreferredContentInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PreferredContentInfo) ProtoMessage() {}
func (x *PreferredContentInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 PreferredContentInfo.ProtoReflect.Descriptor instead.
func (*PreferredContentInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{6}
}
func (x *PreferredContentInfo) GetType() enums.PreferredContentTypeEnum_PreferredContentType {
if x != nil {
return x.Type
}
return enums.PreferredContentTypeEnum_UNSPECIFIED
}
// A listing group criterion.
type ListingGroupInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Type of the listing group.
Type enums.ListingGroupTypeEnum_ListingGroupType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v3.enums.ListingGroupTypeEnum_ListingGroupType" json:"type,omitempty"`
// Dimension value with which this listing group is refining its parent.
// Undefined for the root group.
CaseValue *ListingDimensionInfo `protobuf:"bytes,2,opt,name=case_value,json=caseValue,proto3" json:"case_value,omitempty"`
// Resource name of ad group criterion which is the parent listing group
// subdivision. Null for the root group.
ParentAdGroupCriterion *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=parent_ad_group_criterion,json=parentAdGroupCriterion,proto3" json:"parent_ad_group_criterion,omitempty"`
}
func (x *ListingGroupInfo) Reset() {
*x = ListingGroupInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListingGroupInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListingGroupInfo) ProtoMessage() {}
func (x *ListingGroupInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 ListingGroupInfo.ProtoReflect.Descriptor instead.
func (*ListingGroupInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{7}
}
func (x *ListingGroupInfo) GetType() enums.ListingGroupTypeEnum_ListingGroupType {
if x != nil {
return x.Type
}
return enums.ListingGroupTypeEnum_UNSPECIFIED
}
func (x *ListingGroupInfo) GetCaseValue() *ListingDimensionInfo {
if x != nil {
return x.CaseValue
}
return nil
}
func (x *ListingGroupInfo) GetParentAdGroupCriterion() *wrapperspb.StringValue {
if x != nil {
return x.ParentAdGroupCriterion
}
return nil
}
// A listing scope criterion.
type ListingScopeInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Scope of the campaign criterion.
Dimensions []*ListingDimensionInfo `protobuf:"bytes,2,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
}
func (x *ListingScopeInfo) Reset() {
*x = ListingScopeInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListingScopeInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListingScopeInfo) ProtoMessage() {}
func (x *ListingScopeInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 ListingScopeInfo.ProtoReflect.Descriptor instead.
func (*ListingScopeInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{8}
}
func (x *ListingScopeInfo) GetDimensions() []*ListingDimensionInfo {
if x != nil {
return x.Dimensions
}
return nil
}
// Listing dimensions for listing group criterion.
type ListingDimensionInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Dimension of one of the types below is always present.
//
// Types that are assignable to Dimension:
// *ListingDimensionInfo_HotelId
// *ListingDimensionInfo_HotelClass
// *ListingDimensionInfo_HotelCountryRegion
// *ListingDimensionInfo_HotelState
// *ListingDimensionInfo_HotelCity
// *ListingDimensionInfo_ProductBiddingCategory
// *ListingDimensionInfo_ProductBrand
// *ListingDimensionInfo_ProductChannel
// *ListingDimensionInfo_ProductChannelExclusivity
// *ListingDimensionInfo_ProductCondition
// *ListingDimensionInfo_ProductCustomAttribute
// *ListingDimensionInfo_ProductItemId
// *ListingDimensionInfo_ProductType
// *ListingDimensionInfo_UnknownListingDimension
Dimension isListingDimensionInfo_Dimension `protobuf_oneof:"dimension"`
}
func (x *ListingDimensionInfo) Reset() {
*x = ListingDimensionInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListingDimensionInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListingDimensionInfo) ProtoMessage() {}
func (x *ListingDimensionInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 ListingDimensionInfo.ProtoReflect.Descriptor instead.
func (*ListingDimensionInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{9}
}
func (m *ListingDimensionInfo) GetDimension() isListingDimensionInfo_Dimension {
if m != nil {
return m.Dimension
}
return nil
}
func (x *ListingDimensionInfo) GetHotelId() *HotelIdInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_HotelId); ok {
return x.HotelId
}
return nil
}
func (x *ListingDimensionInfo) GetHotelClass() *HotelClassInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_HotelClass); ok {
return x.HotelClass
}
return nil
}
func (x *ListingDimensionInfo) GetHotelCountryRegion() *HotelCountryRegionInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_HotelCountryRegion); ok {
return x.HotelCountryRegion
}
return nil
}
func (x *ListingDimensionInfo) GetHotelState() *HotelStateInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_HotelState); ok {
return x.HotelState
}
return nil
}
func (x *ListingDimensionInfo) GetHotelCity() *HotelCityInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_HotelCity); ok {
return x.HotelCity
}
return nil
}
func (x *ListingDimensionInfo) GetProductBiddingCategory() *ProductBiddingCategoryInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_ProductBiddingCategory); ok {
return x.ProductBiddingCategory
}
return nil
}
func (x *ListingDimensionInfo) GetProductBrand() *ProductBrandInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_ProductBrand); ok {
return x.ProductBrand
}
return nil
}
func (x *ListingDimensionInfo) GetProductChannel() *ProductChannelInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_ProductChannel); ok {
return x.ProductChannel
}
return nil
}
func (x *ListingDimensionInfo) GetProductChannelExclusivity() *ProductChannelExclusivityInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_ProductChannelExclusivity); ok {
return x.ProductChannelExclusivity
}
return nil
}
func (x *ListingDimensionInfo) GetProductCondition() *ProductConditionInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_ProductCondition); ok {
return x.ProductCondition
}
return nil
}
func (x *ListingDimensionInfo) GetProductCustomAttribute() *ProductCustomAttributeInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_ProductCustomAttribute); ok {
return x.ProductCustomAttribute
}
return nil
}
func (x *ListingDimensionInfo) GetProductItemId() *ProductItemIdInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_ProductItemId); ok {
return x.ProductItemId
}
return nil
}
func (x *ListingDimensionInfo) GetProductType() *ProductTypeInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_ProductType); ok {
return x.ProductType
}
return nil
}
func (x *ListingDimensionInfo) GetUnknownListingDimension() *UnknownListingDimensionInfo {
if x, ok := x.GetDimension().(*ListingDimensionInfo_UnknownListingDimension); ok {
return x.UnknownListingDimension
}
return nil
}
type isListingDimensionInfo_Dimension interface {
isListingDimensionInfo_Dimension()
}
type ListingDimensionInfo_HotelId struct {
// Advertiser-specific hotel ID.
HotelId *HotelIdInfo `protobuf:"bytes,2,opt,name=hotel_id,json=hotelId,proto3,oneof"`
}
type ListingDimensionInfo_HotelClass struct {
// Class of the hotel as a number of stars 1 to 5.
HotelClass *HotelClassInfo `protobuf:"bytes,3,opt,name=hotel_class,json=hotelClass,proto3,oneof"`
}
type ListingDimensionInfo_HotelCountryRegion struct {
// Country or Region the hotel is located in.
HotelCountryRegion *HotelCountryRegionInfo `protobuf:"bytes,4,opt,name=hotel_country_region,json=hotelCountryRegion,proto3,oneof"`
}
type ListingDimensionInfo_HotelState struct {
// State the hotel is located in.
HotelState *HotelStateInfo `protobuf:"bytes,5,opt,name=hotel_state,json=hotelState,proto3,oneof"`
}
type ListingDimensionInfo_HotelCity struct {
// City the hotel is located in.
HotelCity *HotelCityInfo `protobuf:"bytes,6,opt,name=hotel_city,json=hotelCity,proto3,oneof"`
}
type ListingDimensionInfo_ProductBiddingCategory struct {
// Bidding category of a product offer.
ProductBiddingCategory *ProductBiddingCategoryInfo `protobuf:"bytes,13,opt,name=product_bidding_category,json=productBiddingCategory,proto3,oneof"`
}
type ListingDimensionInfo_ProductBrand struct {
// Brand of a product offer.
ProductBrand *ProductBrandInfo `protobuf:"bytes,15,opt,name=product_brand,json=productBrand,proto3,oneof"`
}
type ListingDimensionInfo_ProductChannel struct {
// Locality of a product offer.
ProductChannel *ProductChannelInfo `protobuf:"bytes,8,opt,name=product_channel,json=productChannel,proto3,oneof"`
}
type ListingDimensionInfo_ProductChannelExclusivity struct {
// Availability of a product offer.
ProductChannelExclusivity *ProductChannelExclusivityInfo `protobuf:"bytes,9,opt,name=product_channel_exclusivity,json=productChannelExclusivity,proto3,oneof"`
}
type ListingDimensionInfo_ProductCondition struct {
// Condition of a product offer.
ProductCondition *ProductConditionInfo `protobuf:"bytes,10,opt,name=product_condition,json=productCondition,proto3,oneof"`
}
type ListingDimensionInfo_ProductCustomAttribute struct {
// Custom attribute of a product offer.
ProductCustomAttribute *ProductCustomAttributeInfo `protobuf:"bytes,16,opt,name=product_custom_attribute,json=productCustomAttribute,proto3,oneof"`
}
type ListingDimensionInfo_ProductItemId struct {
// Item id of a product offer.
ProductItemId *ProductItemIdInfo `protobuf:"bytes,11,opt,name=product_item_id,json=productItemId,proto3,oneof"`
}
type ListingDimensionInfo_ProductType struct {
// Type of a product offer.
ProductType *ProductTypeInfo `protobuf:"bytes,12,opt,name=product_type,json=productType,proto3,oneof"`
}
type ListingDimensionInfo_UnknownListingDimension struct {
// Unknown dimension. Set when no other listing dimension is set.
UnknownListingDimension *UnknownListingDimensionInfo `protobuf:"bytes,14,opt,name=unknown_listing_dimension,json=unknownListingDimension,proto3,oneof"`
}
func (*ListingDimensionInfo_HotelId) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_HotelClass) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_HotelCountryRegion) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_HotelState) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_HotelCity) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_ProductBiddingCategory) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_ProductBrand) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_ProductChannel) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_ProductChannelExclusivity) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_ProductCondition) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_ProductCustomAttribute) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_ProductItemId) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_ProductType) isListingDimensionInfo_Dimension() {}
func (*ListingDimensionInfo_UnknownListingDimension) isListingDimensionInfo_Dimension() {}
// Advertiser-specific hotel ID.
type HotelIdInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// String value of the hotel ID.
Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *HotelIdInfo) Reset() {
*x = HotelIdInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HotelIdInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HotelIdInfo) ProtoMessage() {}
func (x *HotelIdInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_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 HotelIdInfo.ProtoReflect.Descriptor instead.
func (*HotelIdInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{10}
}
func (x *HotelIdInfo) GetValue() *wrapperspb.StringValue {
if x != nil {
return x.Value
}
return nil
}
// Class of the hotel as a number of stars 1 to 5.
type HotelClassInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Long value of the hotel class.
Value *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *HotelClassInfo) Reset() {
*x = HotelClassInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HotelClassInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HotelClassInfo) ProtoMessage() {}
func (x *HotelClassInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[11]
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 HotelClassInfo.ProtoReflect.Descriptor instead.
func (*HotelClassInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{11}
}
func (x *HotelClassInfo) GetValue() *wrapperspb.Int64Value {
if x != nil {
return x.Value
}
return nil
}
// Country or Region the hotel is located in.
type HotelCountryRegionInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The Geo Target Constant resource name.
CountryRegionCriterion *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=country_region_criterion,json=countryRegionCriterion,proto3" json:"country_region_criterion,omitempty"`
}
func (x *HotelCountryRegionInfo) Reset() {
*x = HotelCountryRegionInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HotelCountryRegionInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HotelCountryRegionInfo) ProtoMessage() {}
func (x *HotelCountryRegionInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[12]
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 HotelCountryRegionInfo.ProtoReflect.Descriptor instead.
func (*HotelCountryRegionInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{12}
}
func (x *HotelCountryRegionInfo) GetCountryRegionCriterion() *wrapperspb.StringValue {
if x != nil {
return x.CountryRegionCriterion
}
return nil
}
// State the hotel is located in.
type HotelStateInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The Geo Target Constant resource name.
StateCriterion *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=state_criterion,json=stateCriterion,proto3" json:"state_criterion,omitempty"`
}
func (x *HotelStateInfo) Reset() {
*x = HotelStateInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HotelStateInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HotelStateInfo) ProtoMessage() {}
func (x *HotelStateInfo) ProtoReflect() protoreflect.Message {
mi := &file_google_ads_googleads_v3_common_criteria_proto_msgTypes[13]
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 HotelStateInfo.ProtoReflect.Descriptor instead.
func (*HotelStateInfo) Descriptor() ([]byte, []int) {
return file_google_ads_googleads_v3_common_criteria_proto_rawDescGZIP(), []int{13}
}
func (x *HotelStateInfo) GetStateCriterion() *wrapperspb.StringValue {
if x != nil {
return x.StateCriterion
}
return nil
}