| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v0/enums/device.proto |
| |
| package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" |
| |
| import proto "github.com/golang/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| |
| // Enumerates Google Ads devices available for targeting. |
| type DeviceEnum_Device int32 |
| |
| const ( |
| // Not specified. |
| DeviceEnum_UNSPECIFIED DeviceEnum_Device = 0 |
| // The value is unknown in this version. |
| DeviceEnum_UNKNOWN DeviceEnum_Device = 1 |
| // Mobile devices with full browsers. |
| DeviceEnum_MOBILE DeviceEnum_Device = 2 |
| // Tablets with full browsers. |
| DeviceEnum_TABLET DeviceEnum_Device = 3 |
| // Computers. |
| DeviceEnum_DESKTOP DeviceEnum_Device = 4 |
| ) |
| |
| var DeviceEnum_Device_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "MOBILE", |
| 3: "TABLET", |
| 4: "DESKTOP", |
| } |
| var DeviceEnum_Device_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "MOBILE": 2, |
| "TABLET": 3, |
| "DESKTOP": 4, |
| } |
| |
| func (x DeviceEnum_Device) String() string { |
| return proto.EnumName(DeviceEnum_Device_name, int32(x)) |
| } |
| func (DeviceEnum_Device) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_device_6d726a8a981312d4, []int{0, 0} |
| } |
| |
| // Container for enumeration of Google Ads devices available for targeting. |
| type DeviceEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeviceEnum) Reset() { *m = DeviceEnum{} } |
| func (m *DeviceEnum) String() string { return proto.CompactTextString(m) } |
| func (*DeviceEnum) ProtoMessage() {} |
| func (*DeviceEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_device_6d726a8a981312d4, []int{0} |
| } |
| func (m *DeviceEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeviceEnum.Unmarshal(m, b) |
| } |
| func (m *DeviceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeviceEnum.Marshal(b, m, deterministic) |
| } |
| func (dst *DeviceEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeviceEnum.Merge(dst, src) |
| } |
| func (m *DeviceEnum) XXX_Size() int { |
| return xxx_messageInfo_DeviceEnum.Size(m) |
| } |
| func (m *DeviceEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeviceEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeviceEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterType((*DeviceEnum)(nil), "google.ads.googleads.v0.enums.DeviceEnum") |
| proto.RegisterEnum("google.ads.googleads.v0.enums.DeviceEnum_Device", DeviceEnum_Device_name, DeviceEnum_Device_value) |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v0/enums/device.proto", fileDescriptor_device_6d726a8a981312d4) |
| } |
| |
| var fileDescriptor_device_6d726a8a981312d4 = []byte{ |
| // 275 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x8f, 0xc1, 0x4e, 0x83, 0x30, |
| 0x00, 0x86, 0x1d, 0x33, 0x98, 0x94, 0x83, 0x84, 0xfb, 0x0e, 0xdb, 0xd1, 0x43, 0x69, 0xe2, 0xad, |
| 0x9e, 0x5a, 0xa9, 0x0b, 0x61, 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