1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/common/keyword_plan_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	enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
27// Historical metrics.
28type KeywordPlanHistoricalMetrics struct {
29	// Average monthly searches for the past 12 months.
30	AvgMonthlySearches *wrappers.Int64Value `protobuf:"bytes,1,opt,name=avg_monthly_searches,json=avgMonthlySearches,proto3" json:"avg_monthly_searches,omitempty"`
31	// The competition level for the query.
32	Competition          enums.KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel `protobuf:"varint,2,opt,name=competition,proto3,enum=google.ads.googleads.v1.enums.KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel" json:"competition,omitempty"`
33	XXX_NoUnkeyedLiteral struct{}                                                          `json:"-"`
34	XXX_unrecognized     []byte                                                            `json:"-"`
35	XXX_sizecache        int32                                                             `json:"-"`
36}
37
38func (m *KeywordPlanHistoricalMetrics) Reset()         { *m = KeywordPlanHistoricalMetrics{} }
39func (m *KeywordPlanHistoricalMetrics) String() string { return proto.CompactTextString(m) }
40func (*KeywordPlanHistoricalMetrics) ProtoMessage()    {}
41func (*KeywordPlanHistoricalMetrics) Descriptor() ([]byte, []int) {
42	return fileDescriptor_9c4702e792c06e4e, []int{0}
43}
44
45func (m *KeywordPlanHistoricalMetrics) XXX_Unmarshal(b []byte) error {
46	return xxx_messageInfo_KeywordPlanHistoricalMetrics.Unmarshal(m, b)
47}
48func (m *KeywordPlanHistoricalMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
49	return xxx_messageInfo_KeywordPlanHistoricalMetrics.Marshal(b, m, deterministic)
50}
51func (m *KeywordPlanHistoricalMetrics) XXX_Merge(src proto.Message) {
52	xxx_messageInfo_KeywordPlanHistoricalMetrics.Merge(m, src)
53}
54func (m *KeywordPlanHistoricalMetrics) XXX_Size() int {
55	return xxx_messageInfo_KeywordPlanHistoricalMetrics.Size(m)
56}
57func (m *KeywordPlanHistoricalMetrics) XXX_DiscardUnknown() {
58	xxx_messageInfo_KeywordPlanHistoricalMetrics.DiscardUnknown(m)
59}
60
61var xxx_messageInfo_KeywordPlanHistoricalMetrics proto.InternalMessageInfo
62
63func (m *KeywordPlanHistoricalMetrics) GetAvgMonthlySearches() *wrappers.Int64Value {
64	if m != nil {
65		return m.AvgMonthlySearches
66	}
67	return nil
68}
69
70func (m *KeywordPlanHistoricalMetrics) GetCompetition() enums.KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel {
71	if m != nil {
72		return m.Competition
73	}
74	return enums.KeywordPlanCompetitionLevelEnum_UNSPECIFIED
75}
76
77func init() {
78	proto.RegisterType((*KeywordPlanHistoricalMetrics)(nil), "google.ads.googleads.v1.common.KeywordPlanHistoricalMetrics")
79}
80
81func init() {
82	proto.RegisterFile("google/ads/googleads/v1/common/keyword_plan_common.proto", fileDescriptor_9c4702e792c06e4e)
83}
84
85var fileDescriptor_9c4702e792c06e4e = []byte{
86	// 389 bytes of a gzipped FileDescriptorProto
87	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x4f, 0x6b, 0xdb, 0x30,
88	0x18, 0xc6, 0xb1, 0x07, 0x3b, 0x38, 0xb0, 0x83, 0x19, 0x23, 0x64, 0x21, 0x84, 0x9c, 0x72, 0x92,
89	0x70, 0x36, 0xc6, 0xd0, 0x4e, 0xce, 0x5a,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xfc, 0x6c, 0xc6, 0x02,
101	0xad, 0x3f, 0xb8, 0xe4, 0xfa, 0xcf, 0xef, 0x00, 0xb3, 0x82, 0x2c, 0x5d, 0x5c, 0xd2, 0xb9, 0xd1,
102	0xdd, 0x34, 0x32, 0xf7, 0xde, 0xe9, 0x1c, 0x0c, 0xd2, 0xb5, 0x87, 0xd6, 0xf8, 0xdb, 0x64, 0x05,
103	0x8e, 0xed, 0xa9, 0xde, 0x03, 0x38, 0x68, 0xf0, 0xff, 0xbb, 0xf8, 0xba, 0x5a, 0xc2, 0x39, 0x2f,
104	0xb2, 0x53, 0xf9, 0xe5, 0x61, 0xb9, 0xe9, 0xab, 0xe5, 0x8c, 0x62, 0x91, 0x81, 0xd3, 0xd7, 0x32,
105	0xfd, 0xf1, 0xd1, 0x30, 0x13, 0x7c, 0x51, 0x8d, 0xb7, 0xb0, 0x56, 0x67, 0x8d, 0x92, 0x0a, 0x86,
106	0x39, 0x05, 0x42, 0x52, 0x48, 0x09, 0xaf, 0x87, 0x6f, 0x2f, 0x30, 0x4f, 0xd5, 0xb1, 0x97, 0xf2,
107	0xcf, 0x7c, 0x1e, 0xec, 0x2f, 0x33, 0xdf, 0x7f, 0xb4, 0x07, 0x33, 0x63, 0xe6, 0x27, 0x0a, 0x98,
108	0xb0, 0x8a, 0x02, 0x0f, 0x98, 0x9a, 0x4f, 0x2d, 0x10, 0xfa, 0x89, 0x0a, 0xf7, 0x40, 0x18, 0x78,
109	0xa1, 0x01, 0x9e, 0xed, 0x91, 0x39, 0x45, 0xc8, 0x4f, 0x14, 0x42, 0x7b, 0x04, 0xa1, 0xc0, 0x43,
110	0xc8, 0x40, 0xeb, 0xaf, 0x75, 0x77, 0xbf, 0xde, 0x02, 0x00, 0x00, 0xff, 0xff, 0x15, 0x3e, 0x04,
111	0x99, 0xc6, 0x02, 0x00, 0x00,
112}
113