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