| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/enums/device.proto |
| |
| package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" |
| |
| import proto "github.com/golang/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| import _ "google.golang.org/genproto/googleapis/api/annotations" |
| |
| // 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 |
| // Other device types. |
| DeviceEnum_OTHER DeviceEnum_Device = 5 |
| ) |
| |
| var DeviceEnum_Device_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "MOBILE", |
| 3: "TABLET", |
| 4: "DESKTOP", |
| 5: "OTHER", |
| } |
| var DeviceEnum_Device_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "MOBILE": 2, |
| "TABLET": 3, |
| "DESKTOP": 4, |
| "OTHER": 5, |
| } |
| |
| func (x DeviceEnum_Device) String() string { |
| return proto.EnumName(DeviceEnum_Device_name, int32(x)) |
| } |
| func (DeviceEnum_Device) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_device_af26abde288b5cfb, []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_af26abde288b5cfb, []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.v1.enums.DeviceEnum") |
| proto.RegisterEnum("google.ads.googleads.v1.enums.DeviceEnum_Device", DeviceEnum_Device_name, DeviceEnum_Device_value) |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/enums/device.proto", fileDescriptor_device_af26abde288b5cfb) |
| } |
| |
| var fileDescriptor_device_af26abde288b5cfb = []byte{ |
| // 305 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x31, 0x4e, 0xf3, 0x30, |
| 0x1c, 0xc5, 0xbf, 0xa6, 0x5f,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