Class Completion.CompletionClient (1.0.0)

public class CompletionClient : ClientBase<Completion.CompletionClient>

Client for Completion

Inheritance

System.Object > Grpc.Core.ClientBase > Grpc.Core.ClientBase<Completion.CompletionClient> > Completion.CompletionClient

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Constructors

CompletionClient()

protected CompletionClient()

Protected parameterless constructor to allow creation of test doubles.

CompletionClient(CallInvoker)

public CompletionClient(CallInvoker callInvoker)

Creates a new client for Completion that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerGrpc.Core.CallInvoker

The callInvoker to use to make remote calls.

CompletionClient(ChannelBase)

public CompletionClient(ChannelBase channel)

Creates a new client for Completion

Parameter
NameDescription
channelGrpc.Core.ChannelBase

The channel to use to make remote calls.

CompletionClient(ClientBase.ClientBaseConfiguration)

protected CompletionClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationGrpc.Core.ClientBase.ClientBaseConfiguration

The client configuration.

Methods

CompleteQuery(CompleteQueryRequest, CallOptions)

public virtual CompleteQueryResponse CompleteQuery(CompleteQueryRequest request, CallOptions options)

Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.

Parameters
NameDescription
requestCompleteQueryRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
CompleteQueryResponse

The response received from the server.

CompleteQuery(CompleteQueryRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual CompleteQueryResponse CompleteQuery(CompleteQueryRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.

Parameters
NameDescription
requestCompleteQueryRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
CompleteQueryResponse

The response received from the server.

CompleteQueryAsync(CompleteQueryRequest, CallOptions)

public virtual AsyncUnaryCall<CompleteQueryResponse> CompleteQueryAsync(CompleteQueryRequest request, CallOptions options)

Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.

Parameters
NameDescription
requestCompleteQueryRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<CompleteQueryResponse>

The call object.

CompleteQueryAsync(CompleteQueryRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<CompleteQueryResponse> CompleteQueryAsync(CompleteQueryRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.

Parameters
NameDescription
requestCompleteQueryRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<CompleteQueryResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override Completion.CompletionClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationGrpc.Core.ClientBase.ClientBaseConfiguration
Returns
TypeDescription
Completion.CompletionClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Talent.V4.Completion.CompletionClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)