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