1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/common/feed_common.proto
3
4package common
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	wrappers "github.com/golang/protobuf/ptypes/wrappers"
12	_ "google.golang.org/genproto/googleapis/api/annotations"
13)
14
15// Reference imports to suppress errors if they are not otherwise used.
16var _ = proto.Marshal
17var _ = fmt.Errorf
18var _ = math.Inf
19
20// This is a compile-time assertion to ensure that this generated file
21// is compatible with the proto package it is being compiled against.
22// A compilation error at this line likely means your copy of the
23// proto package needs to be updated.
24const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
25
26// Represents a price in a particular currency.
27type Money struct {
28	// Three-character ISO 4217 currency code.
29	CurrencyCode *wrappers.StringValue `protobuf:"bytes,1,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
30	// Amount in micros. One million is equivalent to one unit.
31	AmountMicros         *wrappers.Int64Value `protobuf:"bytes,2,opt,name=amount_micros,json=amountMicros,proto3" json:"amount_micros,omitempty"`
32	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
33	XXX_unrecognized     []byte               `json:"-"`
34	XXX_sizecache        int32                `json:"-"`
35}
36
37func (m *Money) Reset()         { *m = Money{} }
38func (m *Money) String() string { return proto.CompactTextString(m) }
39func (*Money) ProtoMessage()    {}
40func (*Money) Descriptor() ([]byte, []int) {
41	return fileDescriptor_3d17791b1b55b077, []int{0}
42}
43
44func (m *Money) XXX_Unmarshal(b []byte) error {
45	return xxx_messageInfo_Money.Unmarshal(m, b)
46}
47func (m *Money) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
48	return xxx_messageInfo_Money.Marshal(b, m, deterministic)
49}
50func (m *Money) XXX_Merge(src proto.Message) {
51	xxx_messageInfo_Money.Merge(m, src)
52}
53func (m *Money) XXX_Size() int {
54	return xxx_messageInfo_Money.Size(m)
55}
56func (m *Money) XXX_DiscardUnknown() {
57	xxx_messageInfo_Money.DiscardUnknown(m)
58}
59
60var xxx_messageInfo_Money proto.InternalMessageInfo
61
62func (m *Money) GetCurrencyCode() *wrappers.StringValue {
63	if m != nil {
64		return m.CurrencyCode
65	}
66	return nil
67}
68
69func (m *Money) GetAmountMicros() *wrappers.Int64Value {
70	if m != nil {
71		return m.AmountMicros
72	}
73	return nil
74}
75
76func init() {
77	proto.RegisterType((*Money)(nil), "google.ads.googleads.v1.common.Money")
78}
79
80func init() {
81	proto.RegisterFile("google/ads/googleads/v1/common/feed_common.proto", fileDescriptor_3d17791b1b55b077)
82}
83
84var fileDescriptor_3d17791b1b55b077 = []byte{
85	// 328 bytes of a gzipped FileDescriptorProto
86	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xeb, 0x40,
87	0x14, 0x86, 0x49, 0x2e, 0xd7, 0x45, 0xb4, 0x08, 0x5d, 0x95, 0x5a, 0x8a, 0x74, 0xe5, 0x6a, 0xc6,
88	0xa8, 0xb8, 0x18, 0x37, 0xa6, 0x15, 0x8b, 0x8b, 0x42, 0x51, 0xc8, 0x42, 0x02, 0x65, 0x9a, 0x39,
89	0x1d, 0x02, 0xcd, 0x9c, 0x30, 0x93, 0x54, 0xfa, 0x0e, 0x3e, 0x85, 0x4b, 0x1f, 0xc5, 0x47, 0xe9,
90	0x53, 0x48, 0x73, 0x92, 0x6e, 0x44, 0x57, 0xf9, 0x93, 0xfc, 0xdf, 0x77, 0x66, 0x4e, 0x70, 0xa9,
91	0x11, 0xf5, 0x1a, 0xb8, 0x54, 0x8e, 0x53, 0xdc, 0xa7, 0x4d, 0xc8, 0x53, 0xcc, 0x73, 0x34, 0x7c,
92	0x05, 0xa0, 0x16, 0x94, 0x59, 0x61, 0xb1, 0xc4, 0xee, 0x90, 0x6a, 0x4c, 0x2a, 0xc7, 0x0e, 0x04,
93	0xdb, 0x84, 0x8c, 0x5a, 0xfd, 0x41, 0x6b, 0x2c, 0x32, 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, 0x87, 0x8a,
105	0x10, 0x71, 0x28, 0x04, 0x95, 0x96, 0x47, 0xf5, 0xe9, 0xae, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff,
106	0xbc, 0x66, 0x16, 0x39, 0x14, 0x02, 0x00, 0x00,
107}
108