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/campaign_criterion_simulation_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 grpc "google.golang.org/grpc" 32 codes "google.golang.org/grpc/codes" 33 status "google.golang.org/grpc/status" 34 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 35 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 36) 37 38const ( 39 // Verify that this generated code is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 41 // Verify that runtime/protoimpl is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 43) 44 45// This is a compile-time assertion that a sufficiently up-to-date version 46// of the legacy proto package is being used. 47const _ = proto.ProtoPackageIsVersion4 48 49// Request message for 50// [CampaignCriterionSimulationService.GetCampaignCriterionSimulation][google.ads.googleads.v1.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation]. 51type GetCampaignCriterionSimulationRequest struct { 52 state protoimpl.MessageState 53 sizeCache protoimpl.SizeCache 54 unknownFields protoimpl.UnknownFields 55 56 // Required. The resource name of the campaign criterion simulation to fetch. 57 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 58} 59 60func (x *GetCampaignCriterionSimulationRequest) Reset() { 61 *x = GetCampaignCriterionSimulationRequest{} 62 if protoimpl.UnsafeEnabled { 63 mi := &file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_msgTypes[0] 64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 65 ms.StoreMessageInfo(mi) 66 } 67} 68 69func (x *GetCampaignCriterionSimulationRequest) String() string { 70 return protoimpl.X.MessageStringOf(x) 71} 72 73func (*GetCampaignCriterionSimulationRequest) ProtoMessage() {} 74 75func (x *GetCampaignCriterionSimulationRequest) ProtoReflect() protoreflect.Message { 76 mi := &file_google_ads_googleads_v1_services_campaign_criterion_simulation_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 GetCampaignCriterionSimulationRequest.ProtoReflect.Descriptor instead. 88func (*GetCampaignCriterionSimulationRequest) Descriptor() ([]byte, []int) { 89 return file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDescGZIP(), []int{0} 90} 91 92func (x *GetCampaignCriterionSimulationRequest) GetResourceName() string { 93 if x != nil { 94 return x.ResourceName 95 } 96 return "" 97} 98 99var File_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto protoreflect.FileDescriptor 100 101var file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDesc = []byte{ 102 0x0a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 103 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 104 0x65, 0x73, 0x2f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x5f, 0x63, 0x72, 0x69, 0x74, 105 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 106 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 107 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 108 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 109 0x1a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 110 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 111 0x63, 0x65, 0x73, 0x2f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x5f, 0x63, 0x72, 0x69, 112 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 113 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 114 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 115 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 116 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 117 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 118 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 119 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 120 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x01, 0x0a, 0x25, 0x47, 121 0x65, 0x74, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 122 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 123 0x75, 0x65, 0x73, 0x74, 0x12, 0x61, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 124 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3c, 0xe0, 0x41, 0x02, 125 0xfa, 0x41, 0x36, 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 126 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 127 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x53, 128 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 129 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0xc5, 0x02, 0x0a, 0x22, 0x43, 0x61, 0x6d, 0x70, 130 0x61, 0x69, 0x67, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x6d, 131 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x81, 132 0x02, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x43, 0x72, 133 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 134 0x6e, 0x12, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 135 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 136 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 137 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 138 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 139 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 140 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x43, 141 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 142 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x56, 0x82, 0xd3, 0xe4, 0x93, 143 0x02, 0x40, 0x12, 0x3e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 144 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 145 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 146 0x72, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 147 0x2a, 0x7d, 0xda, 0x41, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 148 0x6d, 0x65, 0x1a, 0x1b, 0xca, 0x41, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 149 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 150 0x8e, 0x02, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 151 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 152 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x27, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 153 0x67, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x75, 0x6c, 154 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 155 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 156 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 157 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 158 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 159 0x69, 0x63, 0x65, 0x73, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 160 0x47, 0x41, 0x41, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 161 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x65, 162 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 163 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x31, 164 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xea, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 165 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 166 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 167 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 168} 169 170var ( 171 file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDescOnce sync.Once 172 file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDescData = file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDesc 173) 174 175func file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDescGZIP() []byte { 176 file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDescOnce.Do(func() { 177 file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDescData) 178 }) 179 return file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDescData 180} 181 182var file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 183var file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_goTypes = []interface{}{ 184 (*GetCampaignCriterionSimulationRequest)(nil), // 0: google.ads.googleads.v1.services.GetCampaignCriterionSimulationRequest 185 (*resources.CampaignCriterionSimulation)(nil), // 1: google.ads.googleads.v1.resources.CampaignCriterionSimulation 186} 187var file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_depIdxs = []int32{ 188 0, // 0: google.ads.googleads.v1.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation:input_type -> google.ads.googleads.v1.services.GetCampaignCriterionSimulationRequest 189 1, // 1: google.ads.googleads.v1.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation:output_type -> google.ads.googleads.v1.resources.CampaignCriterionSimulation 190 1, // [1:2] is the sub-list for method output_type 191 0, // [0:1] is the sub-list for method input_type 192 0, // [0:0] is the sub-list for extension type_name 193 0, // [0:0] is the sub-list for extension extendee 194 0, // [0:0] is the sub-list for field type_name 195} 196 197func init() { file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_init() } 198func file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_init() { 199 if File_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto != nil { 200 return 201 } 202 if !protoimpl.UnsafeEnabled { 203 file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 204 switch v := v.(*GetCampaignCriterionSimulationRequest); i { 205 case 0: 206 return &v.state 207 case 1: 208 return &v.sizeCache 209 case 2: 210 return &v.unknownFields 211 default: 212 return nil 213 } 214 } 215 } 216 type x struct{} 217 out := protoimpl.TypeBuilder{ 218 File: protoimpl.DescBuilder{ 219 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 220 RawDescriptor: file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDesc, 221 NumEnums: 0, 222 NumMessages: 1, 223 NumExtensions: 0, 224 NumServices: 1, 225 }, 226 GoTypes: file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_goTypes, 227 DependencyIndexes: file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_depIdxs, 228 MessageInfos: file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_msgTypes, 229 }.Build() 230 File_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto = out.File 231 file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_rawDesc = nil 232 file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_goTypes = nil 233 file_google_ads_googleads_v1_services_campaign_criterion_simulation_service_proto_depIdxs = nil 234} 235 236// Reference imports to suppress errors if they are not otherwise used. 237var _ context.Context 238var _ grpc.ClientConnInterface 239 240// This is a compile-time assertion to ensure that this generated file 241// is compatible with the grpc package it is being compiled against. 242const _ = grpc.SupportPackageIsVersion6 243 244// CampaignCriterionSimulationServiceClient is the client API for CampaignCriterionSimulationService service. 245// 246// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 247type CampaignCriterionSimulationServiceClient interface { 248 // Returns the requested campaign criterion simulation in full detail. 249 GetCampaignCriterionSimulation(ctx context.Context, in *GetCampaignCriterionSimulationRequest, opts ...grpc.CallOption) (*resources.CampaignCriterionSimulation, error) 250} 251 252type campaignCriterionSimulationServiceClient struct { 253 cc grpc.ClientConnInterface 254} 255 256func NewCampaignCriterionSimulationServiceClient(cc grpc.ClientConnInterface) CampaignCriterionSimulationServiceClient { 257 return &campaignCriterionSimulationServiceClient{cc} 258} 259 260func (c *campaignCriterionSimulationServiceClient) GetCampaignCriterionSimulation(ctx context.Context, in *GetCampaignCriterionSimulationRequest, opts ...grpc.CallOption) (*resources.CampaignCriterionSimulation, error) { 261 out := new(resources.CampaignCriterionSimulation) 262 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignCriterionSimulationService/GetCampaignCriterionSimulation", in, out, opts...) 263 if err != nil { 264 return nil, err 265 } 266 return out, nil 267} 268 269// CampaignCriterionSimulationServiceServer is the server API for CampaignCriterionSimulationService service. 270type CampaignCriterionSimulationServiceServer interface { 271 // Returns the requested campaign criterion simulation in full detail. 272 GetCampaignCriterionSimulation(context.Context, *GetCampaignCriterionSimulationRequest) (*resources.CampaignCriterionSimulation, error) 273} 274 275// UnimplementedCampaignCriterionSimulationServiceServer can be embedded to have forward compatible implementations. 276type UnimplementedCampaignCriterionSimulationServiceServer struct { 277} 278 279func (*UnimplementedCampaignCriterionSimulationServiceServer) GetCampaignCriterionSimulation(context.Context, *GetCampaignCriterionSimulationRequest) (*resources.CampaignCriterionSimulation, error) { 280 return nil, status.Errorf(codes.Unimplemented, "method GetCampaignCriterionSimulation not implemented") 281} 282 283func RegisterCampaignCriterionSimulationServiceServer(s *grpc.Server, srv CampaignCriterionSimulationServiceServer) { 284 s.RegisterService(&_CampaignCriterionSimulationService_serviceDesc, srv) 285} 286 287func _CampaignCriterionSimulationService_GetCampaignCriterionSimulation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 288 in := new(GetCampaignCriterionSimulationRequest) 289 if err := dec(in); err != nil { 290 return nil, err 291 } 292 if interceptor == nil { 293 return srv.(CampaignCriterionSimulationServiceServer).GetCampaignCriterionSimulation(ctx, in) 294 } 295 info := &grpc.UnaryServerInfo{ 296 Server: srv, 297 FullMethod: "/google.ads.googleads.v1.services.CampaignCriterionSimulationService/GetCampaignCriterionSimulation", 298 } 299 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 300 return srv.(CampaignCriterionSimulationServiceServer).GetCampaignCriterionSimulation(ctx, req.(*GetCampaignCriterionSimulationRequest)) 301 } 302 return interceptor(ctx, in, info, handler) 303} 304 305var _CampaignCriterionSimulationService_serviceDesc = grpc.ServiceDesc{ 306 ServiceName: "google.ads.googleads.v1.services.CampaignCriterionSimulationService", 307 HandlerType: (*CampaignCriterionSimulationServiceServer)(nil), 308 Methods: []grpc.MethodDesc{ 309 { 310 MethodName: "GetCampaignCriterionSimulation", 311 Handler: _CampaignCriterionSimulationService_GetCampaignCriterionSimulation_Handler, 312 }, 313 }, 314 Streams: []grpc.StreamDesc{}, 315 Metadata: "google/ads/googleads/v1/services/campaign_criterion_simulation_service.proto", 316} 317