1// Copyright 2020 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.25.0 18// protoc v3.13.0 19// source: google/ads/googleads/v3/resources/shared_criterion.proto 20 21package resources 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 common "google.golang.org/genproto/googleapis/ads/googleads/v3/common" 29 enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums" 30 _ "google.golang.org/genproto/googleapis/api/annotations" 31 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 32 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 33 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" 34) 35 36const ( 37 // Verify that this generated code is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 39 // Verify that runtime/protoimpl is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 41) 42 43// This is a compile-time assertion that a sufficiently up-to-date version 44// of the legacy proto package is being used. 45const _ = proto.ProtoPackageIsVersion4 46 47// A criterion belonging to a shared set. 48type SharedCriterion struct { 49 state protoimpl.MessageState 50 sizeCache protoimpl.SizeCache 51 unknownFields protoimpl.UnknownFields 52 53 // Immutable. The resource name of the shared criterion. 54 // Shared set resource names have the form: 55 // 56 // `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` 57 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 58 // Immutable. The shared set to which the shared criterion belongs. 59 SharedSet *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=shared_set,json=sharedSet,proto3" json:"shared_set,omitempty"` 60 // Output only. The ID of the criterion. 61 // 62 // This field is ignored for mutates. 63 CriterionId *wrapperspb.Int64Value `protobuf:"bytes,26,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` 64 // Output only. The type of the criterion. 65 Type enums.CriterionTypeEnum_CriterionType `protobuf:"varint,4,opt,name=type,proto3,enum=google.ads.googleads.v3.enums.CriterionTypeEnum_CriterionType" json:"type,omitempty"` 66 // The criterion. 67 // 68 // Exactly one must be set. 69 // 70 // Types that are assignable to Criterion: 71 // *SharedCriterion_Keyword 72 // *SharedCriterion_YoutubeVideo 73 // *SharedCriterion_YoutubeChannel 74 // *SharedCriterion_Placement 75 // *SharedCriterion_MobileAppCategory 76 // *SharedCriterion_MobileApplication 77 Criterion isSharedCriterion_Criterion `protobuf_oneof:"criterion"` 78} 79 80func (x *SharedCriterion) Reset() { 81 *x = SharedCriterion{} 82 if protoimpl.UnsafeEnabled { 83 mi := &file_google_ads_googleads_v3_resources_shared_criterion_proto_msgTypes[0] 84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 85 ms.StoreMessageInfo(mi) 86 } 87} 88 89func (x *SharedCriterion) String() string { 90 return protoimpl.X.MessageStringOf(x) 91} 92 93func (*SharedCriterion) ProtoMessage() {} 94 95func (x *SharedCriterion) ProtoReflect() protoreflect.Message { 96 mi := &file_google_ads_googleads_v3_resources_shared_criterion_proto_msgTypes[0] 97 if protoimpl.UnsafeEnabled && x != nil { 98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 99 if ms.LoadMessageInfo() == nil { 100 ms.StoreMessageInfo(mi) 101 } 102 return ms 103 } 104 return mi.MessageOf(x) 105} 106 107// Deprecated: Use SharedCriterion.ProtoReflect.Descriptor instead. 108func (*SharedCriterion) Descriptor() ([]byte, []int) { 109 return file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDescGZIP(), []int{0} 110} 111 112func (x *SharedCriterion) GetResourceName() string { 113 if x != nil { 114 return x.ResourceName 115 } 116 return "" 117} 118 119func (x *SharedCriterion) GetSharedSet() *wrapperspb.StringValue { 120 if x != nil { 121 return x.SharedSet 122 } 123 return nil 124} 125 126func (x *SharedCriterion) GetCriterionId() *wrapperspb.Int64Value { 127 if x != nil { 128 return x.CriterionId 129 } 130 return nil 131} 132 133func (x *SharedCriterion) GetType() enums.CriterionTypeEnum_CriterionType { 134 if x != nil { 135 return x.Type 136 } 137 return enums.CriterionTypeEnum_UNSPECIFIED 138} 139 140func (m *SharedCriterion) GetCriterion() isSharedCriterion_Criterion { 141 if m != nil { 142 return m.Criterion 143 } 144 return nil 145} 146 147func (x *SharedCriterion) GetKeyword() *common.KeywordInfo { 148 if x, ok := x.GetCriterion().(*SharedCriterion_Keyword); ok { 149 return x.Keyword 150 } 151 return nil 152} 153 154func (x *SharedCriterion) GetYoutubeVideo() *common.YouTubeVideoInfo { 155 if x, ok := x.GetCriterion().(*SharedCriterion_YoutubeVideo); ok { 156 return x.YoutubeVideo 157 } 158 return nil 159} 160 161func (x *SharedCriterion) GetYoutubeChannel() *common.YouTubeChannelInfo { 162 if x, ok := x.GetCriterion().(*SharedCriterion_YoutubeChannel); ok { 163 return x.YoutubeChannel 164 } 165 return nil 166} 167 168func (x *SharedCriterion) GetPlacement() *common.PlacementInfo { 169 if x, ok := x.GetCriterion().(*SharedCriterion_Placement); ok { 170 return x.Placement 171 } 172 return nil 173} 174 175func (x *SharedCriterion) GetMobileAppCategory() *common.MobileAppCategoryInfo { 176 if x, ok := x.GetCriterion().(*SharedCriterion_MobileAppCategory); ok { 177 return x.MobileAppCategory 178 } 179 return nil 180} 181 182func (x *SharedCriterion) GetMobileApplication() *common.MobileApplicationInfo { 183 if x, ok := x.GetCriterion().(*SharedCriterion_MobileApplication); ok { 184 return x.MobileApplication 185 } 186 return nil 187} 188 189type isSharedCriterion_Criterion interface { 190 isSharedCriterion_Criterion() 191} 192 193type SharedCriterion_Keyword struct { 194 // Immutable. Keyword. 195 Keyword *common.KeywordInfo `protobuf:"bytes,3,opt,name=keyword,proto3,oneof"` 196} 197 198type SharedCriterion_YoutubeVideo struct { 199 // Immutable. YouTube Video. 200 YoutubeVideo *common.YouTubeVideoInfo `protobuf:"bytes,5,opt,name=youtube_video,json=youtubeVideo,proto3,oneof"` 201} 202 203type SharedCriterion_YoutubeChannel struct { 204 // Immutable. YouTube Channel. 205 YoutubeChannel *common.YouTubeChannelInfo `protobuf:"bytes,6,opt,name=youtube_channel,json=youtubeChannel,proto3,oneof"` 206} 207 208type SharedCriterion_Placement struct { 209 // Immutable. Placement. 210 Placement *common.PlacementInfo `protobuf:"bytes,7,opt,name=placement,proto3,oneof"` 211} 212 213type SharedCriterion_MobileAppCategory struct { 214 // Immutable. Mobile App Category. 215 MobileAppCategory *common.MobileAppCategoryInfo `protobuf:"bytes,8,opt,name=mobile_app_category,json=mobileAppCategory,proto3,oneof"` 216} 217 218type SharedCriterion_MobileApplication struct { 219 // Immutable. Mobile application. 220 MobileApplication *common.MobileApplicationInfo `protobuf:"bytes,9,opt,name=mobile_application,json=mobileApplication,proto3,oneof"` 221} 222 223func (*SharedCriterion_Keyword) isSharedCriterion_Criterion() {} 224 225func (*SharedCriterion_YoutubeVideo) isSharedCriterion_Criterion() {} 226 227func (*SharedCriterion_YoutubeChannel) isSharedCriterion_Criterion() {} 228 229func (*SharedCriterion_Placement) isSharedCriterion_Criterion() {} 230 231func (*SharedCriterion_MobileAppCategory) isSharedCriterion_Criterion() {} 232 233func (*SharedCriterion_MobileApplication) isSharedCriterion_Criterion() {} 234 235var File_google_ads_googleads_v3_resources_shared_criterion_proto protoreflect.FileDescriptor 236 237var file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDesc = []byte{ 238 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 239 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 240 0x63, 0x65, 0x73, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 241 0x72, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 242 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 243 0x2e, 0x76, 0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a, 0x2d, 0x67, 244 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 245 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x72, 246 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f, 247 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 248 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2f, 0x63, 0x72, 0x69, 0x74, 249 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 250 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 251 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 252 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 253 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 254 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 255 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 256 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 257 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x08, 0x0a, 0x0f, 0x53, 258 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x12, 0x55, 259 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 260 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x67, 261 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 262 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 263 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 264 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x67, 0x0a, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 265 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 266 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 267 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x2a, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x24, 0x0a, 268 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 269 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 270 0x53, 0x65, 0x74, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x74, 0x12, 0x43, 271 0x0a, 0x0c, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x1a, 272 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 273 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 274 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 275 0x6e, 0x49, 0x64, 0x12, 0x57, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 276 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 277 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 278 0x73, 0x2e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x45, 279 0x6e, 0x75, 0x6d, 0x2e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 280 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4c, 0x0a, 0x07, 281 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 282 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 283 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4b, 284 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 285 0x00, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x5c, 0x0a, 0x0d, 0x79, 0x6f, 286 0x75, 0x74, 0x75, 0x62, 0x65, 0x5f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 287 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 288 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 289 0x6f, 0x6e, 0x2e, 0x59, 0x6f, 0x75, 0x54, 0x75, 0x62, 0x65, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x49, 290 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x0c, 0x79, 0x6f, 0x75, 0x74, 291 0x75, 0x62, 0x65, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x12, 0x62, 0x0a, 0x0f, 0x79, 0x6f, 0x75, 0x74, 292 0x75, 0x62, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 293 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 294 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 295 0x6f, 0x6e, 0x2e, 0x59, 0x6f, 0x75, 0x54, 0x75, 0x62, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 296 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x0e, 0x79, 0x6f, 297 0x75, 0x74, 0x75, 0x62, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x52, 0x0a, 0x09, 298 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 299 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 300 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 301 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 302 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 303 0x12, 0x6c, 0x0a, 0x13, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x63, 304 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 305 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 306 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 307 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x41, 0x70, 0x70, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 308 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x62, 309 0x69, 0x6c, 0x65, 0x41, 0x70, 0x70, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x6b, 310 0x0a, 0x12, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 311 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 312 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 313 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x6f, 0x62, 0x69, 314 0x6c, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 315 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 316 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x65, 0xea, 0x41, 0x62, 317 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 318 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x68, 0x61, 0x72, 0x65, 319 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x63, 0x75, 0x73, 0x74, 320 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x7d, 321 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x2f, 322 0x7b, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 323 0x6e, 0x7d, 0x42, 0x0b, 0x0a, 0x09, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x42, 324 0x81, 0x02, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 325 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 326 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x14, 0x53, 0x68, 0x61, 0x72, 0x65, 327 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 328 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 329 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 330 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 331 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 332 0x63, 0x65, 0x73, 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 333 0x47, 0x41, 0x41, 0xaa, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 334 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x33, 0x2e, 0x52, 0x65, 335 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xca, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 336 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 337 0x33, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xea, 0x02, 0x25, 0x47, 0x6f, 338 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 339 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x33, 0x3a, 0x3a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 340 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 341} 342 343var ( 344 file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDescOnce sync.Once 345 file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDescData = file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDesc 346) 347 348func file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDescGZIP() []byte { 349 file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDescOnce.Do(func() { 350 file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDescData) 351 }) 352 return file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDescData 353} 354 355var file_google_ads_googleads_v3_resources_shared_criterion_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 356var file_google_ads_googleads_v3_resources_shared_criterion_proto_goTypes = []interface{}{ 357 (*SharedCriterion)(nil), // 0: google.ads.googleads.v3.resources.SharedCriterion 358 (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue 359 (*wrapperspb.Int64Value)(nil), // 2: google.protobuf.Int64Value 360 (enums.CriterionTypeEnum_CriterionType)(0), // 3: google.ads.googleads.v3.enums.CriterionTypeEnum.CriterionType 361 (*common.KeywordInfo)(nil), // 4: google.ads.googleads.v3.common.KeywordInfo 362 (*common.YouTubeVideoInfo)(nil), // 5: google.ads.googleads.v3.common.YouTubeVideoInfo 363 (*common.YouTubeChannelInfo)(nil), // 6: google.ads.googleads.v3.common.YouTubeChannelInfo 364 (*common.PlacementInfo)(nil), // 7: google.ads.googleads.v3.common.PlacementInfo 365 (*common.MobileAppCategoryInfo)(nil), // 8: google.ads.googleads.v3.common.MobileAppCategoryInfo 366 (*common.MobileApplicationInfo)(nil), // 9: google.ads.googleads.v3.common.MobileApplicationInfo 367} 368var file_google_ads_googleads_v3_resources_shared_criterion_proto_depIdxs = []int32{ 369 1, // 0: google.ads.googleads.v3.resources.SharedCriterion.shared_set:type_name -> google.protobuf.StringValue 370 2, // 1: google.ads.googleads.v3.resources.SharedCriterion.criterion_id:type_name -> google.protobuf.Int64Value 371 3, // 2: google.ads.googleads.v3.resources.SharedCriterion.type:type_name -> google.ads.googleads.v3.enums.CriterionTypeEnum.CriterionType 372 4, // 3: google.ads.googleads.v3.resources.SharedCriterion.keyword:type_name -> google.ads.googleads.v3.common.KeywordInfo 373 5, // 4: google.ads.googleads.v3.resources.SharedCriterion.youtube_video:type_name -> google.ads.googleads.v3.common.YouTubeVideoInfo 374 6, // 5: google.ads.googleads.v3.resources.SharedCriterion.youtube_channel:type_name -> google.ads.googleads.v3.common.YouTubeChannelInfo 375 7, // 6: google.ads.googleads.v3.resources.SharedCriterion.placement:type_name -> google.ads.googleads.v3.common.PlacementInfo 376 8, // 7: google.ads.googleads.v3.resources.SharedCriterion.mobile_app_category:type_name -> google.ads.googleads.v3.common.MobileAppCategoryInfo 377 9, // 8: google.ads.googleads.v3.resources.SharedCriterion.mobile_application:type_name -> google.ads.googleads.v3.common.MobileApplicationInfo 378 9, // [9:9] is the sub-list for method output_type 379 9, // [9:9] is the sub-list for method input_type 380 9, // [9:9] is the sub-list for extension type_name 381 9, // [9:9] is the sub-list for extension extendee 382 0, // [0:9] is the sub-list for field type_name 383} 384 385func init() { file_google_ads_googleads_v3_resources_shared_criterion_proto_init() } 386func file_google_ads_googleads_v3_resources_shared_criterion_proto_init() { 387 if File_google_ads_googleads_v3_resources_shared_criterion_proto != nil { 388 return 389 } 390 if !protoimpl.UnsafeEnabled { 391 file_google_ads_googleads_v3_resources_shared_criterion_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 392 switch v := v.(*SharedCriterion); i { 393 case 0: 394 return &v.state 395 case 1: 396 return &v.sizeCache 397 case 2: 398 return &v.unknownFields 399 default: 400 return nil 401 } 402 } 403 } 404 file_google_ads_googleads_v3_resources_shared_criterion_proto_msgTypes[0].OneofWrappers = []interface{}{ 405 (*SharedCriterion_Keyword)(nil), 406 (*SharedCriterion_YoutubeVideo)(nil), 407 (*SharedCriterion_YoutubeChannel)(nil), 408 (*SharedCriterion_Placement)(nil), 409 (*SharedCriterion_MobileAppCategory)(nil), 410 (*SharedCriterion_MobileApplication)(nil), 411 } 412 type x struct{} 413 out := protoimpl.TypeBuilder{ 414 File: protoimpl.DescBuilder{ 415 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 416 RawDescriptor: file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDesc, 417 NumEnums: 0, 418 NumMessages: 1, 419 NumExtensions: 0, 420 NumServices: 0, 421 }, 422 GoTypes: file_google_ads_googleads_v3_resources_shared_criterion_proto_goTypes, 423 DependencyIndexes: file_google_ads_googleads_v3_resources_shared_criterion_proto_depIdxs, 424 MessageInfos: file_google_ads_googleads_v3_resources_shared_criterion_proto_msgTypes, 425 }.Build() 426 File_google_ads_googleads_v3_resources_shared_criterion_proto = out.File 427 file_google_ads_googleads_v3_resources_shared_criterion_proto_rawDesc = nil 428 file_google_ads_googleads_v3_resources_shared_criterion_proto_goTypes = nil 429 file_google_ads_googleads_v3_resources_shared_criterion_proto_depIdxs = nil 430} 431