您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

102 行
4.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/common/feed_common.proto
  3. package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  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. // Represents a price in a particular currency.
  18. type Price struct {
  19. // Three-character ISO 4217 currency code.
  20. CurrencyCode *wrappers.StringValue `protobuf:"bytes,1,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
  21. // Amount in micros. One million is equivalent to one unit.
  22. AmountMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=amount_micros,json=amountMicros,proto3" json:"amount_micros,omitempty"`
  23. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  24. XXX_unrecognized []byte `json:"-"`
  25. XXX_sizecache int32 `json:"-"`
  26. }
  27. func (m *Price) Reset() { *m = Price{} }
  28. func (m *Price) String() string { return proto.CompactTextString(m) }
  29. func (*Price) ProtoMessage() {}
  30. func (*Price) Descriptor() ([]byte, []int) {
  31. return fileDescriptor_feed_common_119e82781814ee02, []int{0}
  32. }
  33. func (m *Price) XXX_Unmarshal(b []byte) error {
  34. return xxx_messageInfo_Price.Unmarshal(m, b)
  35. }
  36. func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  37. return xxx_messageInfo_Price.Marshal(b, m, deterministic)
  38. }
  39. func (dst *Price) XXX_Merge(src proto.Message) {
  40. xxx_messageInfo_Price.Merge(dst, src)
  41. }
  42. func (m *Price) XXX_Size() int {
  43. return xxx_messageInfo_Price.Size(m)
  44. }
  45. func (m *Price) XXX_DiscardUnknown() {
  46. xxx_messageInfo_Price.DiscardUnknown(m)
  47. }
  48. var xxx_messageInfo_Price proto.InternalMessageInfo
  49. func (m *Price) GetCurrencyCode() *wrappers.StringValue {
  50. if m != nil {
  51. return m.CurrencyCode
  52. }
  53. return nil
  54. }
  55. func (m *Price) GetAmountMicros() *wrappers.Int64Value {
  56. if m != nil {
  57. return m.AmountMicros
  58. }
  59. return nil
  60. }
  61. func init() {
  62. proto.RegisterType((*Price)(nil), "google.ads.googleads.v0.common.Price")
  63. }
  64. func init() {
  65. proto.RegisterFile("google/ads/googleads/v0/common/feed_common.proto", fileDescriptor_feed_common_119e82781814ee02)
  66. }
  67. var fileDescriptor_feed_common_119e82781814ee02 = []byte{
  68. // 311 bytes of a gzipped FileDescriptorProto
  69. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc3, 0x40,
  70. 0x14, 0x86, 0x49, 0x44, 0x17, 0xd1, 0x22, 0x74, 0x55, 0x54, 0x8a, 0x74, 0xe5, 0x6a, 0x26, 0xa8,
  71. 0xb8, 0x18, 0x37, 0xa6, 0x15, 0x8b, 0x0b, 0xa1, 0x28, 0x64, 0x21, 0x81, 0x92, 0xce, 0xbc, 0x0e,
  72. 0x81, 0x66, 0x5e, 0x98, 0x49, 0x2a, 0xde, 0xc1, 0x53, 0xb8, 0xf4, 0x28, 0x1e, 0xa5, 0xa7, 0x90,
  73. 0xce, 0x4b, 0xba, 0x11, 0x5d, 0xe5, 0x27, 0xf3, 0xfd, 0xdf, 0x9b, 0x79, 0x51, 0xac, 0x11, 0xf5,
  74. 0x0a, 0x78, 0xae, 0x1c, 0xa7, 0xb8, 0x4d, 0xeb, 0x98, 0x4b, 0x2c, 0x4b, 0x34, 0x7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0x97, 0xed,
  86. 0x80, 0x2c, 0x8d, 0x33, 0x02, 0x36, 0xe1, 0x88, 0xfe, 0x0a, 0x91, 0x28, 0x27, 0xc4, 0x0e, 0x11,
  87. 0x22, 0x8d, 0x85, 0x20, 0x68, 0x71, 0xe0, 0x6f, 0x77, 0xf5, 0x13, 0x00, 0x00, 0xff, 0xff, 0x31,
  88. 0x8d, 0xf9, 0x39, 0xf6, 0x01, 0x00, 0x00,
  89. }