Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

120 rader
4.8 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/enums/device.proto
  3. package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // Enumerates Google Ads devices available for targeting.
  17. type DeviceEnum_Device int32
  18. const (
  19. // Not specified.
  20. DeviceEnum_UNSPECIFIED DeviceEnum_Device = 0
  21. // The value is unknown in this version.
  22. DeviceEnum_UNKNOWN DeviceEnum_Device = 1
  23. // Mobile devices with full browsers.
  24. DeviceEnum_MOBILE DeviceEnum_Device = 2
  25. // Tablets with full browsers.
  26. DeviceEnum_TABLET DeviceEnum_Device = 3
  27. // Computers.
  28. DeviceEnum_DESKTOP DeviceEnum_Device = 4
  29. )
  30. var DeviceEnum_Device_name = map[int32]string{
  31. 0: "UNSPECIFIED",
  32. 1: "UNKNOWN",
  33. 2: "MOBILE",
  34. 3: "TABLET",
  35. 4: "DESKTOP",
  36. }
  37. var DeviceEnum_Device_value = map[string]int32{
  38. "UNSPECIFIED": 0,
  39. "UNKNOWN": 1,
  40. "MOBILE": 2,
  41. "TABLET": 3,
  42. "DESKTOP": 4,
  43. }
  44. func (x DeviceEnum_Device) String() string {
  45. return proto.EnumName(DeviceEnum_Device_name, int32(x))
  46. }
  47. func (DeviceEnum_Device) EnumDescriptor() ([]byte, []int) {
  48. return fileDescriptor_device_73d46066d4fbd368, []int{0, 0}
  49. }
  50. // Container for enumeration of Google Ads devices available for targeting.
  51. type DeviceEnum struct {
  52. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  53. XXX_unrecognized []byte `json:"-"`
  54. XXX_sizecache int32 `json:"-"`
  55. }
  56. func (m *DeviceEnum) Reset() { *m = DeviceEnum{} }
  57. func (m *DeviceEnum) String() string { return proto.CompactTextString(m) }
  58. func (*DeviceEnum) ProtoMessage() {}
  59. func (*DeviceEnum) Descriptor() ([]byte, []int) {
  60. return fileDescriptor_device_73d46066d4fbd368, []int{0}
  61. }
  62. func (m *DeviceEnum) XXX_Unmarshal(b []byte) error {
  63. return xxx_messageInfo_DeviceEnum.Unmarshal(m, b)
  64. }
  65. func (m *DeviceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  66. return xxx_messageInfo_DeviceEnum.Marshal(b, m, deterministic)
  67. }
  68. func (dst *DeviceEnum) XXX_Merge(src proto.Message) {
  69. xxx_messageInfo_DeviceEnum.Merge(dst, src)
  70. }
  71. func (m *DeviceEnum) XXX_Size() int {
  72. return xxx_messageInfo_DeviceEnum.Size(m)
  73. }
  74. func (m *DeviceEnum) XXX_DiscardUnknown() {
  75. xxx_messageInfo_DeviceEnum.DiscardUnknown(m)
  76. }
  77. var xxx_messageInfo_DeviceEnum proto.InternalMessageInfo
  78. func init() {
  79. proto.RegisterType((*DeviceEnum)(nil), "google.ads.googleads.v0.enums.DeviceEnum")
  80. proto.RegisterEnum("google.ads.googleads.v0.enums.DeviceEnum_Device", DeviceEnum_Device_name, DeviceEnum_Device_value)
  81. }
  82. func init() {
  83. proto.RegisterFile("google/ads/googleads/v0/enums/device.proto", fileDescriptor_device_73d46066d4fbd368)
  84. }
  85. var fileDescriptor_device_73d46066d4fbd368 = []byte{
  86. // 275 bytes of a gzipped FileDescriptorProto
  87. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x8f, 0xc1, 0x4e, 0x83, 0x30,
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
  99. 0x6d, 0x2f, 0xa1, 0x3a, 0xca, 0x58, 0x8a, 0xde, 0x4e, 0x39, 0x4f, 0x3d, 0xec, 0xf4, 0x1f, 0xcb,
  100. 0xef, 0xec, 0xf7, 0xdd, 0x9b, 0x2e, 0x09, 0xf9, 0xf0, 0x66, 0x4b, 0x77, 0x15, 0xe1, 0x1a, 0x3a,
  101. 0x34, 0x54, 0x23, 0x68, 0xa6, 0xea, 0xcf, 0x73, 0xde, 0x10, 0xae, 0x9b, 0x31, 0x6f, 0x6a, 0xd4,
  102. 0xd8, 0xfc, 0xdb, 0x9b, 0xbb, 0x43, 0x8c, 0x09, 0xd7, 0x18, 0x8f, 0x06, 0xc6, 0x35, 0xc2, 0xd8,
  103. 0x3a, 0xaf, 0xbe, 0x2d, 0x76, 0xfb, 0x13, 0x00, 0x00, 0xff, 0xff, 0xa7, 0xb8, 0xc1, 0xc6, 0x91,
  104. 0x01, 0x00, 0x00,
  105. }