You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

115 lines
5.7 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/enums/geo_targeting_restriction.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. // A restriction used to determine if the request context's
  17. // geo should be matched.
  18. type GeoTargetingRestrictionEnum_GeoTargetingRestriction int32
  19. const (
  20. // Not specified.
  21. GeoTargetingRestrictionEnum_UNSPECIFIED GeoTargetingRestrictionEnum_GeoTargetingRestriction = 0
  22. // Used for return value only. Represents value unknown in this version.
  23. GeoTargetingRestrictionEnum_UNKNOWN GeoTargetingRestrictionEnum_GeoTargetingRestriction = 1
  24. // Indicates that request context should match the physical location of
  25. // the user.
  26. GeoTargetingRestrictionEnum_LOCATION_OF_PRESENCE GeoTargetingRestrictionEnum_GeoTargetingRestriction = 2
  27. )
  28. var GeoTargetingRestrictionEnum_GeoTargetingRestriction_name = map[int32]string{
  29. 0: "UNSPECIFIED",
  30. 1: "UNKNOWN",
  31. 2: "LOCATION_OF_PRESENCE",
  32. }
  33. var GeoTargetingRestrictionEnum_GeoTargetingRestriction_value = map[string]int32{
  34. "UNSPECIFIED": 0,
  35. "UNKNOWN": 1,
  36. "LOCATION_OF_PRESENCE": 2,
  37. }
  38. func (x GeoTargetingRestrictionEnum_GeoTargetingRestriction) String() string {
  39. return proto.EnumName(GeoTargetingRestrictionEnum_GeoTargetingRestriction_name, int32(x))
  40. }
  41. func (GeoTargetingRestrictionEnum_GeoTargetingRestriction) EnumDescriptor() ([]byte, []int) {
  42. return fileDescriptor_geo_targeting_restriction_b4c66b7ceca1a5eb, []int{0, 0}
  43. }
  44. // Message describing feed item geo targeting restriction.
  45. type GeoTargetingRestrictionEnum struct {
  46. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  47. XXX_unrecognized []byte `json:"-"`
  48. XXX_sizecache int32 `json:"-"`
  49. }
  50. func (m *GeoTargetingRestrictionEnum) Reset() { *m = GeoTargetingRestrictionEnum{} }
  51. func (m *GeoTargetingRestrictionEnum) String() string { return proto.CompactTextString(m) }
  52. func (*GeoTargetingRestrictionEnum) ProtoMessage() {}
  53. func (*GeoTargetingRestrictionEnum) Descriptor() ([]byte, []int) {
  54. return fileDescriptor_geo_targeting_restriction_b4c66b7ceca1a5eb, []int{0}
  55. }
  56. func (m *GeoTargetingRestrictionEnum) XXX_Unmarshal(b []byte) error {
  57. return xxx_messageInfo_GeoTargetingRestrictionEnum.Unmarshal(m, b)
  58. }
  59. func (m *GeoTargetingRestrictionEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  60. return xxx_messageInfo_GeoTargetingRestrictionEnum.Marshal(b, m, deterministic)
  61. }
  62. func (dst *GeoTargetingRestrictionEnum) XXX_Merge(src proto.Message) {
  63. xxx_messageInfo_GeoTargetingRestrictionEnum.Merge(dst, src)
  64. }
  65. func (m *GeoTargetingRestrictionEnum) XXX_Size() int {
  66. return xxx_messageInfo_GeoTargetingRestrictionEnum.Size(m)
  67. }
  68. func (m *GeoTargetingRestrictionEnum) XXX_DiscardUnknown() {
  69. xxx_messageInfo_GeoTargetingRestrictionEnum.DiscardUnknown(m)
  70. }
  71. var xxx_messageInfo_GeoTargetingRestrictionEnum proto.InternalMessageInfo
  72. func init() {
  73. proto.RegisterType((*GeoTargetingRestrictionEnum)(nil), "google.ads.googleads.v0.enums.GeoTargetingRestrictionEnum")
  74. proto.RegisterEnum("google.ads.googleads.v0.enums.GeoTargetingRestrictionEnum_GeoTargetingRestriction", GeoTargetingRestrictionEnum_GeoTargetingRestriction_name, GeoTargetingRestrictionEnum_GeoTargetingRestriction_value)
  75. }
  76. func init() {
  77. proto.RegisterFile("google/ads/googleads/v0/enums/geo_targeting_restriction.proto", fileDescriptor_geo_targeting_restriction_b4c66b7ceca1a5eb)
  78. }
  79. var fileDescriptor_geo_targeting_restriction_b4c66b7ceca1a5eb = []byte{
  80. // 298 bytes of a gzipped FileDescriptorProto
  81. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4d, 0xcf, 0xcf, 0x4f,
  82. 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc,
  83. 0xd2, 0xdc, 0x62, 0xfd, 0xf4, 0xd4, 0xfc, 0xf8, 0x92, 0xc4, 0xa2, 0xf4, 0xd4, 0x92, 0xcc, 0xbc,
  84. 0xf4, 0xf8, 0xa2, 0xd4, 0xe2, 0x92, 0xa2, 0xcc, 0xe4, 0x92, 0xcc, 0xfc, 0x3c, 0xbd, 0x82, 0xa2,
  85. 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x1e, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x76, 0xbd, 0x32,
  86. 0x03, 0x3d, 0xb0, 0x76, 0xa5, 0x02, 0x2e, 0x69, 0xf7, 0xd4, 0xfc, 0x10, 0x98, 0x01, 0x41, 0x08,
  87. 0xfd, 0xae, 0x79, 0xa5, 0xb9, 0x4a, 0x81, 0x5c, 0xe2, 0x38, 0xa4, 0x85, 0xf8, 0xb9, 0xb8, 0x43,
  88. 0xfd, 0x82, 0x03, 0x5c, 0x9d, 0x3d, 0xdd, 0x3c, 0x5d, 0x5d, 0x04, 0x18, 0x84, 0xb8, 0xb9, 0xd8,
  89. 0x43, 0xfd, 0xbc, 0xfd, 0xfc, 0xc3, 0xfd, 0x04, 0x18, 0x85, 0x24, 0xb8, 0x44, 0x7c, 0xfc, 0x9d,
  90. 0x1d, 0x43, 0x3c, 0xfd, 0xfd, 0xe2, 0xfd, 0xdd, 0xe2, 0x03, 0x82, 0x5c, 0x83, 0x5d, 0xfd, 0x9c,
  91. 0x5d, 0x05, 0x98, 0x9c, 0x3e, 0x32, 0x72, 0x29, 0x26, 0xe7, 0xe7, 0xea, 0xe1, 0x75, 0x97, 0x93,
  92. 0x0c, 0x0e, 0x6b, 0x03, 0x40, 0x9e, 0x0a, 0x60, 0x8c, 0x72, 0x82, 0x6a, 0x4f, 0xcf, 0xcf, 0x49,
  93. 0xcc, 0x4b, 0xd7, 0xcb, 0x2f, 0x4a, 0xd7, 0x4f, 0x4f, 0xcd, 0x03, 0x7b, 0x19, 0x16, 0x4a, 0x05,
  94. 0x99, 0xc5, 0x38, 0x02, 0xcd, 0x1a, 0x4c, 0x2e, 0x62, 0x62, 0x76, 0x77, 0x74, 0x5c, 0xc5, 0x24,
  95. 0xeb, 0x0e, 0x31, 0xca, 0x31, 0xa5, 0x58, 0x0f, 0xc2, 0x04, 0xb1, 0xc2, 0x0c, 0xf4, 0x40, 0x21,
  96. 0x50, 0x7c, 0x0a, 0x26, 0x1f, 0xe3, 0x98, 0x52, 0x1c, 0x03, 0x97, 0x8f, 0x09, 0x33, 0x88, 0x01,
  97. 0xcb, 0xbf, 0x62, 0x52, 0x84, 0x08, 0x5a, 0x59, 0x39, 0xa6, 0x14, 0x5b, 0x59, 0xc1, 0x55, 0x58,
  98. 0x59, 0x85, 0x19, 0x58, 0x59, 0x81, 0xd5, 0x24, 0xb1, 0x81, 0x1d, 0x66, 0x0c, 0x08, 0x00, 0x00,
  99. 0xff, 0xff, 0x6a, 0x6a, 0xf2, 0x74, 0xcc, 0x01, 0x00, 0x00,
  100. }