|
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/ads/googleads/v1/common/ad_asset.proto
-
- package common // import "google.golang.org/genproto/googleapis/ads/googleads/v1/common"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import wrappers "github.com/golang/protobuf/ptypes/wrappers"
- import enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
- import _ "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.ProtoPackageIsVersion2 // please upgrade the proto package
-
- // A text asset used inside an ad.
- type AdTextAsset struct {
- // Asset text.
- Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
- // The pinned field of the asset. This restricts the asset to only serve
- // within this field. Multiple assets can be pinned to the same field. An
- // asset that is unpinned or pinned to a different field will not serve in a
- // field where some other asset has been pinned.
- PinnedField enums.ServedAssetFieldTypeEnum_ServedAssetFieldType `protobuf:"varint,2,opt,name=pinned_field,json=pinnedField,proto3,enum=google.ads.googleads.v1.enums.ServedAssetFieldTypeEnum_ServedAssetFieldType" json:"pinned_field,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *AdTextAsset) Reset() { *m = AdTextAsset{} }
- func (m *AdTextAsset) String() string { return proto.CompactTextString(m) }
- func (*AdTextAsset) ProtoMessage() {}
- func (*AdTextAsset) Descriptor() ([]byte, []int) {
- return fileDescriptor_ad_asset_979a9f1959b97248, []int{0}
- }
- func (m *AdTextAsset) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AdTextAsset.Unmarshal(m, b)
- }
- func (m *AdTextAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AdTextAsset.Marshal(b, m, deterministic)
- }
- func (dst *AdTextAsset) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AdTextAsset.Merge(dst, src)
- }
- func (m *AdTextAsset) XXX_Size() int {
- return xxx_messageInfo_AdTextAsset.Size(m)
- }
- func (m *AdTextAsset) XXX_DiscardUnknown() {
- xxx_messageInfo_AdTextAsset.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_AdTextAsset proto.InternalMessageInfo
-
- func (m *AdTextAsset) GetText() *wrappers.StringValue {
- if m != nil {
- return m.Text
- }
- return nil
- }
-
- func (m *AdTextAsset) GetPinnedField() enums.ServedAssetFieldTypeEnum_ServedAssetFieldType {
- if m != nil {
- return m.PinnedField
- }
- return enums.ServedAssetFieldTypeEnum_UNSPECIFIED
- }
-
- func init() {
- proto.RegisterType((*AdTextAsset)(nil), "google.ads.googleads.v1.common.AdTextAsset")
- }
-
- func init() {
- proto.RegisterFile("google/ads/googleads/v1/common/ad_asset.proto", fileDescriptor_ad_asset_979a9f1959b97248)
- }
-
- var fileDescriptor_ad_asset_979a9f1959b97248 = []byte{
- // 354 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xbf, 0x6e, 0xea, 0x30,
- 0x14, 0x87, 0x95, 0xdc, 0xab, 0x0e, 0x01, 0x75, 0x60, 0x42, 0x08, 0x21, 0xc4, 0xc4, 0x52, 0xbb,
- 0xa1, 0x9b, 0x99, 0x4c, 0xff, 0xb0, 0x74, 0x40, 0x80, 0x32, 0x54, 0x91, 0x90, 0xc1, 0x87, 0x28,
- 0x52, 0x62, 0x5b, 0xb1, 0x43, 0xe1, 0x75, 0x3a, 0x76, 0xea, 0x73, 0xf4, 0x45, 0x2a, 0xf5, 0x29,
- 0xaa, 0xd8, 0x09, 0x53, 0xe9, 0x94, 0x13, 0x9f, 0x2f, 0x9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