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.
 
 
 

121 lines
5.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/enums/product_condition.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. // Enum describing the condition of a product offer.
  17. type ProductConditionEnum_ProductCondition int32
  18. const (
  19. // Not specified.
  20. ProductConditionEnum_UNSPECIFIED ProductConditionEnum_ProductCondition = 0
  21. // Used for return value only. Represents value unknown in this version.
  22. ProductConditionEnum_UNKNOWN ProductConditionEnum_ProductCondition = 1
  23. // The product condition is new.
  24. ProductConditionEnum_NEW ProductConditionEnum_ProductCondition = 3
  25. // The product condition is refurbished.
  26. ProductConditionEnum_REFURBISHED ProductConditionEnum_ProductCondition = 4
  27. // The product condition is used.
  28. ProductConditionEnum_USED ProductConditionEnum_ProductCondition = 5
  29. )
  30. var ProductConditionEnum_ProductCondition_name = map[int32]string{
  31. 0: "UNSPECIFIED",
  32. 1: "UNKNOWN",
  33. 3: "NEW",
  34. 4: "REFURBISHED",
  35. 5: "USED",
  36. }
  37. var ProductConditionEnum_ProductCondition_value = map[string]int32{
  38. "UNSPECIFIED": 0,
  39. "UNKNOWN": 1,
  40. "NEW": 3,
  41. "REFURBISHED": 4,
  42. "USED": 5,
  43. }
  44. func (x ProductConditionEnum_ProductCondition) String() string {
  45. return proto.EnumName(ProductConditionEnum_ProductCondition_name, int32(x))
  46. }
  47. func (ProductConditionEnum_ProductCondition) EnumDescriptor() ([]byte, []int) {
  48. return fileDescriptor_product_condition_71f2dc839a35bc85, []int{0, 0}
  49. }
  50. // Condition of a product offer.
  51. type ProductConditionEnum struct {
  52. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  53. XXX_unrecognized []byte `json:"-"`
  54. XXX_sizecache int32 `json:"-"`
  55. }
  56. func (m *ProductConditionEnum) Reset() { *m = ProductConditionEnum{} }
  57. func (m *ProductConditionEnum) String() string { return proto.CompactTextString(m) }
  58. func (*ProductConditionEnum) ProtoMessage() {}
  59. func (*ProductConditionEnum) Descriptor() ([]byte, []int) {
  60. return fileDescriptor_product_condition_71f2dc839a35bc85, []int{0}
  61. }
  62. func (m *ProductConditionEnum) XXX_Unmarshal(b []byte) error {
  63. return xxx_messageInfo_ProductConditionEnum.Unmarshal(m, b)
  64. }
  65. func (m *ProductConditionEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  66. return xxx_messageInfo_ProductConditionEnum.Marshal(b, m, deterministic)
  67. }
  68. func (dst *ProductConditionEnum) XXX_Merge(src proto.Message) {
  69. xxx_messageInfo_ProductConditionEnum.Merge(dst, src)
  70. }
  71. func (m *ProductConditionEnum) XXX_Size() int {
  72. return xxx_messageInfo_ProductConditionEnum.Size(m)
  73. }
  74. func (m *ProductConditionEnum) XXX_DiscardUnknown() {
  75. xxx_messageInfo_ProductConditionEnum.DiscardUnknown(m)
  76. }
  77. var xxx_messageInfo_ProductConditionEnum proto.InternalMessageInfo
  78. func init() {
  79. proto.RegisterType((*ProductConditionEnum)(nil), "google.ads.googleads.v0.enums.ProductConditionEnum")
  80. proto.RegisterEnum("google.ads.googleads.v0.enums.ProductConditionEnum_ProductCondition", ProductConditionEnum_ProductCondition_name, ProductConditionEnum_ProductCondition_value)
  81. }
  82. func init() {
  83. proto.RegisterFile("google/ads/googleads/v0/enums/product_condition.proto", fileDescriptor_product_condition_71f2dc839a35bc85)
  84. }
  85. var fileDescriptor_product_condition_71f2dc839a35bc85 = []byte{
  86. // 294 bytes of a gzipped FileDescriptorProto
  87. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x6a, 0x83, 0x30,
  88. 0x18, 0xc5, 0xd7, 0x3f, 0x5b, 0x47, 0x7a, 0xb1, 0x20, 0xdb, 0x65, 0x2f, 0xda, 0x07, 0x88, 0xc2,
  89. 0xd8, 0x4d, 0x76, 0xa5, 0x6d, 0xda, 0xc9, 0xc0, 0x49, 0x9d, 0x16, 0x86, 0x30, 0x9c, 0x91, 0x20,
  90. 0x68, 0x22, 0x46, 0xfb, 0x40, 0xbb, 0xdc, 0xa3, 0xec, 0x51, 0xfa, 0x14, 0xc3, 0x64, 0x7a, 0x51,
  91. 0xd8, 0x6e, 0xe4, 0xf0, 0x9d, 0xf3, 0x33, 0xdf, 0xf9, 0xc0, 0x03, 0x13, 0x82, 0x15, 0x99, 0x99,
  92. 0x50, 0x69, 0x6a, 0xd9, 0xa9, 0xa3, 0x65, 0x66, 0xbc, 0x2d, 0xa5, 0x59, 0xd5, 0x82, 0xb6, 0x69,
  93. 0xf3, 0x9e, 0x0a, 0x4e, 0xf3, 0x26, 0x17, 0x1c, 0x55, 0xb5, 0x68, 0x84, 0xb1, 0xd0, 0x59, 0x94,
  94. 0x50, 0x89, 0x06, 0x0c, 0x1d, 0x2d, 0xa4, 0xb0, 0x55, 0x01, 0x6e, 0x7d, 0x4d, 0xae, 0x7b, 0x90,
  95. 0xf0, 0xb6, 0x5c, 0xbd, 0x02, 0x78, 0x3e, 0x37, 0x6e, 0xc0, 0x3c, 0xf4, 0x02, 0x9f, 0xac, 0xdd,
  96. 0xad, 0x4b, 0x36, 0xf0, 0xc2, 0x98, 0x83, 0x59, 0xe8, 0x3d, 0x7b, 0x2f, 0x07, 0x0f, 0x8e, 0x8c,
  97. 0x19, 0x98, 0x78, 0xe4, 0x00, 0x27, 0x5d, 0x6c, 0x4f, 0xb6, 0xe1, 0xde, 0x71, 0x83, 0x27, 0xb2,
  98. 0x81, 0x53, 0xe3, 0x1a, 0x4c, 0xc3, 0x80, 0x6c, 0xe0, 0xa5, 0x73, 0x1a, 0x81, 0x65, 0x2a, 0x4a,
  99. 0xf4, 0xef, 0x4e, 0xce, 0xdd, 0xf9, 0xcb, 0x7e, 0xd7, 0xc4, 0x1f, 0xbd, 0x39, 0xbf, 0x1c, 0x13,
  100. 0x45, 0xc2, 0x19, 0x12, 0x35, 0x33, 0x59, 0xc6, 0x55, 0xcf, 0xfe, 0x24, 0x55, 0x2e, 0xff, 0xb8,
  101. 0xd0, 0xa3, 0xfa, 0x7e, 0x8e, 0x27, 0x3b, 0xdb, 0xfe, 0x1a, 0x2f, 0x76, 0xfa, 0x57, 0x36, 0x95,
  102. 0x48, 0xcb, 0x4e, 0x45, 0x16, 0xea, 0xda, 0xcb, 0xef, 0xde, 0x8f, 0x6d, 0x2a, 0xe3, 0xc1, 0x8f,
  103. 0x23, 0x2b, 0x56, 0xfe, 0x69, 0xbc, 0xd4, 0x43, 0x8c, 0x6d, 0x2a, 0x31, 0x1e, 0x12, 0x18, 0x47,
  104. 0x16, 0xc6, 0x2a, 0xf3, 0x71, 0xa5, 0x16, 0xbb, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xb0, 0xed,
  105. 0x72, 0x33, 0xb9, 0x01, 0x00, 0x00,
  106. }