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