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.
 
 
 

104 lines
4.7 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/common/feed_common.proto
  3. package common // import "google.golang.org/genproto/googleapis/ads/googleads/v1/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. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  18. // Represents a price in a particular currency.
  19. type Money struct {
  20. // Three-character ISO 4217 currency code.
  21. CurrencyCode *wrappers.StringValue `protobuf:"bytes,1,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
  22. // Amount in micros. One million is equivalent to one unit.
  23. AmountMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=amount_micros,json=amountMicros,proto3" json:"amount_micros,omitempty"`
  24. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  25. XXX_unrecognized []byte `json:"-"`
  26. XXX_sizecache int32 `json:"-"`
  27. }
  28. func (m *Money) Reset() { *m = Money{} }
  29. func (m *Money) String() string { return proto.CompactTextString(m) }
  30. func (*Money) ProtoMessage() {}
  31. func (*Money) Descriptor() ([]byte, []int) {
  32. return fileDescriptor_feed_common_e64b3728cd328166, []int{0}
  33. }
  34. func (m *Money) XXX_Unmarshal(b []byte) error {
  35. return xxx_messageInfo_Money.Unmarshal(m, b)
  36. }
  37. func (m *Money) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  38. return xxx_messageInfo_Money.Marshal(b, m, deterministic)
  39. }
  40. func (dst *Money) XXX_Merge(src proto.Message) {
  41. xxx_messageInfo_Money.Merge(dst, src)
  42. }
  43. func (m *Money) XXX_Size() int {
  44. return xxx_messageInfo_Money.Size(m)
  45. }
  46. func (m *Money) XXX_DiscardUnknown() {
  47. xxx_messageInfo_Money.DiscardUnknown(m)
  48. }
  49. var xxx_messageInfo_Money proto.InternalMessageInfo
  50. func (m *Money) GetCurrencyCode() *wrappers.StringValue {
  51. if m != nil {
  52. return m.CurrencyCode
  53. }
  54. return nil
  55. }
  56. func (m *Money) GetAmountMicros() *wrappers.Int64Value {
  57. if m != nil {
  58. return m.AmountMicros
  59. }
  60. return nil
  61. }
  62. func init() {
  63. proto.RegisterType((*Money)(nil), "google.ads.googleads.v1.common.Money")
  64. }
  65. func init() {
  66. proto.RegisterFile("google/ads/googleads/v1/common/feed_common.proto", fileDescriptor_feed_common_e64b3728cd328166)
  67. }
  68. var fileDescriptor_feed_common_e64b3728cd328166 = []byte{
  69. // 328 bytes of a gzipped FileDescriptorProto
  70. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xf3, 0x40,
  71. 0x14, 0x85, 0x49, 0x7e, 0x7e, 0x17, 0xd1, 0x22, 0x74, 0x55, 0x6a, 0x29, 0xd2, 0x95, 0xab, 0x19,
  72. 0xa3, 0xe2, 0x62, 0xdc, 0x98, 0x56, 0x2c, 0x2e, 0x0a, 0x45, 0x21, 0x0b, 0x09, 0x94, 0x69, 0xe6,
  73. 0x76, 0x08, 0x34, 0x73, 0xc3, 0x4c, 0x52, 0xe9, 0x3b, 0xf8, 0x14, 0x2e, 0x7d, 0x14, 0x1f, 0xa5,
  74. 0x4f, 0x21, 0xcd, 0x4d, 0xba, 0x11, 0x5d, 0xcd, 0x61, 0xee, 0x77, 0xce, 0x99, 0xb9, 0xc1, 0xa5,
  75. 0x46, 0xd4, 0x6b, 0xe0, 0x52, 0x39, 0x4e, 0x72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 0xff, 0x6f, 0x1a, 0x45, 0x9f, 0xfe, 0x70, 0x4a,
  87. 0x61, 0x91, 0x72, 0x8c, 0xe4, 0x5e, 0xc5, 0x21, 0xa3, 0xce, 0xaf, 0x16, 0x48, 0x22, 0xe5, 0x92,
  88. 0x03, 0x90, 0xc4, 0x61, 0x42, 0xc0, 0xce, 0x1f, 0xd1, 0xad, 0x10, 0x91, 0x72, 0x42, 0x1c, 0x10,
  89. 0x21, 0xe2, 0x50, 0x08, 0x82, 0x96, 0x47, 0xf5, 0xeb, 0xae, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff,
  90. 0x4e, 0xc6, 0xd0, 0x04, 0x14, 0x02, 0x00, 0x00,
  91. }