Show / Hide Table of Contents

Class DestinationServiceClientImpl

DestinationService client wrapper implementation, for convenient use.

Inheritance
object
DestinationServiceClient
DestinationServiceClientImpl
Inherited Members
DestinationServiceClient.DefaultEndpoint
DestinationServiceClient.DefaultScopes
DestinationServiceClient.ServiceMetadata
DestinationServiceClient.CreateAsync(CancellationToken)
DestinationServiceClient.Create()
DestinationServiceClient.ShutdownDefaultChannelsAsync()
DestinationServiceClient.SearchDestinationsAsync(SearchDestinationsRequest, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.Geocode.V4
Assembly: Google.Maps.Geocode.V4.dll
Syntax
public sealed class DestinationServiceClientImpl : DestinationServiceClient
Remarks

A service for retrieving destinations.

A destination provides hierarchical context about a place, which allows you to, for example, find apartment buildings within a larger apartment complex and vice versa. It also provides navigation points suitable for use cases such as ridesharing or delivery.

Constructors

DestinationServiceClientImpl(DestinationServiceClient, DestinationServiceSettings, ILogger)

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

Declaration
public DestinationServiceClientImpl(DestinationService.DestinationServiceClient grpcClient, DestinationServiceSettings settings, ILogger logger)
Parameters
Type Name Description
DestinationService.DestinationServiceClient grpcClient

The underlying gRPC client.

DestinationServiceSettings settings

The base DestinationServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC DestinationService client

Declaration
public override DestinationService.DestinationServiceClient GrpcClient { get; }
Property Value
Type Description
DestinationService.DestinationServiceClient
Overrides
DestinationServiceClient.GrpcClient

Methods

SearchDestinations(SearchDestinationsRequest, CallSettings)

This method performs a destination lookup and returns a list of destinations.

Declaration
public override SearchDestinationsResponse SearchDestinations(SearchDestinationsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
SearchDestinationsRequest 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
SearchDestinationsResponse

The RPC response.

Overrides
DestinationServiceClient.SearchDestinations(SearchDestinationsRequest, CallSettings)

SearchDestinationsAsync(SearchDestinationsRequest, CallSettings)

This method performs a destination lookup and returns a list of destinations.

Declaration
public override Task<SearchDestinationsResponse> SearchDestinationsAsync(SearchDestinationsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
SearchDestinationsRequest 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<SearchDestinationsResponse>

A Task containing the RPC response.

Overrides
DestinationServiceClient.SearchDestinationsAsync(SearchDestinationsRequest, CallSettings)
In this article
Back to top Generated by DocFX