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.22.0 18// protoc v3.11.2 19// source: google/ads/googleads/v3/enums/device.proto 20 21package enums 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31) 32 33const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38) 39 40// This is a compile-time assertion that a sufficiently up-to-date version 41// of the legacy proto package is being used. 42const _ = proto.ProtoPackageIsVersion4 43 44// Enumerates Google Ads devices available for targeting. 45type DeviceEnum_Device int32 46 47const ( 48 // Not specified. 49 DeviceEnum_UNSPECIFIED DeviceEnum_Device = 0 50 // The value is unknown in this version. 51 DeviceEnum_UNKNOWN DeviceEnum_Device = 1 52 // Mobile devices with full browsers. 53 DeviceEnum_MOBILE DeviceEnum_Device = 2 54 // Tablets with full browsers. 55 DeviceEnum_TABLET DeviceEnum_Device = 3 56 // Computers. 57 DeviceEnum_DESKTOP DeviceEnum_Device = 4 58 // Smart TVs and game consoles. 59 DeviceEnum_CONNECTED_TV DeviceEnum_Device = 6 60 // Other device types. 61 DeviceEnum_OTHER DeviceEnum_Device = 5 62) 63 64// Enum value maps for DeviceEnum_Device. 65var ( 66 DeviceEnum_Device_name = map[int32]string{ 67 0: "UNSPECIFIED", 68 1: "UNKNOWN", 69 2: "MOBILE", 70 3: "TABLET", 71 4: "DESKTOP", 72 6: "CONNECTED_TV", 73 5: "OTHER", 74 } 75 DeviceEnum_Device_value = map[string]int32{ 76 "UNSPECIFIED": 0, 77 "UNKNOWN": 1, 78 "MOBILE": 2, 79 "TABLET": 3, 80 "DESKTOP": 4, 81 "CONNECTED_TV": 6, 82 "OTHER": 5, 83 } 84) 85 86func (x DeviceEnum_Device) Enum() *DeviceEnum_Device { 87 p := new(DeviceEnum_Device) 88 *p = x 89 return p 90} 91 92func (x DeviceEnum_Device) String() string { 93 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 94} 95 96func (DeviceEnum_Device) Descriptor() protoreflect.EnumDescriptor { 97 return file_google_ads_googleads_v3_enums_device_proto_enumTypes[0].Descriptor() 98} 99 100func (DeviceEnum_Device) Type() protoreflect.EnumType { 101 return &file_google_ads_googleads_v3_enums_device_proto_enumTypes[0] 102} 103 104func (x DeviceEnum_Device) Number() protoreflect.EnumNumber { 105 return protoreflect.EnumNumber(x) 106} 107 108// Deprecated: Use DeviceEnum_Device.Descriptor instead. 109func (DeviceEnum_Device) EnumDescriptor() ([]byte, []int) { 110 return file_google_ads_googleads_v3_enums_device_proto_rawDescGZIP(), []int{0, 0} 111} 112 113// Container for enumeration of Google Ads devices available for targeting. 114type DeviceEnum struct { 115 state protoimpl.MessageState 116 sizeCache protoimpl.SizeCache 117 unknownFields protoimpl.UnknownFields 118} 119 120func (x *DeviceEnum) Reset() { 121 *x = DeviceEnum{} 122 if protoimpl.UnsafeEnabled { 123 mi := &file_google_ads_googleads_v3_enums_device_proto_msgTypes[0] 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 ms.StoreMessageInfo(mi) 126 } 127} 128 129func (x *DeviceEnum) String() string { 130 return protoimpl.X.MessageStringOf(x) 131} 132 133func (*DeviceEnum) ProtoMessage() {} 134 135func (x *DeviceEnum) ProtoReflect() protoreflect.Message { 136 mi := &file_google_ads_googleads_v3_enums_device_proto_msgTypes[0] 137 if protoimpl.UnsafeEnabled && x != nil { 138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 139 if ms.LoadMessageInfo() == nil { 140 ms.StoreMessageInfo(mi) 141 } 142 return ms 143 } 144 return mi.MessageOf(x) 145} 146 147// Deprecated: Use DeviceEnum.ProtoReflect.Descriptor instead. 148func (*DeviceEnum) Descriptor() ([]byte, []int) { 149 return file_google_ads_googleads_v3_enums_device_proto_rawDescGZIP(), []int{0} 150} 151 152var File_google_ads_googleads_v3_enums_device_proto protoreflect.FileDescriptor 153 154var file_google_ads_googleads_v3_enums_device_proto_rawDesc = []byte{ 155 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 156 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2f, 157 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 158 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 159 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 160 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 161 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x0a, 0x44, 0x65, 0x76, 162 0x69, 0x63, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x68, 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69, 0x63, 163 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 164 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 165 0x0a, 0x0a, 0x06, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x54, 166 0x41, 0x42, 0x4c, 0x45, 0x54, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x53, 0x4b, 0x54, 167 0x4f, 0x50, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, 168 0x44, 0x5f, 0x54, 0x56, 0x10, 0x06, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 169 0x05, 0x42, 0xe0, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 170 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 171 0x33, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x42, 0x0b, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 172 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 173 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 174 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 175 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x65, 176 0x6e, 0x75, 0x6d, 0x73, 0x3b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 177 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 178 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 179 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 180 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x33, 0x5c, 0x45, 0x6e, 0x75, 0x6d, 0x73, 181 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 0x3a, 182 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x33, 0x3a, 0x3a, 0x45, 183 0x6e, 0x75, 0x6d, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 184} 185 186var ( 187 file_google_ads_googleads_v3_enums_device_proto_rawDescOnce sync.Once 188 file_google_ads_googleads_v3_enums_device_proto_rawDescData = file_google_ads_googleads_v3_enums_device_proto_rawDesc 189) 190 191func file_google_ads_googleads_v3_enums_device_proto_rawDescGZIP() []byte { 192 file_google_ads_googleads_v3_enums_device_proto_rawDescOnce.Do(func() { 193 file_google_ads_googleads_v3_enums_device_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v3_enums_device_proto_rawDescData) 194 }) 195 return file_google_ads_googleads_v3_enums_device_proto_rawDescData 196} 197 198var file_google_ads_googleads_v3_enums_device_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 199var file_google_ads_googleads_v3_enums_device_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 200var file_google_ads_googleads_v3_enums_device_proto_goTypes = []interface{}{ 201 (DeviceEnum_Device)(0), // 0: google.ads.googleads.v3.enums.DeviceEnum.Device 202 (*DeviceEnum)(nil), // 1: google.ads.googleads.v3.enums.DeviceEnum 203} 204var file_google_ads_googleads_v3_enums_device_proto_depIdxs = []int32{ 205 0, // [0:0] is the sub-list for method output_type 206 0, // [0:0] is the sub-list for method input_type 207 0, // [0:0] is the sub-list for extension type_name 208 0, // [0:0] is the sub-list for extension extendee 209 0, // [0:0] is the sub-list for field type_name 210} 211 212func init() { file_google_ads_googleads_v3_enums_device_proto_init() } 213func file_google_ads_googleads_v3_enums_device_proto_init() { 214 if File_google_ads_googleads_v3_enums_device_proto != nil { 215 return 216 } 217 if !protoimpl.UnsafeEnabled { 218 file_google_ads_googleads_v3_enums_device_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 219 switch v := v.(*DeviceEnum); i { 220 case 0: 221 return &v.state 222 case 1: 223 return &v.sizeCache 224 case 2: 225 return &v.unknownFields 226 default: 227 return nil 228 } 229 } 230 } 231 type x struct{} 232 out := protoimpl.TypeBuilder{ 233 File: protoimpl.DescBuilder{ 234 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 235 RawDescriptor: file_google_ads_googleads_v3_enums_device_proto_rawDesc, 236 NumEnums: 1, 237 NumMessages: 1, 238 NumExtensions: 0, 239 NumServices: 0, 240 }, 241 GoTypes: file_google_ads_googleads_v3_enums_device_proto_goTypes, 242 DependencyIndexes: file_google_ads_googleads_v3_enums_device_proto_depIdxs, 243 EnumInfos: file_google_ads_googleads_v3_enums_device_proto_enumTypes, 244 MessageInfos: file_google_ads_googleads_v3_enums_device_proto_msgTypes, 245 }.Build() 246 File_google_ads_googleads_v3_enums_device_proto = out.File 247 file_google_ads_googleads_v3_enums_device_proto_rawDesc = nil 248 file_google_ads_googleads_v3_enums_device_proto_goTypes = nil 249 file_google_ads_googleads_v3_enums_device_proto_depIdxs = nil 250} 251