Show / Hide Table of Contents

Class GeocodeServiceClientImpl

GeocodeService client wrapper implementation, for convenient use.

Inheritance
object
GeocodeServiceClient
GeocodeServiceClientImpl
Inherited Members
GeocodeServiceClient.DefaultEndpoint
GeocodeServiceClient.DefaultScopes
GeocodeServiceClient.ServiceMetadata
GeocodeServiceClient.CreateAsync(CancellationToken)
GeocodeServiceClient.Create()
GeocodeServiceClient.ShutdownDefaultChannelsAsync()
GeocodeServiceClient.GeocodeAddressAsync(GeocodeAddressRequest, CancellationToken)
GeocodeServiceClient.GeocodeLocationAsync(GeocodeLocationRequest, CancellationToken)
GeocodeServiceClient.GeocodePlaceAsync(GeocodePlaceRequest, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.Geocode.V4
Assembly: Google.Maps.Geocode.V4.dll
Syntax
public sealed class GeocodeServiceClientImpl : GeocodeServiceClient
Remarks

A service for performing geocoding.

Constructors

GeocodeServiceClientImpl(GeocodeServiceClient, GeocodeServiceSettings, ILogger)

Constructs a client wrapper for the GeocodeService service, with the specified gRPC client and settings.

Declaration
public GeocodeServiceClientImpl(GeocodeService.GeocodeServiceClient grpcClient, GeocodeServiceSettings settings, ILogger logger)
Parameters
Type Name Description
GeocodeService.GeocodeServiceClient grpcClient

The underlying gRPC client.

GeocodeServiceSettings settings

The base GeocodeServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC GeocodeService client

Declaration
public override GeocodeService.GeocodeServiceClient GrpcClient { get; }
Property Value
Type Description
GeocodeService.GeocodeServiceClient
Overrides
GeocodeServiceClient.GrpcClient

Methods

GeocodeAddress(GeocodeAddressRequest, CallSettings)

This method performs an address geocode, which maps an address to a LatLng. It also provides structured information about the address.

Declaration
public override GeocodeAddressResponse GeocodeAddress(GeocodeAddressRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GeocodeAddressRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GeocodeAddressResponse

The RPC response.

Overrides
GeocodeServiceClient.GeocodeAddress(GeocodeAddressRequest, CallSettings)

GeocodeAddressAsync(GeocodeAddressRequest, CallSettings)

This method performs an address geocode, which maps an address to a LatLng. It also provides structured information about the address.

Declaration
public override Task<GeocodeAddressResponse> GeocodeAddressAsync(GeocodeAddressRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GeocodeAddressRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<GeocodeAddressResponse>

A Task containing the RPC response.

Overrides
GeocodeServiceClient.GeocodeAddressAsync(GeocodeAddressRequest, CallSettings)

GeocodeLocation(GeocodeLocationRequest, CallSettings)

This method performs a location geocode, which maps a LatLng to an address. It also provides structured information about the address.

Declaration
public override GeocodeLocationResponse GeocodeLocation(GeocodeLocationRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GeocodeLocationRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GeocodeLocationResponse

The RPC response.

Overrides
GeocodeServiceClient.GeocodeLocation(GeocodeLocationRequest, CallSettings)

GeocodeLocationAsync(GeocodeLocationRequest, CallSettings)

This method performs a location geocode, which maps a LatLng to an address. It also provides structured information about the address.

Declaration
public override Task<GeocodeLocationResponse> GeocodeLocationAsync(GeocodeLocationRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GeocodeLocationRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<GeocodeLocationResponse>

A Task containing the RPC response.

Overrides
GeocodeServiceClient.GeocodeLocationAsync(GeocodeLocationRequest, CallSettings)

GeocodePlace(GeocodePlaceRequest, CallSettings)

This method performs a geocode lookup using a place ID.

Declaration
public override GeocodeResult GeocodePlace(GeocodePlaceRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GeocodePlaceRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GeocodeResult

The RPC response.

Overrides
GeocodeServiceClient.GeocodePlace(GeocodePlaceRequest, CallSettings)

GeocodePlaceAsync(GeocodePlaceRequest, CallSettings)

This method performs a geocode lookup using a place ID.

Declaration
public override Task<GeocodeResult> GeocodePlaceAsync(GeocodePlaceRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GeocodePlaceRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<GeocodeResult>

A Task containing the RPC response.

Overrides
GeocodeServiceClient.GeocodePlaceAsync(GeocodePlaceRequest, CallSettings)
In this article
Back to top Generated by DocFX