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.
 
 
 

137 lines
6.7 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/enums/price_extension_price_unit.proto
  3. package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // Price extension price unit.
  18. type PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit int32
  19. const (
  20. // Not specified.
  21. PriceExtensionPriceUnitEnum_UNSPECIFIED PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 0
  22. // Used for return value only. Represents value unknown in this version.
  23. PriceExtensionPriceUnitEnum_UNKNOWN PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 1
  24. // Per hour.
  25. PriceExtensionPriceUnitEnum_PER_HOUR PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 2
  26. // Per day.
  27. PriceExtensionPriceUnitEnum_PER_DAY PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 3
  28. // Per week.
  29. PriceExtensionPriceUnitEnum_PER_WEEK PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 4
  30. // Per month.
  31. PriceExtensionPriceUnitEnum_PER_MONTH PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 5
  32. // Per year.
  33. PriceExtensionPriceUnitEnum_PER_YEAR PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 6
  34. // Per night.
  35. PriceExtensionPriceUnitEnum_PER_NIGHT PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 7
  36. )
  37. var PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_name = map[int32]string{
  38. 0: "UNSPECIFIED",
  39. 1: "UNKNOWN",
  40. 2: "PER_HOUR",
  41. 3: "PER_DAY",
  42. 4: "PER_WEEK",
  43. 5: "PER_MONTH",
  44. 6: "PER_YEAR",
  45. 7: "PER_NIGHT",
  46. }
  47. var PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_value = map[string]int32{
  48. "UNSPECIFIED": 0,
  49. "UNKNOWN": 1,
  50. "PER_HOUR": 2,
  51. "PER_DAY": 3,
  52. "PER_WEEK": 4,
  53. "PER_MONTH": 5,
  54. "PER_YEAR": 6,
  55. "PER_NIGHT": 7,
  56. }
  57. func (x PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit) String() string {
  58. return proto.EnumName(PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_name, int32(x))
  59. }
  60. func (PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit) EnumDescriptor() ([]byte, []int) {
  61. return fileDescriptor_price_extension_price_unit_41e4507c4d9a5930, []int{0, 0}
  62. }
  63. // Container for enum describing price extension price unit.
  64. type PriceExtensionPriceUnitEnum struct {
  65. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  66. XXX_unrecognized []byte `json:"-"`
  67. XXX_sizecache int32 `json:"-"`
  68. }
  69. func (m *PriceExtensionPriceUnitEnum) Reset() { *m = PriceExtensionPriceUnitEnum{} }
  70. func (m *PriceExtensionPriceUnitEnum) String() string { return proto.CompactTextString(m) }
  71. func (*PriceExtensionPriceUnitEnum) ProtoMessage() {}
  72. func (*PriceExtensionPriceUnitEnum) Descriptor() ([]byte, []int) {
  73. return fileDescriptor_price_extension_price_unit_41e4507c4d9a5930, []int{0}
  74. }
  75. func (m *PriceExtensionPriceUnitEnum) XXX_Unmarshal(b []byte) error {
  76. return xxx_messageInfo_PriceExtensionPriceUnitEnum.Unmarshal(m, b)
  77. }
  78. func (m *PriceExtensionPriceUnitEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  79. return xxx_messageInfo_PriceExtensionPriceUnitEnum.Marshal(b, m, deterministic)
  80. }
  81. func (dst *PriceExtensionPriceUnitEnum) XXX_Merge(src proto.Message) {
  82. xxx_messageInfo_PriceExtensionPriceUnitEnum.Merge(dst, src)
  83. }
  84. func (m *PriceExtensionPriceUnitEnum) XXX_Size() int {
  85. return xxx_messageInfo_PriceExtensionPriceUnitEnum.Size(m)
  86. }
  87. func (m *PriceExtensionPriceUnitEnum) XXX_DiscardUnknown() {
  88. xxx_messageInfo_PriceExtensionPriceUnitEnum.DiscardUnknown(m)
  89. }
  90. var xxx_messageInfo_PriceExtensionPriceUnitEnum proto.InternalMessageInfo
  91. func init() {
  92. proto.RegisterType((*PriceExtensionPriceUnitEnum)(nil), "google.ads.googleads.v1.enums.PriceExtensionPriceUnitEnum")
  93. proto.RegisterEnum("google.ads.googleads.v1.enums.PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit", PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_name, PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_value)
  94. }
  95. func init() {
  96. proto.RegisterFile("google/ads/googleads/v1/enums/price_extension_price_unit.proto", fileDescriptor_price_extension_price_unit_41e4507c4d9a5930)
  97. }
  98. var fileDescriptor_price_extension_price_unit_41e4507c4d9a5930 = []byte{
  99. // 350 bytes of a gzipped FileDescriptorProto
  100. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xd1, 0x4e, 0xfa, 0x30,
  101. 0x14, 0xc6, 0xff, 0x1b, 0x7f, 0x41, 0x8b, 0xc6, 0x66, 0x37, 0x26, 0x0a, 0x17, 0xf0, 0x00, 0x5d,
  102. 0x16, 0xef, 0x6a, 0x62, 0x32, 0xa4, 0x02, 0x21, 0x8e, 0x05, 0x19, 0x04, 0xb3, 0x84, 0x4c, 0xb6,
  103. 0x2c, 0x4d, 0xa0, 0x5d, 0xe8, 0x20, 0x3e, 0x84, 0x4f, 0xe1, 0xa5, 0xf1, 0x49, 0x7c, 0x14, 0xef,
  104. 0x7c, 0x03, 0xd3, 0xd6, 0x72, 0x87, 0x37, 0xcb, 0xf7, 0xed, 0xd7, 0xef, 0xb4, 0xe7, 0x1c, 0x70,
  105. 0x9b, 0x73, 0x9e, 0xaf, 0x32, 0x37, 0x49, 0x85, 0xab, 0xa5, 0x54, 0x3b, 0xcf, 0xcd, 0xd8, 0x76,
  106. 0x2d, 0xdc, 0x62, 0x43, 0x97, 0xd9, 0x22, 0x7b, 0x29, 0x33, 0x26, 0x28, 0x67, 0x0b, 0xed, 0xb7,
  107. 0x8c, 0x96, 0xa8, 0xd8, 0xf0, 0x92, 0x3b, 0x4d, 0x1d, 0x42, 0x49, 0x2a, 0xd0, 0x3e, 0x8f, 0x76,
  108. 0x1e, 0x52, 0xf9, 0xcb, 0x86, 0x29, 0x5f, 0x50, 0x37, 0x61, 0x8c, 0x97, 0x49, 0x49, 0x39, 0x13,
  109. 0x3a, 0xdc, 0xfe, 0xb0, 0xc0, 0x55, 0x28, 0x2b, 0x12, 0x73, 0x81, 0x72, 0x11, 0xa3, 0x25, 0x61,
  110. 0xdb, 0x75, 0xfb, 0xd5, 0x02, 0x17, 0x07, 0xb8, 0x73, 0x0e, 0xea, 0x51, 0xf0, 0x18, 0x92, 0xbb,
  111. 0xc1, 0xfd, 0x80, 0x74, 0xe1, 0x3f, 0xa7, 0x0e, 0x6a, 0x51, 0x30, 0x0c, 0x46, 0xb3, 0x00, 0x5a,
  112. 0xce, 0x29, 0x38, 0x0e, 0xc9, 0x78, 0xd1, 0x1f, 0x45, 0x63, 0x68, 0x4b, 0x24, 0x5d, 0xd7, 0x9f,
  113. 0xc3, 0x8a, 0x41, 0x33, 0x42, 0x86, 0xf0, 0xbf, 0x73, 0x06, 0x4e, 0xa4, 0x7b, 0x18, 0x05, 0x93,
  114. 0x3e, 0x3c, 0x32, 0x70, 0x4e, 0xfc, 0x31, 0xac, 0x1a, 0x18, 0x0c, 0x7a, 0xfd, 0x09, 0xac, 0x75,
  115. 0xbe, 0x2d, 0xd0, 0x5a, 0xf2, 0x35, 0xfa, 0xb3, 0xe5, 0x4e, 0xe3, 0xc0, 0x8b, 0x43, 0xd9, 0x72,
  116. 0x68, 0x3d, 0x75, 0x7e, 0xe3, 0x39, 0x5f, 0x25, 0x2c, 0x47, 0x7c, 0x93, 0xbb, 0x79, 0xc6, 0xd4,
  117. 0x40, 0xcc, 0x06, 0x0a, 0x2a, 0x0e, 0x2c, 0xe4, 0x46, 0x7d, 0xdf, 0xec, 0x4a, 0xcf, 0xf7, 0xdf,
  118. 0xed, 0x66, 0x4f, 0x97, 0xf2, 0x53, 0x81, 0xb4, 0x94, 0x6a, 0xea, 0x21, 0x39, 0x3d, 0xf1, 0x69,
  119. 0x78, 0xec, 0xa7, 0x22, 0xde, 0xf3, 0x78, 0xea, 0xc5, 0x8a, 0x7f, 0xd9, 0x2d, 0xfd, 0x13, 0x63,
  120. 0x3f, 0x15, 0x18, 0xef, 0x4f, 0x60, 0x3c, 0xf5, 0x30, 0x56, 0x67, 0x9e, 0xab, 0xea, 0x61, 0xd7,
  121. 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x32, 0x6a, 0x8d, 0xfb, 0x28, 0x02, 0x00, 0x00,
  122. }