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.22.0
18// 	protoc        v3.11.2
19// source: google/ads/googleads/v1/services/shared_criterion_service.proto
20
21package services
22
23import (
24	context "context"
25	reflect "reflect"
26	sync "sync"
27
28	proto "github.com/golang/protobuf/proto"
29	resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources"
30	_ "google.golang.org/genproto/googleapis/api/annotations"
31	status "google.golang.org/genproto/googleapis/rpc/status"
32	grpc "google.golang.org/grpc"
33	codes "google.golang.org/grpc/codes"
34	status1 "google.golang.org/grpc/status"
35	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
36	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
37)
38
39const (
40	// Verify that this generated code is sufficiently up-to-date.
41	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42	// Verify that runtime/protoimpl is sufficiently up-to-date.
43	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44)
45
46// This is a compile-time assertion that a sufficiently up-to-date version
47// of the legacy proto package is being used.
48const _ = proto.ProtoPackageIsVersion4
49
50// Request message for [SharedCriterionService.GetSharedCriterion][google.ads.googleads.v1.services.SharedCriterionService.GetSharedCriterion].
51type GetSharedCriterionRequest struct {
52	state         protoimpl.MessageState
53	sizeCache     protoimpl.SizeCache
54	unknownFields protoimpl.UnknownFields
55
56	// Required. The resource name of the shared criterion to fetch.
57	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
58}
59
60func (x *GetSharedCriterionRequest) Reset() {
61	*x = GetSharedCriterionRequest{}
62	if protoimpl.UnsafeEnabled {
63		mi := &file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[0]
64		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65		ms.StoreMessageInfo(mi)
66	}
67}
68
69func (x *GetSharedCriterionRequest) String() string {
70	return protoimpl.X.MessageStringOf(x)
71}
72
73func (*GetSharedCriterionRequest) ProtoMessage() {}
74
75func (x *GetSharedCriterionRequest) ProtoReflect() protoreflect.Message {
76	mi := &file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[0]
77	if protoimpl.UnsafeEnabled && x != nil {
78		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79		if ms.LoadMessageInfo() == nil {
80			ms.StoreMessageInfo(mi)
81		}
82		return ms
83	}
84	return mi.MessageOf(x)
85}
86
87// Deprecated: Use GetSharedCriterionRequest.ProtoReflect.Descriptor instead.
88func (*GetSharedCriterionRequest) Descriptor() ([]byte, []int) {
89	return file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescGZIP(), []int{0}
90}
91
92func (x *GetSharedCriterionRequest) GetResourceName() string {
93	if x != nil {
94		return x.ResourceName
95	}
96	return ""
97}
98
99// Request message for [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v1.services.SharedCriterionService.MutateSharedCriteria].
100type MutateSharedCriteriaRequest struct {
101	state         protoimpl.MessageState
102	sizeCache     protoimpl.SizeCache
103	unknownFields protoimpl.UnknownFields
104
105	// Required. The ID of the customer whose shared criteria are being modified.
106	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
107	// Required. The list of operations to perform on individual shared criteria.
108	Operations []*SharedCriterionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
109	// If true, successful operations will be carried out and invalid
110	// operations will return errors. If false, all operations will be carried
111	// out in one transaction if and only if they are all valid.
112	// Default is false.
113	PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"`
114	// If true, the request is validated but not executed. Only errors are
115	// returned, not results.
116	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
117}
118
119func (x *MutateSharedCriteriaRequest) Reset() {
120	*x = MutateSharedCriteriaRequest{}
121	if protoimpl.UnsafeEnabled {
122		mi := &file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[1]
123		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
124		ms.StoreMessageInfo(mi)
125	}
126}
127
128func (x *MutateSharedCriteriaRequest) String() string {
129	return protoimpl.X.MessageStringOf(x)
130}
131
132func (*MutateSharedCriteriaRequest) ProtoMessage() {}
133
134func (x *MutateSharedCriteriaRequest) ProtoReflect() protoreflect.Message {
135	mi := &file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[1]
136	if protoimpl.UnsafeEnabled && x != nil {
137		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
138		if ms.LoadMessageInfo() == nil {
139			ms.StoreMessageInfo(mi)
140		}
141		return ms
142	}
143	return mi.MessageOf(x)
144}
145
146// Deprecated: Use MutateSharedCriteriaRequest.ProtoReflect.Descriptor instead.
147func (*MutateSharedCriteriaRequest) Descriptor() ([]byte, []int) {
148	return file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescGZIP(), []int{1}
149}
150
151func (x *MutateSharedCriteriaRequest) GetCustomerId() string {
152	if x != nil {
153		return x.CustomerId
154	}
155	return ""
156}
157
158func (x *MutateSharedCriteriaRequest) GetOperations() []*SharedCriterionOperation {
159	if x != nil {
160		return x.Operations
161	}
162	return nil
163}
164
165func (x *MutateSharedCriteriaRequest) GetPartialFailure() bool {
166	if x != nil {
167		return x.PartialFailure
168	}
169	return false
170}
171
172func (x *MutateSharedCriteriaRequest) GetValidateOnly() bool {
173	if x != nil {
174		return x.ValidateOnly
175	}
176	return false
177}
178
179// A single operation (create, remove) on an shared criterion.
180type SharedCriterionOperation struct {
181	state         protoimpl.MessageState
182	sizeCache     protoimpl.SizeCache
183	unknownFields protoimpl.UnknownFields
184
185	// The mutate operation.
186	//
187	// Types that are assignable to Operation:
188	//	*SharedCriterionOperation_Create
189	//	*SharedCriterionOperation_Remove
190	Operation isSharedCriterionOperation_Operation `protobuf_oneof:"operation"`
191}
192
193func (x *SharedCriterionOperation) Reset() {
194	*x = SharedCriterionOperation{}
195	if protoimpl.UnsafeEnabled {
196		mi := &file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[2]
197		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
198		ms.StoreMessageInfo(mi)
199	}
200}
201
202func (x *SharedCriterionOperation) String() string {
203	return protoimpl.X.MessageStringOf(x)
204}
205
206func (*SharedCriterionOperation) ProtoMessage() {}
207
208func (x *SharedCriterionOperation) ProtoReflect() protoreflect.Message {
209	mi := &file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[2]
210	if protoimpl.UnsafeEnabled && x != nil {
211		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
212		if ms.LoadMessageInfo() == nil {
213			ms.StoreMessageInfo(mi)
214		}
215		return ms
216	}
217	return mi.MessageOf(x)
218}
219
220// Deprecated: Use SharedCriterionOperation.ProtoReflect.Descriptor instead.
221func (*SharedCriterionOperation) Descriptor() ([]byte, []int) {
222	return file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescGZIP(), []int{2}
223}
224
225func (m *SharedCriterionOperation) GetOperation() isSharedCriterionOperation_Operation {
226	if m != nil {
227		return m.Operation
228	}
229	return nil
230}
231
232func (x *SharedCriterionOperation) GetCreate() *resources.SharedCriterion {
233	if x, ok := x.GetOperation().(*SharedCriterionOperation_Create); ok {
234		return x.Create
235	}
236	return nil
237}
238
239func (x *SharedCriterionOperation) GetRemove() string {
240	if x, ok := x.GetOperation().(*SharedCriterionOperation_Remove); ok {
241		return x.Remove
242	}
243	return ""
244}
245
246type isSharedCriterionOperation_Operation interface {
247	isSharedCriterionOperation_Operation()
248}
249
250type SharedCriterionOperation_Create struct {
251	// Create operation: No resource name is expected for the new shared
252	// criterion.
253	Create *resources.SharedCriterion `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
254}
255
256type SharedCriterionOperation_Remove struct {
257	// Remove operation: A resource name for the removed shared criterion is
258	// expected, in this format:
259	//
260	// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}`
261	Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"`
262}
263
264func (*SharedCriterionOperation_Create) isSharedCriterionOperation_Operation() {}
265
266func (*SharedCriterionOperation_Remove) isSharedCriterionOperation_Operation() {}
267
268// Response message for a shared criterion mutate.
269type MutateSharedCriteriaResponse struct {
270	state         protoimpl.MessageState
271	sizeCache     protoimpl.SizeCache
272	unknownFields protoimpl.UnknownFields
273
274	// Errors that pertain to operation failures in the partial failure mode.
275	// Returned only when partial_failure = true and all errors occur inside the
276	// operations. If any errors occur outside the operations (e.g. auth errors),
277	// we return an RPC level error.
278	PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"`
279	// All results for the mutate.
280	Results []*MutateSharedCriterionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
281}
282
283func (x *MutateSharedCriteriaResponse) Reset() {
284	*x = MutateSharedCriteriaResponse{}
285	if protoimpl.UnsafeEnabled {
286		mi := &file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[3]
287		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
288		ms.StoreMessageInfo(mi)
289	}
290}
291
292func (x *MutateSharedCriteriaResponse) String() string {
293	return protoimpl.X.MessageStringOf(x)
294}
295
296func (*MutateSharedCriteriaResponse) ProtoMessage() {}
297
298func (x *MutateSharedCriteriaResponse) ProtoReflect() protoreflect.Message {
299	mi := &file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[3]
300	if protoimpl.UnsafeEnabled && x != nil {
301		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
302		if ms.LoadMessageInfo() == nil {
303			ms.StoreMessageInfo(mi)
304		}
305		return ms
306	}
307	return mi.MessageOf(x)
308}
309
310// Deprecated: Use MutateSharedCriteriaResponse.ProtoReflect.Descriptor instead.
311func (*MutateSharedCriteriaResponse) Descriptor() ([]byte, []int) {
312	return file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescGZIP(), []int{3}
313}
314
315func (x *MutateSharedCriteriaResponse) GetPartialFailureError() *status.Status {
316	if x != nil {
317		return x.PartialFailureError
318	}
319	return nil
320}
321
322func (x *MutateSharedCriteriaResponse) GetResults() []*MutateSharedCriterionResult {
323	if x != nil {
324		return x.Results
325	}
326	return nil
327}
328
329// The result for the shared criterion mutate.
330type MutateSharedCriterionResult struct {
331	state         protoimpl.MessageState
332	sizeCache     protoimpl.SizeCache
333	unknownFields protoimpl.UnknownFields
334
335	// Returned for successful operations.
336	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
337}
338
339func (x *MutateSharedCriterionResult) Reset() {
340	*x = MutateSharedCriterionResult{}
341	if protoimpl.UnsafeEnabled {
342		mi := &file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[4]
343		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
344		ms.StoreMessageInfo(mi)
345	}
346}
347
348func (x *MutateSharedCriterionResult) String() string {
349	return protoimpl.X.MessageStringOf(x)
350}
351
352func (*MutateSharedCriterionResult) ProtoMessage() {}
353
354func (x *MutateSharedCriterionResult) ProtoReflect() protoreflect.Message {
355	mi := &file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[4]
356	if protoimpl.UnsafeEnabled && x != nil {
357		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
358		if ms.LoadMessageInfo() == nil {
359			ms.StoreMessageInfo(mi)
360		}
361		return ms
362	}
363	return mi.MessageOf(x)
364}
365
366// Deprecated: Use MutateSharedCriterionResult.ProtoReflect.Descriptor instead.
367func (*MutateSharedCriterionResult) Descriptor() ([]byte, []int) {
368	return file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescGZIP(), []int{4}
369}
370
371func (x *MutateSharedCriterionResult) GetResourceName() string {
372	if x != nil {
373		return x.ResourceName
374	}
375	return ""
376}
377
378var File_google_ads_googleads_v1_services_shared_criterion_service_proto protoreflect.FileDescriptor
379
380var file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDesc = []byte{
381	0x0a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f,
382	0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
383	0x65, 0x73, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72,
384	0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
385	0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f,
386	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
387	0x63, 0x65, 0x73, 0x1a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f,
388	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73,
389	0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x63, 0x72,
390	0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67,
391	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
392	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f,
393	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70,
394	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
395	0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
396	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
397	0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
398	0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61,
399	0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x19, 0x47, 0x65, 0x74,
400	0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x52,
401	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
402	0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0,
403	0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73,
404	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
405	0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x52,
406	0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xf2, 0x01,
407	0x0a, 0x1b, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72,
408	0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a,
409	0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
410	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
411	0x72, 0x49, 0x64, 0x12, 0x5f, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
412	0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
413	0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76,
414	0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65,
415	0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
416	0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
417	0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f,
418	0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70,
419	0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x23, 0x0a,
420	0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04,
421	0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e,
422	0x6c, 0x79, 0x22, 0x8f, 0x01, 0x0a, 0x18, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69,
423	0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
424	0x4c, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
425	0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
426	0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
427	0x63, 0x65, 0x73, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72,
428	0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a,
429	0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
430	0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61,
431	0x74, 0x69, 0x6f, 0x6e, 0x22, 0xbf, 0x01, 0x0a, 0x1c, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x53,
432	0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x52, 0x65, 0x73,
433	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x15, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
434	0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03,
435	0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70,
436	0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61,
437	0x6c, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x57, 0x0a,
438	0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d,
439	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
440	0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
441	0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72,
442	0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72,
443	0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x42, 0x0a, 0x1b, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65,
444	0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x52,
445	0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
446	0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65,
447	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0xf8, 0x03, 0x0a, 0x16, 0x53,
448	0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x53, 0x65,
449	0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xcf, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61,
450	0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x2e, 0x67,
451	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
452	0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e,
453	0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69,
454	0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
455	0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73,
456	0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x68,
457	0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x82,
458	0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f,
459	0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
460	0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74,
461	0x65, 0x72, 0x69, 0x61, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
462	0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xee, 0x01, 0x0a, 0x14, 0x4d, 0x75, 0x74, 0x61,
463	0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61,
464	0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f,
465	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
466	0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64,
467	0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
468	0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
469	0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
470	0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43,
471	0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
472	0x57, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x22, 0x33, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73,
473	0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
474	0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69,
475	0x74, 0x65, 0x72, 0x69, 0x61, 0x3a, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0xda,
476	0x41, 0x16, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x2c, 0x6f, 0x70,
477	0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1b, 0xca, 0x41, 0x18, 0x67, 0x6f, 0x6f,
478	0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
479	0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 0x82, 0x02, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
480	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
481	0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x1b,
482	0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x53,
483	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67,
484	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
485	0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
486	0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
487	0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3b, 0x73,
488	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x20,
489	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
490	0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73,
491	0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f,
492	0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69,
493	0x63, 0x65, 0x73, 0xea, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64,
494	0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x31,
495	0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
496	0x6f, 0x33,
497}
498
499var (
500	file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescOnce sync.Once
501	file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescData = file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDesc
502)
503
504func file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescGZIP() []byte {
505	file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescOnce.Do(func() {
506		file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescData)
507	})
508	return file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDescData
509}
510
511var file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
512var file_google_ads_googleads_v1_services_shared_criterion_service_proto_goTypes = []interface{}{
513	(*GetSharedCriterionRequest)(nil),    // 0: google.ads.googleads.v1.services.GetSharedCriterionRequest
514	(*MutateSharedCriteriaRequest)(nil),  // 1: google.ads.googleads.v1.services.MutateSharedCriteriaRequest
515	(*SharedCriterionOperation)(nil),     // 2: google.ads.googleads.v1.services.SharedCriterionOperation
516	(*MutateSharedCriteriaResponse)(nil), // 3: google.ads.googleads.v1.services.MutateSharedCriteriaResponse
517	(*MutateSharedCriterionResult)(nil),  // 4: google.ads.googleads.v1.services.MutateSharedCriterionResult
518	(*resources.SharedCriterion)(nil),    // 5: google.ads.googleads.v1.resources.SharedCriterion
519	(*status.Status)(nil),                // 6: google.rpc.Status
520}
521var file_google_ads_googleads_v1_services_shared_criterion_service_proto_depIdxs = []int32{
522	2, // 0: google.ads.googleads.v1.services.MutateSharedCriteriaRequest.operations:type_name -> google.ads.googleads.v1.services.SharedCriterionOperation
523	5, // 1: google.ads.googleads.v1.services.SharedCriterionOperation.create:type_name -> google.ads.googleads.v1.resources.SharedCriterion
524	6, // 2: google.ads.googleads.v1.services.MutateSharedCriteriaResponse.partial_failure_error:type_name -> google.rpc.Status
525	4, // 3: google.ads.googleads.v1.services.MutateSharedCriteriaResponse.results:type_name -> google.ads.googleads.v1.services.MutateSharedCriterionResult
526	0, // 4: google.ads.googleads.v1.services.SharedCriterionService.GetSharedCriterion:input_type -> google.ads.googleads.v1.services.GetSharedCriterionRequest
527	1, // 5: google.ads.googleads.v1.services.SharedCriterionService.MutateSharedCriteria:input_type -> google.ads.googleads.v1.services.MutateSharedCriteriaRequest
528	5, // 6: google.ads.googleads.v1.services.SharedCriterionService.GetSharedCriterion:output_type -> google.ads.googleads.v1.resources.SharedCriterion
529	3, // 7: google.ads.googleads.v1.services.SharedCriterionService.MutateSharedCriteria:output_type -> google.ads.googleads.v1.services.MutateSharedCriteriaResponse
530	6, // [6:8] is the sub-list for method output_type
531	4, // [4:6] is the sub-list for method input_type
532	4, // [4:4] is the sub-list for extension type_name
533	4, // [4:4] is the sub-list for extension extendee
534	0, // [0:4] is the sub-list for field type_name
535}
536
537func init() { file_google_ads_googleads_v1_services_shared_criterion_service_proto_init() }
538func file_google_ads_googleads_v1_services_shared_criterion_service_proto_init() {
539	if File_google_ads_googleads_v1_services_shared_criterion_service_proto != nil {
540		return
541	}
542	if !protoimpl.UnsafeEnabled {
543		file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
544			switch v := v.(*GetSharedCriterionRequest); i {
545			case 0:
546				return &v.state
547			case 1:
548				return &v.sizeCache
549			case 2:
550				return &v.unknownFields
551			default:
552				return nil
553			}
554		}
555		file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
556			switch v := v.(*MutateSharedCriteriaRequest); i {
557			case 0:
558				return &v.state
559			case 1:
560				return &v.sizeCache
561			case 2:
562				return &v.unknownFields
563			default:
564				return nil
565			}
566		}
567		file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
568			switch v := v.(*SharedCriterionOperation); i {
569			case 0:
570				return &v.state
571			case 1:
572				return &v.sizeCache
573			case 2:
574				return &v.unknownFields
575			default:
576				return nil
577			}
578		}
579		file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
580			switch v := v.(*MutateSharedCriteriaResponse); i {
581			case 0:
582				return &v.state
583			case 1:
584				return &v.sizeCache
585			case 2:
586				return &v.unknownFields
587			default:
588				return nil
589			}
590		}
591		file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
592			switch v := v.(*MutateSharedCriterionResult); i {
593			case 0:
594				return &v.state
595			case 1:
596				return &v.sizeCache
597			case 2:
598				return &v.unknownFields
599			default:
600				return nil
601			}
602		}
603	}
604	file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes[2].OneofWrappers = []interface{}{
605		(*SharedCriterionOperation_Create)(nil),
606		(*SharedCriterionOperation_Remove)(nil),
607	}
608	type x struct{}
609	out := protoimpl.TypeBuilder{
610		File: protoimpl.DescBuilder{
611			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
612			RawDescriptor: file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDesc,
613			NumEnums:      0,
614			NumMessages:   5,
615			NumExtensions: 0,
616			NumServices:   1,
617		},
618		GoTypes:           file_google_ads_googleads_v1_services_shared_criterion_service_proto_goTypes,
619		DependencyIndexes: file_google_ads_googleads_v1_services_shared_criterion_service_proto_depIdxs,
620		MessageInfos:      file_google_ads_googleads_v1_services_shared_criterion_service_proto_msgTypes,
621	}.Build()
622	File_google_ads_googleads_v1_services_shared_criterion_service_proto = out.File
623	file_google_ads_googleads_v1_services_shared_criterion_service_proto_rawDesc = nil
624	file_google_ads_googleads_v1_services_shared_criterion_service_proto_goTypes = nil
625	file_google_ads_googleads_v1_services_shared_criterion_service_proto_depIdxs = nil
626}
627
628// Reference imports to suppress errors if they are not otherwise used.
629var _ context.Context
630var _ grpc.ClientConnInterface
631
632// This is a compile-time assertion to ensure that this generated file
633// is compatible with the grpc package it is being compiled against.
634const _ = grpc.SupportPackageIsVersion6
635
636// SharedCriterionServiceClient is the client API for SharedCriterionService service.
637//
638// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
639type SharedCriterionServiceClient interface {
640	// Returns the requested shared criterion in full detail.
641	GetSharedCriterion(ctx context.Context, in *GetSharedCriterionRequest, opts ...grpc.CallOption) (*resources.SharedCriterion, error)
642	// Creates or removes shared criteria. Operation statuses are returned.
643	MutateSharedCriteria(ctx context.Context, in *MutateSharedCriteriaRequest, opts ...grpc.CallOption) (*MutateSharedCriteriaResponse, error)
644}
645
646type sharedCriterionServiceClient struct {
647	cc grpc.ClientConnInterface
648}
649
650func NewSharedCriterionServiceClient(cc grpc.ClientConnInterface) SharedCriterionServiceClient {
651	return &sharedCriterionServiceClient{cc}
652}
653
654func (c *sharedCriterionServiceClient) GetSharedCriterion(ctx context.Context, in *GetSharedCriterionRequest, opts ...grpc.CallOption) (*resources.SharedCriterion, error) {
655	out := new(resources.SharedCriterion)
656	err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.SharedCriterionService/GetSharedCriterion", in, out, opts...)
657	if err != nil {
658		return nil, err
659	}
660	return out, nil
661}
662
663func (c *sharedCriterionServiceClient) MutateSharedCriteria(ctx context.Context, in *MutateSharedCriteriaRequest, opts ...grpc.CallOption) (*MutateSharedCriteriaResponse, error) {
664	out := new(MutateSharedCriteriaResponse)
665	err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.SharedCriterionService/MutateSharedCriteria", in, out, opts...)
666	if err != nil {
667		return nil, err
668	}
669	return out, nil
670}
671
672// SharedCriterionServiceServer is the server API for SharedCriterionService service.
673type SharedCriterionServiceServer interface {
674	// Returns the requested shared criterion in full detail.
675	GetSharedCriterion(context.Context, *GetSharedCriterionRequest) (*resources.SharedCriterion, error)
676	// Creates or removes shared criteria. Operation statuses are returned.
677	MutateSharedCriteria(context.Context, *MutateSharedCriteriaRequest) (*MutateSharedCriteriaResponse, error)
678}
679
680// UnimplementedSharedCriterionServiceServer can be embedded to have forward compatible implementations.
681type UnimplementedSharedCriterionServiceServer struct {
682}
683
684func (*UnimplementedSharedCriterionServiceServer) GetSharedCriterion(context.Context, *GetSharedCriterionRequest) (*resources.SharedCriterion, error) {
685	return nil, status1.Errorf(codes.Unimplemented, "method GetSharedCriterion not implemented")
686}
687func (*UnimplementedSharedCriterionServiceServer) MutateSharedCriteria(context.Context, *MutateSharedCriteriaRequest) (*MutateSharedCriteriaResponse, error) {
688	return nil, status1.Errorf(codes.Unimplemented, "method MutateSharedCriteria not implemented")
689}
690
691func RegisterSharedCriterionServiceServer(s *grpc.Server, srv SharedCriterionServiceServer) {
692	s.RegisterService(&_SharedCriterionService_serviceDesc, srv)
693}
694
695func _SharedCriterionService_GetSharedCriterion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
696	in := new(GetSharedCriterionRequest)
697	if err := dec(in); err != nil {
698		return nil, err
699	}
700	if interceptor == nil {
701		return srv.(SharedCriterionServiceServer).GetSharedCriterion(ctx, in)
702	}
703	info := &grpc.UnaryServerInfo{
704		Server:     srv,
705		FullMethod: "/google.ads.googleads.v1.services.SharedCriterionService/GetSharedCriterion",
706	}
707	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
708		return srv.(SharedCriterionServiceServer).GetSharedCriterion(ctx, req.(*GetSharedCriterionRequest))
709	}
710	return interceptor(ctx, in, info, handler)
711}
712
713func _SharedCriterionService_MutateSharedCriteria_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
714	in := new(MutateSharedCriteriaRequest)
715	if err := dec(in); err != nil {
716		return nil, err
717	}
718	if interceptor == nil {
719		return srv.(SharedCriterionServiceServer).MutateSharedCriteria(ctx, in)
720	}
721	info := &grpc.UnaryServerInfo{
722		Server:     srv,
723		FullMethod: "/google.ads.googleads.v1.services.SharedCriterionService/MutateSharedCriteria",
724	}
725	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
726		return srv.(SharedCriterionServiceServer).MutateSharedCriteria(ctx, req.(*MutateSharedCriteriaRequest))
727	}
728	return interceptor(ctx, in, info, handler)
729}
730
731var _SharedCriterionService_serviceDesc = grpc.ServiceDesc{
732	ServiceName: "google.ads.googleads.v1.services.SharedCriterionService",
733	HandlerType: (*SharedCriterionServiceServer)(nil),
734	Methods: []grpc.MethodDesc{
735		{
736			MethodName: "GetSharedCriterion",
737			Handler:    _SharedCriterionService_GetSharedCriterion_Handler,
738		},
739		{
740			MethodName: "MutateSharedCriteria",
741			Handler:    _SharedCriterionService_MutateSharedCriteria_Handler,
742		},
743	},
744	Streams:  []grpc.StreamDesc{},
745	Metadata: "google/ads/googleads/v1/services/shared_criterion_service.proto",
746}
747