| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/common/feed_common.proto |
| |
| package common |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // Represents a price in a particular currency. |
| type Money struct { |
| // Three-character ISO 4217 currency code. |
| CurrencyCode *wrappers.StringValue `protobuf:"bytes,1,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` |
| // Amount in micros. One million is equivalent to one unit. |
| AmountMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=amount_micros,json=amountMicros,proto3" json:"amount_micros,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Money) Reset() { *m = Money{} } |
| func (m *Money) String() string { return proto.CompactTextString(m) } |
| func (*Money) ProtoMessage() {} |
| func (*Money) Descriptor() ([]byte, []int) { |
| return fileDescriptor_3d17791b1b55b077, []int{0} |
| } |
| |
| func (m *Money) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Money.Unmarshal(m, b) |
| } |
| func (m *Money) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Money.Marshal(b, m, deterministic) |
| } |
| func (m *Money) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Money.Merge(m, src) |
| } |
| func (m *Money) XXX_Size() int { |
| return xxx_messageInfo_Money.Size(m) |
| } |
| func (m *Money) XXX_DiscardUnknown() { |
| xxx_messageInfo_Money.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Money proto.InternalMessageInfo |
| |
| func (m *Money) GetCurrencyCode() *wrappers.StringValue { |
| if m != nil { |
| return m.CurrencyCode |
| } |
| return nil |
| } |
| |
| func (m *Money) GetAmountMicros() *wrappers.Int64Value { |
| if m != nil { |
| return m.AmountMicros |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*Money)(nil), "google.ads.googleads.v1.common.Money") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/common/feed_common.proto", fileDescriptor_3d17791b1b55b077) |
| } |
| |
| var fileDescriptor_3d17791b1b55b077 = []byte{ |
| // 328 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xf3, 0x40, |
| 0x14, 0x85, 0x49, 0x7e, 0x7e, 0x17, 0xd1, 0x22, 0x74, 0x55, 0x6a, 0x29, 0xd2, 0x95, 0xab, 0x19, |
| 0xa3, 0xe2, 0x62, 0xdc, 0x98, 0x56, 0x2c, 0x2e, 0x0a, 0x45, 0x21, 0x0b, 0x09, 0x94, 0x69, 0xe6, |
| 0x76, 0x08, 0x34, 0x73, 0xc3, 0x4c, 0x52, 0xe9, 0x3b, 0xf8, 0x14, 0x2e, 0x7d, 0x14, 0x1f, 0xa5, |
| 0x4f, 0x21, 0xcd, 0x4d, 0xba, 0x11, 0x5d, 0xcd, 0x61, 0xee, 0x77, 0xce, 0x99, 0xb9, 0xc1, 0xa5, |
| 0x46, 0xd4, 0x6b, 0xe0, 0x52, 0x39, 0x4e, 0x72, 0xaf, 0x36, 0x21, 0x4f, 0x31, 0xcf, 0xd1, 0xf0, |
| 0x15, 0x80, 0x5a, 0x90, 0x66, 0x85, 0xc5, 0x12, 0xbb, 0x43, 0xc2, 0x98, 0x54, 0x8e, 0x1d, 0x1c,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, 0xc4, 0x61, 0x42, 0xc0, 0xce, 0x1f, 0xd1, 0xad, 0x10, 0x91, 0x72, 0x42, 0x1c, 0x10, |
| 0x21, 0xe2, 0x50, 0x08, 0x82, 0x96, 0x47, 0xf5, 0xeb, 0xae, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, |
| 0x4e, 0xc6, 0xd0, 0x04, 0x14, 0x02, 0x00, 0x00, |
| } |