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