1// Copyright 2020 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.25.0
18// 	protoc        v3.13.0
19// source: google/ads/googleads/v3/resources/topic_constant.proto
20
21package resources
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	_ "google.golang.org/genproto/googleapis/api/annotations"
29	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
32)
33
34const (
35	// Verify that this generated code is sufficiently up-to-date.
36	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37	// Verify that runtime/protoimpl is sufficiently up-to-date.
38	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39)
40
41// This is a compile-time assertion that a sufficiently up-to-date version
42// of the legacy proto package is being used.
43const _ = proto.ProtoPackageIsVersion4
44
45// Use topics to target or exclude placements in the Google Display Network
46// based on the category into which the placement falls (for example,
47// "Pets & Animals/Pets/Dogs").
48type TopicConstant struct {
49	state         protoimpl.MessageState
50	sizeCache     protoimpl.SizeCache
51	unknownFields protoimpl.UnknownFields
52
53	// Output only. The resource name of the topic constant.
54	// topic constant resource names have the form:
55	//
56	// `topicConstants/{topic_id}`
57	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
58	// Output only. The ID of the topic.
59	Id *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
60	// Output only. Resource name of parent of the topic constant.
61	TopicConstantParent *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=topic_constant_parent,json=topicConstantParent,proto3" json:"topic_constant_parent,omitempty"`
62	// Output only. The category to target or exclude. Each subsequent element in the array
63	// describes a more specific sub-category. For example,
64	// {"Pets & Animals", "Pets", "Dogs"} represents the
65	// "Pets & Animals/Pets/Dogs" category. List of available topic categories at
66	// https://developers.google.com/adwords/api/docs/appendix/verticals
67	Path []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=path,proto3" json:"path,omitempty"`
68}
69
70func (x *TopicConstant) Reset() {
71	*x = TopicConstant{}
72	if protoimpl.UnsafeEnabled {
73		mi := &file_google_ads_googleads_v3_resources_topic_constant_proto_msgTypes[0]
74		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75		ms.StoreMessageInfo(mi)
76	}
77}
78
79func (x *TopicConstant) String() string {
80	return protoimpl.X.MessageStringOf(x)
81}
82
83func (*TopicConstant) ProtoMessage() {}
84
85func (x *TopicConstant) ProtoReflect() protoreflect.Message {
86	mi := &file_google_ads_googleads_v3_resources_topic_constant_proto_msgTypes[0]
87	if protoimpl.UnsafeEnabled && x != nil {
88		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
89		if ms.LoadMessageInfo() == nil {
90			ms.StoreMessageInfo(mi)
91		}
92		return ms
93	}
94	return mi.MessageOf(x)
95}
96
97// Deprecated: Use TopicConstant.ProtoReflect.Descriptor instead.
98func (*TopicConstant) Descriptor() ([]byte, []int) {
99	return file_google_ads_googleads_v3_resources_topic_constant_proto_rawDescGZIP(), []int{0}
100}
101
102func (x *TopicConstant) GetResourceName() string {
103	if x != nil {
104		return x.ResourceName
105	}
106	return ""
107}
108
109func (x *TopicConstant) GetId() *wrapperspb.Int64Value {
110	if x != nil {
111		return x.Id
112	}
113	return nil
114}
115
116func (x *TopicConstant) GetTopicConstantParent() *wrapperspb.StringValue {
117	if x != nil {
118		return x.TopicConstantParent
119	}
120	return nil
121}
122
123func (x *TopicConstant) GetPath() []*wrapperspb.StringValue {
124	if x != nil {
125		return x.Path
126	}
127	return nil
128}
129
130var File_google_ads_googleads_v3_resources_topic_constant_proto protoreflect.FileDescriptor
131
132var file_google_ads_googleads_v3_resources_topic_constant_proto_rawDesc = []byte{
133	0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f,
134	0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
135	0x63, 0x65, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61,
136	0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
137	0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76,
138	0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
139	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
140	0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
141	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
142	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
143	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72,
144	0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
145	0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
146	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x03, 0x0a, 0x0d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43,
147	0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75,
148	0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e,
149	0xe0, 0x41, 0x03, 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64,
150	0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
151	0x2f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x0c,
152	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x02,
153	0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
154	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34,
155	0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x80,
156	0x01, 0x0a, 0x15, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e,
157	0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
158	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
159	0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x2e, 0xe0, 0x41,
160	0x03, 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e,
161	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54,
162	0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x13, 0x74, 0x6f,
163	0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e,
164	0x74, 0x12, 0x35, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
165	0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
166	0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0,
167	0x41, 0x03, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x3a, 0x4c, 0xea, 0x41, 0x49, 0x0a, 0x26, 0x67,
168	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
169	0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e,
170	0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x1f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x73,
171	0x74, 0x61, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x6e,
172	0x73, 0x74, 0x61, 0x6e, 0x74, 0x7d, 0x42, 0xff, 0x01, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
173	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
174	0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
175	0x42, 0x12, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x50,
176	0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
177	0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
178	0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64,
179	0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72,
180	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
181	0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
182	0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e,
183	0x56, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xca, 0x02, 0x21, 0x47,
184	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
185	0x41, 0x64, 0x73, 0x5c, 0x56, 0x33, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
186	0xea, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 0x3a,
187	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x33, 0x3a, 0x3a, 0x52,
188	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
189}
190
191var (
192	file_google_ads_googleads_v3_resources_topic_constant_proto_rawDescOnce sync.Once
193	file_google_ads_googleads_v3_resources_topic_constant_proto_rawDescData = file_google_ads_googleads_v3_resources_topic_constant_proto_rawDesc
194)
195
196func file_google_ads_googleads_v3_resources_topic_constant_proto_rawDescGZIP() []byte {
197	file_google_ads_googleads_v3_resources_topic_constant_proto_rawDescOnce.Do(func() {
198		file_google_ads_googleads_v3_resources_topic_constant_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v3_resources_topic_constant_proto_rawDescData)
199	})
200	return file_google_ads_googleads_v3_resources_topic_constant_proto_rawDescData
201}
202
203var file_google_ads_googleads_v3_resources_topic_constant_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
204var file_google_ads_googleads_v3_resources_topic_constant_proto_goTypes = []interface{}{
205	(*TopicConstant)(nil),          // 0: google.ads.googleads.v3.resources.TopicConstant
206	(*wrapperspb.Int64Value)(nil),  // 1: google.protobuf.Int64Value
207	(*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue
208}
209var file_google_ads_googleads_v3_resources_topic_constant_proto_depIdxs = []int32{
210	1, // 0: google.ads.googleads.v3.resources.TopicConstant.id:type_name -> google.protobuf.Int64Value
211	2, // 1: google.ads.googleads.v3.resources.TopicConstant.topic_constant_parent:type_name -> google.protobuf.StringValue
212	2, // 2: google.ads.googleads.v3.resources.TopicConstant.path:type_name -> google.protobuf.StringValue
213	3, // [3:3] is the sub-list for method output_type
214	3, // [3:3] is the sub-list for method input_type
215	3, // [3:3] is the sub-list for extension type_name
216	3, // [3:3] is the sub-list for extension extendee
217	0, // [0:3] is the sub-list for field type_name
218}
219
220func init() { file_google_ads_googleads_v3_resources_topic_constant_proto_init() }
221func file_google_ads_googleads_v3_resources_topic_constant_proto_init() {
222	if File_google_ads_googleads_v3_resources_topic_constant_proto != nil {
223		return
224	}
225	if !protoimpl.UnsafeEnabled {
226		file_google_ads_googleads_v3_resources_topic_constant_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
227			switch v := v.(*TopicConstant); i {
228			case 0:
229				return &v.state
230			case 1:
231				return &v.sizeCache
232			case 2:
233				return &v.unknownFields
234			default:
235				return nil
236			}
237		}
238	}
239	type x struct{}
240	out := protoimpl.TypeBuilder{
241		File: protoimpl.DescBuilder{
242			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
243			RawDescriptor: file_google_ads_googleads_v3_resources_topic_constant_proto_rawDesc,
244			NumEnums:      0,
245			NumMessages:   1,
246			NumExtensions: 0,
247			NumServices:   0,
248		},
249		GoTypes:           file_google_ads_googleads_v3_resources_topic_constant_proto_goTypes,
250		DependencyIndexes: file_google_ads_googleads_v3_resources_topic_constant_proto_depIdxs,
251		MessageInfos:      file_google_ads_googleads_v3_resources_topic_constant_proto_msgTypes,
252	}.Build()
253	File_google_ads_googleads_v3_resources_topic_constant_proto = out.File
254	file_google_ads_googleads_v3_resources_topic_constant_proto_rawDesc = nil
255	file_google_ads_googleads_v3_resources_topic_constant_proto_goTypes = nil
256	file_google_ads_googleads_v3_resources_topic_constant_proto_depIdxs = nil
257}
258