Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

123 řádky
5.6 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/enums/product_condition.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. // Enum describing the condition of a product offer.
  18. type ProductConditionEnum_ProductCondition int32
  19. const (
  20. // Not specified.
  21. ProductConditionEnum_UNSPECIFIED ProductConditionEnum_ProductCondition = 0
  22. // Used for return value only. Represents value unknown in this version.
  23. ProductConditionEnum_UNKNOWN ProductConditionEnum_ProductCondition = 1
  24. // The product condition is new.
  25. ProductConditionEnum_NEW ProductConditionEnum_ProductCondition = 3
  26. // The product condition is refurbished.
  27. ProductConditionEnum_REFURBISHED ProductConditionEnum_ProductCondition = 4
  28. // The product condition is used.
  29. ProductConditionEnum_USED ProductConditionEnum_ProductCondition = 5
  30. )
  31. var ProductConditionEnum_ProductCondition_name = map[int32]string{
  32. 0: "UNSPECIFIED",
  33. 1: "UNKNOWN",
  34. 3: "NEW",
  35. 4: "REFURBISHED",
  36. 5: "USED",
  37. }
  38. var ProductConditionEnum_ProductCondition_value = map[string]int32{
  39. "UNSPECIFIED": 0,
  40. "UNKNOWN": 1,
  41. "NEW": 3,
  42. "REFURBISHED": 4,
  43. "USED": 5,
  44. }
  45. func (x ProductConditionEnum_ProductCondition) String() string {
  46. return proto.EnumName(ProductConditionEnum_ProductCondition_name, int32(x))
  47. }
  48. func (ProductConditionEnum_ProductCondition) EnumDescriptor() ([]byte, []int) {
  49. return fileDescriptor_product_condition_def7c96e18fa1df6, []int{0, 0}
  50. }
  51. // Condition of a product offer.
  52. type ProductConditionEnum struct {
  53. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  54. XXX_unrecognized []byte `json:"-"`
  55. XXX_sizecache int32 `json:"-"`
  56. }
  57. func (m *ProductConditionEnum) Reset() { *m = ProductConditionEnum{} }
  58. func (m *ProductConditionEnum) String() string { return proto.CompactTextString(m) }
  59. func (*ProductConditionEnum) ProtoMessage() {}
  60. func (*ProductConditionEnum) Descriptor() ([]byte, []int) {
  61. return fileDescriptor_product_condition_def7c96e18fa1df6, []int{0}
  62. }
  63. func (m *ProductConditionEnum) XXX_Unmarshal(b []byte) error {
  64. return xxx_messageInfo_ProductConditionEnum.Unmarshal(m, b)
  65. }
  66. func (m *ProductConditionEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  67. return xxx_messageInfo_ProductConditionEnum.Marshal(b, m, deterministic)
  68. }
  69. func (dst *ProductConditionEnum) XXX_Merge(src proto.Message) {
  70. xxx_messageInfo_ProductConditionEnum.Merge(dst, src)
  71. }
  72. func (m *ProductConditionEnum) XXX_Size() int {
  73. return xxx_messageInfo_ProductConditionEnum.Size(m)
  74. }
  75. func (m *ProductConditionEnum) XXX_DiscardUnknown() {
  76. xxx_messageInfo_ProductConditionEnum.DiscardUnknown(m)
  77. }
  78. var xxx_messageInfo_ProductConditionEnum proto.InternalMessageInfo
  79. func init() {
  80. proto.RegisterType((*ProductConditionEnum)(nil), "google.ads.googleads.v1.enums.ProductConditionEnum")
  81. proto.RegisterEnum("google.ads.googleads.v1.enums.ProductConditionEnum_ProductCondition", ProductConditionEnum_ProductCondition_name, ProductConditionEnum_ProductCondition_value)
  82. }
  83. func init() {
  84. proto.RegisterFile("google/ads/googleads/v1/enums/product_condition.proto", fileDescriptor_product_condition_def7c96e18fa1df6)
  85. }
  86. var fileDescriptor_product_condition_def7c96e18fa1df6 = []byte{
  87. // 308 bytes of a gzipped FileDescriptorProto
  88. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30,
  89. 0x18, 0x77, 0x7f, 0x74, 0x92, 0x1d, 0x0c, 0x45, 0x2f, 0xe2, 0x0e, 0xdb, 0x03, 0x24, 0x14, 0xf1,
  90. 0x12, 0x4f, 0xed, 0x96, 0xcd, 0x21, 0xd4, 0xb2, 0xd9, 0x0d, 0xa4, 0x20, 0x75, 0x19, 0xa1, 0xd0,
  91. 0x26, 0xa5, 0x69, 0xf7, 0x40, 0x1e, 0x7d, 0x14, 0x1f, 0x65, 0x4f, 0x21, 0x49, 0x6c, 0x0f, 0x03,
  92. 0xbd, 0x84, 0x1f, 0xdf, 0xef, 0x4f, 0x7e, 0xdf, 0x07, 0x1e, 0xb8, 0x94, 0x3c, 0xdb, 0xe3, 0x84,
  93. 0x29, 0x6c, 0xa1, 0x46, 0x07, 0x17, 0xef, 0x45, 0x9d, 0x2b, 0x5c, 0x94, 0x92, 0xd5, 0xbb, 0xea,
  94. 0x7d, 0x27, 0x05, 0x4b, 0xab, 0x54, 0x0a, 0x54, 0x94, 0xb2, 0x92, 0xce, 0xc8, 0x6a, 0x51, 0xc2,
  95. 0x14, 0x6a, 0x6d, 0xe8, 0xe0, 0x22, 0x63, 0xbb, 0xbd, 0x6b, 0x52, 0x8b, 0x14, 0x27, 0x42, 0xc8,
  96. 0x2a, 0xd1, 0x5e, 0x65, 0xcd, 0x93, 0x0c, 0x5c, 0x87, 0x36, 0x77, 0xda, 0xc4, 0x52, 0x51, 0xe7,
  97. 0x93, 0x57, 0x00, 0x4f, 0xe7, 0xce, 0x15, 0x18, 0x46, 0xc1, 0x3a, 0xa4, 0xd3, 0xe5, 0x7c, 0x49,
  98. 0x67, 0xf0, 0xcc, 0x19, 0x82, 0x41, 0x14, 0x3c, 0x07, 0x2f, 0xdb, 0x00, 0x76, 0x9c, 0x01, 0xe8,
  99. 0x05, 0x74, 0x0b, 0x7b, 0x5a, 0xb6, 0xa2, 0xf3, 0x68, 0xe5, 0x2f, 0xd7, 0x4f, 0x74, 0x06, 0xfb,
  100. 0xce, 0x25, 0xe8, 0x47, 0x6b, 0x3a, 0x83, 0xe7, 0xfe, 0xb1, 0x03, 0xc6, 0x3b, 0x99, 0xa3, 0x7f,
  101. 0x1b, 0xfb, 0x37, 0xa7, 0x3f, 0x87, 0xba, 0x6a, 0xd8, 0x79, 0xf3, 0x7f, 0x7d, 0x5c, 0x66, 0x89,
  102. 0xe0, 0x48, 0x96, 0x1c, 0xf3, 0xbd, 0x30, 0x8b, 0x34, 0x07, 0x2b, 0x52, 0xf5, 0xc7, 0xfd, 0x1e,
  103. 0xcd, 0xfb, 0xd9, 0xed, 0x2d, 0x3c, 0xef, 0xab, 0x3b, 0x5a, 0xd8, 0x28, 0x8f, 0x29, 0x64, 0xa1,
  104. 0x46, 0x1b, 0x17, 0xe9, 0xed, 0xd5, 0x77, 0xc3, 0xc7, 0x1e, 0x53, 0x71, 0xcb, 0xc7, 0x1b, 0x37,
  105. 0x36, 0xfc, 0xb1, 0x3b, 0xb6, 0x43, 0x42, 0x3c, 0xa6, 0x08, 0x69, 0x15, 0x84, 0x6c, 0x5c, 0x42,
  106. 0x8c, 0xe6, 0xe3, 0xc2, 0x14, 0xbb, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x12, 0x28, 0x89, 0xbc,
  107. 0xd7, 0x01, 0x00, 0x00,
  108. }