// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/common/tag_snippet.proto

package common

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums"
	_ "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

// The site tag and event snippet pair for a TrackingCodeType.
type TagSnippet struct {
	// The type of the generated tag snippets for tracking conversions.
	Type enums.TrackingCodeTypeEnum_TrackingCodeType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.TrackingCodeTypeEnum_TrackingCodeType" json:"type,omitempty"`
	// The format of the web page where the tracking tag and snippet will be
	// installed, e.g. HTML.
	PageFormat enums.TrackingCodePageFormatEnum_TrackingCodePageFormat `protobuf:"varint,2,opt,name=page_format,json=pageFormat,proto3,enum=google.ads.googleads.v2.enums.TrackingCodePageFormatEnum_TrackingCodePageFormat" json:"page_format,omitempty"`
	// The site tag that adds visitors to your basic remarketing lists and sets
	// new cookies on your domain.
	GlobalSiteTag *wrappers.StringValue `protobuf:"bytes,3,opt,name=global_site_tag,json=globalSiteTag,proto3" json:"global_site_tag,omitempty"`
	// The event snippet that works with the site tag to track actions that
	// should be counted as conversions.
	EventSnippet         *wrappers.StringValue `protobuf:"bytes,4,opt,name=event_snippet,json=eventSnippet,proto3" json:"event_snippet,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *TagSnippet) Reset()         { *m = TagSnippet{} }
func (m *TagSnippet) String() string { return proto.CompactTextString(m) }
func (*TagSnippet) ProtoMessage()    {}
func (*TagSnippet) Descriptor() ([]byte, []int) {
	return fileDescriptor_a8b6c36d65fe7c4f, []int{0}
}

func (m *TagSnippet) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_TagSnippet.Unmarshal(m, b)
}
func (m *TagSnippet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_TagSnippet.Marshal(b, m, deterministic)
}
func (m *TagSnippet) XXX_Merge(src proto.Message) {
	xxx_messageInfo_TagSnippet.Merge(m, src)
}
func (m *TagSnippet) XXX_Size() int {
	return xxx_messageInfo_TagSnippet.Size(m)
}
func (m *TagSnippet) XXX_DiscardUnknown() {
	xxx_messageInfo_TagSnippet.DiscardUnknown(m)
}

var xxx_messageInfo_TagSnippet proto.InternalMessageInfo

func (m *TagSnippet) GetType() enums.TrackingCodeTypeEnum_TrackingCodeType {
	if m != nil {
		return m.Type
	}
	return enums.TrackingCodeTypeEnum_UNSPECIFIED
}

func (m *TagSnippet) GetPageFormat() enums.TrackingCodePageFormatEnum_TrackingCodePageFormat {
	if m != nil {
		return m.PageFormat
	}
	return enums.TrackingCodePageFormatEnum_UNSPECIFIED
}

func (m *TagSnippet) GetGlobalSiteTag() *wrappers.StringValue {
	if m != nil {
		return m.GlobalSiteTag
	}
	return nil
}

func (m *TagSnippet) GetEventSnippet() *wrappers.StringValue {
	if m != nil {
		return m.EventSnippet
	}
	return nil
}

func init() {
	proto.RegisterType((*TagSnippet)(nil), "google.ads.googleads.v2.common.TagSnippet")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v2/common/tag_snippet.proto", fileDescriptor_a8b6c36d65fe7c4f)
}

var fileDescriptor_a8b6c36d65fe7c4f = []byte{
	// 420 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4f, 0x6b, 0xdb, 0x30,
	0x14, 0xc7, 0x6e, 0xd9, 0x41,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