Class Results.ResultsClient
Namespace: ArmoniK.Api.gRPC.V1.Results
Assembly: ArmoniK.Api.Client.dll, ArmoniK.Api.Core.dll
Client for Results
public class Results.ResultsClient : ClientBase<Results.ResultsClient>
Inheritance
object ← ClientBase ← ClientBase<Results.ResultsClient> ← Results.ResultsClient
Inherited Members
ClientBase<Results.ResultsClient>.WithHost(string), ClientBase<Results.ResultsClient>.NewInstance(ClientBase.ClientBaseConfiguration), ClientBase.CallInvoker, object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()
Extension Methods
ResultsClientExt.DownloadResultData(Results.ResultsClient, string, string, CancellationToken), ResultsClientExt.UploadResultData(Results.ResultsClient, string, string, byte[])
Constructors
ResultsClient(ChannelBase)
Creates a new client for Results
public ResultsClient(ChannelBase channel)
Parameters
channel ChannelBase
The channel to use to make remote calls.
ResultsClient(CallInvoker)
Creates a new client for Results that uses a custom CallInvoker.
public ResultsClient(CallInvoker callInvoker)
Parameters
callInvoker CallInvoker
The callInvoker to use to make remote calls.
ResultsClient()
Protected parameterless constructor to allow creation of test doubles.
protected ResultsClient()
ResultsClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
protected ResultsClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
The client configuration.
ResultsClient(ChannelBase)
Creates a new client for Results
public ResultsClient(ChannelBase channel)
Parameters
channel ChannelBase
The channel to use to make remote calls.
ResultsClient(CallInvoker)
Creates a new client for Results that uses a custom CallInvoker.
public ResultsClient(CallInvoker callInvoker)
Parameters
callInvoker CallInvoker
The callInvoker to use to make remote calls.
ResultsClient()
Protected parameterless constructor to allow creation of test doubles.
protected ResultsClient()
ResultsClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
protected ResultsClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
The client configuration.
Methods
CreateResults(CreateResultsRequest, Metadata, DateTime?, CancellationToken)
Create one result with data included in the request
public virtual CreateResultsResponse CreateResults(CreateResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
The response received from the server.
CreateResults(CreateResultsRequest, CallOptions)
Create one result with data included in the request
public virtual CreateResultsResponse CreateResults(CreateResultsRequest request, CallOptions options)
Parameters
request CreateResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
The response received from the server.
CreateResults(CreateResultsRequest, Metadata, DateTime?, CancellationToken)
Create one result with data included in the request
public virtual CreateResultsResponse CreateResults(CreateResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
CreateResultsResponse
The response received from the server.
CreateResults(CreateResultsRequest, CallOptions)
Create one result with data included in the request
public virtual CreateResultsResponse CreateResults(CreateResultsRequest request, CallOptions options)
Parameters
request CreateResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
CreateResultsResponse
The response received from the server.
CreateResultsAsync(CreateResultsRequest, Metadata, DateTime?, CancellationToken)
Create one result with data included in the request
public virtual AsyncUnaryCall<CreateResultsResponse> CreateResultsAsync(CreateResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<CreateResultsResponse>
The call object.
CreateResultsAsync(CreateResultsRequest, CallOptions)
Create one result with data included in the request
public virtual AsyncUnaryCall<CreateResultsResponse> CreateResultsAsync(CreateResultsRequest request, CallOptions options)
Parameters
request CreateResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<CreateResultsResponse>
The call object.
CreateResultsAsync(CreateResultsRequest, Metadata, DateTime?, CancellationToken)
Create one result with data included in the request
public virtual AsyncUnaryCall<CreateResultsResponse> CreateResultsAsync(CreateResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<CreateResultsResponse>
The call object.
CreateResultsAsync(CreateResultsRequest, CallOptions)
Create one result with data included in the request
public virtual AsyncUnaryCall<CreateResultsResponse> CreateResultsAsync(CreateResultsRequest request, CallOptions options)
Parameters
request CreateResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<CreateResultsResponse>
The call object.
CreateResultsMetaData(CreateResultsMetaDataRequest, Metadata, DateTime?, CancellationToken)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual CreateResultsMetaDataResponse CreateResultsMetaData(CreateResultsMetaDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
The response received from the server.
CreateResultsMetaData(CreateResultsMetaDataRequest, CallOptions)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual CreateResultsMetaDataResponse CreateResultsMetaData(CreateResultsMetaDataRequest request, CallOptions options)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
The response received from the server.
CreateResultsMetaData(CreateResultsMetaDataRequest, Metadata, DateTime?, CancellationToken)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual CreateResultsMetaDataResponse CreateResultsMetaData(CreateResultsMetaDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
CreateResultsMetaDataResponse
The response received from the server.
CreateResultsMetaData(CreateResultsMetaDataRequest, CallOptions)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual CreateResultsMetaDataResponse CreateResultsMetaData(CreateResultsMetaDataRequest request, CallOptions options)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
CreateResultsMetaDataResponse
The response received from the server.
CreateResultsMetaDataAsync(CreateResultsMetaDataRequest, Metadata, DateTime?, CancellationToken)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual AsyncUnaryCall<CreateResultsMetaDataResponse> CreateResultsMetaDataAsync(CreateResultsMetaDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<CreateResultsMetaDataResponse>
The call object.
CreateResultsMetaDataAsync(CreateResultsMetaDataRequest, CallOptions)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual AsyncUnaryCall<CreateResultsMetaDataResponse> CreateResultsMetaDataAsync(CreateResultsMetaDataRequest request, CallOptions options)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<CreateResultsMetaDataResponse>
The call object.
CreateResultsMetaDataAsync(CreateResultsMetaDataRequest, Metadata, DateTime?, CancellationToken)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual AsyncUnaryCall<CreateResultsMetaDataResponse> CreateResultsMetaDataAsync(CreateResultsMetaDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<CreateResultsMetaDataResponse>
The call object.
CreateResultsMetaDataAsync(CreateResultsMetaDataRequest, CallOptions)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual AsyncUnaryCall<CreateResultsMetaDataResponse> CreateResultsMetaDataAsync(CreateResultsMetaDataRequest request, CallOptions options)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<CreateResultsMetaDataResponse>
The call object.
DeleteResultsData(DeleteResultsDataRequest, Metadata, DateTime?, CancellationToken)
Delete data from multiple results
public virtual DeleteResultsDataResponse DeleteResultsData(DeleteResultsDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DeleteResultsDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
The response received from the server.
DeleteResultsData(DeleteResultsDataRequest, CallOptions)
Delete data from multiple results
public virtual DeleteResultsDataResponse DeleteResultsData(DeleteResultsDataRequest request, CallOptions options)
Parameters
request DeleteResultsDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
The response received from the server.
DeleteResultsData(DeleteResultsDataRequest, Metadata, DateTime?, CancellationToken)
Delete data from multiple results
public virtual DeleteResultsDataResponse DeleteResultsData(DeleteResultsDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DeleteResultsDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
DeleteResultsDataResponse
The response received from the server.
DeleteResultsData(DeleteResultsDataRequest, CallOptions)
Delete data from multiple results
public virtual DeleteResultsDataResponse DeleteResultsData(DeleteResultsDataRequest request, CallOptions options)
Parameters
request DeleteResultsDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
DeleteResultsDataResponse
The response received from the server.
DeleteResultsDataAsync(DeleteResultsDataRequest, Metadata, DateTime?, CancellationToken)
Delete data from multiple results
public virtual AsyncUnaryCall<DeleteResultsDataResponse> DeleteResultsDataAsync(DeleteResultsDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DeleteResultsDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<DeleteResultsDataResponse>
The call object.
DeleteResultsDataAsync(DeleteResultsDataRequest, CallOptions)
Delete data from multiple results
public virtual AsyncUnaryCall<DeleteResultsDataResponse> DeleteResultsDataAsync(DeleteResultsDataRequest request, CallOptions options)
Parameters
request DeleteResultsDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<DeleteResultsDataResponse>
The call object.
DeleteResultsDataAsync(DeleteResultsDataRequest, Metadata, DateTime?, CancellationToken)
Delete data from multiple results
public virtual AsyncUnaryCall<DeleteResultsDataResponse> DeleteResultsDataAsync(DeleteResultsDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DeleteResultsDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<DeleteResultsDataResponse>
The call object.
DeleteResultsDataAsync(DeleteResultsDataRequest, CallOptions)
Delete data from multiple results
public virtual AsyncUnaryCall<DeleteResultsDataResponse> DeleteResultsDataAsync(DeleteResultsDataRequest request, CallOptions options)
Parameters
request DeleteResultsDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<DeleteResultsDataResponse>
The call object.
DownloadResultData(DownloadResultDataRequest, Metadata, DateTime?, CancellationToken)
Retrieve data
public virtual AsyncServerStreamingCall<DownloadResultDataResponse> DownloadResultData(DownloadResultDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DownloadResultDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncServerStreamingCall<DownloadResultDataResponse>
The call object.
DownloadResultData(DownloadResultDataRequest, CallOptions)
Retrieve data
public virtual AsyncServerStreamingCall<DownloadResultDataResponse> DownloadResultData(DownloadResultDataRequest request, CallOptions options)
Parameters
request DownloadResultDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncServerStreamingCall<DownloadResultDataResponse>
The call object.
DownloadResultData(DownloadResultDataRequest, Metadata, DateTime?, CancellationToken)
Retrieve data
public virtual AsyncServerStreamingCall<DownloadResultDataResponse> DownloadResultData(DownloadResultDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DownloadResultDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncServerStreamingCall<DownloadResultDataResponse>
The call object.
DownloadResultData(DownloadResultDataRequest, CallOptions)
Retrieve data
public virtual AsyncServerStreamingCall<DownloadResultDataResponse> DownloadResultData(DownloadResultDataRequest request, CallOptions options)
Parameters
request DownloadResultDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncServerStreamingCall<DownloadResultDataResponse>
The call object.
GetOwnerTaskId(GetOwnerTaskIdRequest, Metadata, DateTime?, CancellationToken)
Get the id of the task that should produce the result
public virtual GetOwnerTaskIdResponse GetOwnerTaskId(GetOwnerTaskIdRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request GetOwnerTaskIdRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
The response received from the server.
GetOwnerTaskId(GetOwnerTaskIdRequest, CallOptions)
Get the id of the task that should produce the result
public virtual GetOwnerTaskIdResponse GetOwnerTaskId(GetOwnerTaskIdRequest request, CallOptions options)
Parameters
request GetOwnerTaskIdRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
The response received from the server.
GetOwnerTaskId(GetOwnerTaskIdRequest, Metadata, DateTime?, CancellationToken)
Get the id of the task that should produce the result
public virtual GetOwnerTaskIdResponse GetOwnerTaskId(GetOwnerTaskIdRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request GetOwnerTaskIdRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
GetOwnerTaskIdResponse
The response received from the server.
GetOwnerTaskId(GetOwnerTaskIdRequest, CallOptions)
Get the id of the task that should produce the result
public virtual GetOwnerTaskIdResponse GetOwnerTaskId(GetOwnerTaskIdRequest request, CallOptions options)
Parameters
request GetOwnerTaskIdRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
GetOwnerTaskIdResponse
The response received from the server.
GetOwnerTaskIdAsync(GetOwnerTaskIdRequest, Metadata, DateTime?, CancellationToken)
Get the id of the task that should produce the result
public virtual AsyncUnaryCall<GetOwnerTaskIdResponse> GetOwnerTaskIdAsync(GetOwnerTaskIdRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request GetOwnerTaskIdRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<GetOwnerTaskIdResponse>
The call object.
GetOwnerTaskIdAsync(GetOwnerTaskIdRequest, CallOptions)
Get the id of the task that should produce the result
public virtual AsyncUnaryCall<GetOwnerTaskIdResponse> GetOwnerTaskIdAsync(GetOwnerTaskIdRequest request, CallOptions options)
Parameters
request GetOwnerTaskIdRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<GetOwnerTaskIdResponse>
The call object.
GetOwnerTaskIdAsync(GetOwnerTaskIdRequest, Metadata, DateTime?, CancellationToken)
Get the id of the task that should produce the result
public virtual AsyncUnaryCall<GetOwnerTaskIdResponse> GetOwnerTaskIdAsync(GetOwnerTaskIdRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request GetOwnerTaskIdRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<GetOwnerTaskIdResponse>
The call object.
GetOwnerTaskIdAsync(GetOwnerTaskIdRequest, CallOptions)
Get the id of the task that should produce the result
public virtual AsyncUnaryCall<GetOwnerTaskIdResponse> GetOwnerTaskIdAsync(GetOwnerTaskIdRequest request, CallOptions options)
Parameters
request GetOwnerTaskIdRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<GetOwnerTaskIdResponse>
The call object.
GetResult(GetResultRequest, Metadata, DateTime?, CancellationToken)
Get a result by id.
public virtual GetResultResponse GetResult(GetResultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request GetResultRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
The response received from the server.
GetResult(GetResultRequest, CallOptions)
Get a result by id.
public virtual GetResultResponse GetResult(GetResultRequest request, CallOptions options)
Parameters
request GetResultRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
The response received from the server.
GetResult(GetResultRequest, Metadata, DateTime?, CancellationToken)
Get a result by id.
public virtual GetResultResponse GetResult(GetResultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request GetResultRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
GetResultResponse
The response received from the server.
GetResult(GetResultRequest, CallOptions)
Get a result by id.
public virtual GetResultResponse GetResult(GetResultRequest request, CallOptions options)
Parameters
request GetResultRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
GetResultResponse
The response received from the server.
GetResultAsync(GetResultRequest, Metadata, DateTime?, CancellationToken)
Get a result by id.
public virtual AsyncUnaryCall<GetResultResponse> GetResultAsync(GetResultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request GetResultRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<GetResultResponse>
The call object.
GetResultAsync(GetResultRequest, CallOptions)
Get a result by id.
public virtual AsyncUnaryCall<GetResultResponse> GetResultAsync(GetResultRequest request, CallOptions options)
Parameters
request GetResultRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<GetResultResponse>
The call object.
GetResultAsync(GetResultRequest, Metadata, DateTime?, CancellationToken)
Get a result by id.
public virtual AsyncUnaryCall<GetResultResponse> GetResultAsync(GetResultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request GetResultRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<GetResultResponse>
The call object.
GetResultAsync(GetResultRequest, CallOptions)
Get a result by id.
public virtual AsyncUnaryCall<GetResultResponse> GetResultAsync(GetResultRequest request, CallOptions options)
Parameters
request GetResultRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<GetResultResponse>
The call object.
GetServiceConfiguration(Empty, Metadata, DateTime?, CancellationToken)
Get the configuration of the service
public virtual ResultsServiceConfigurationResponse GetServiceConfiguration(Empty request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request Empty
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
ResultsServiceConfigurationResponse
The response received from the server.
GetServiceConfiguration(Empty, CallOptions)
Get the configuration of the service
public virtual ResultsServiceConfigurationResponse GetServiceConfiguration(Empty request, CallOptions options)
Parameters
request Empty
The request to send to the server.
options CallOptions
The options for the call.
Returns
ResultsServiceConfigurationResponse
The response received from the server.
GetServiceConfiguration(Empty, Metadata, DateTime?, CancellationToken)
Get the configuration of the service
public virtual ResultsServiceConfigurationResponse GetServiceConfiguration(Empty request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request Empty
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
ResultsServiceConfigurationResponse
The response received from the server.
GetServiceConfiguration(Empty, CallOptions)
Get the configuration of the service
public virtual ResultsServiceConfigurationResponse GetServiceConfiguration(Empty request, CallOptions options)
Parameters
request Empty
The request to send to the server.
options CallOptions
The options for the call.
Returns
ResultsServiceConfigurationResponse
The response received from the server.
GetServiceConfigurationAsync(Empty, Metadata, DateTime?, CancellationToken)
Get the configuration of the service
public virtual AsyncUnaryCall<ResultsServiceConfigurationResponse> GetServiceConfigurationAsync(Empty request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request Empty
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<ResultsServiceConfigurationResponse>
The call object.
GetServiceConfigurationAsync(Empty, CallOptions)
Get the configuration of the service
public virtual AsyncUnaryCall<ResultsServiceConfigurationResponse> GetServiceConfigurationAsync(Empty request, CallOptions options)
Parameters
request Empty
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<ResultsServiceConfigurationResponse>
The call object.
GetServiceConfigurationAsync(Empty, Metadata, DateTime?, CancellationToken)
Get the configuration of the service
public virtual AsyncUnaryCall<ResultsServiceConfigurationResponse> GetServiceConfigurationAsync(Empty request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request Empty
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<ResultsServiceConfigurationResponse>
The call object.
GetServiceConfigurationAsync(Empty, CallOptions)
Get the configuration of the service
public virtual AsyncUnaryCall<ResultsServiceConfigurationResponse> GetServiceConfigurationAsync(Empty request, CallOptions options)
Parameters
request Empty
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<ResultsServiceConfigurationResponse>
The call object.
ImportResultsData(ImportResultsDataRequest, Metadata, DateTime?, CancellationToken)
Import existing data from the object storage into existing results
public virtual ImportResultsDataResponse ImportResultsData(ImportResultsDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ImportResultsDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
The response received from the server.
ImportResultsData(ImportResultsDataRequest, CallOptions)
Import existing data from the object storage into existing results
public virtual ImportResultsDataResponse ImportResultsData(ImportResultsDataRequest request, CallOptions options)
Parameters
request ImportResultsDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
The response received from the server.
ImportResultsData(ImportResultsDataRequest, Metadata, DateTime?, CancellationToken)
Import existing data from the object storage into existing results
public virtual ImportResultsDataResponse ImportResultsData(ImportResultsDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ImportResultsDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
ImportResultsDataResponse
The response received from the server.
ImportResultsData(ImportResultsDataRequest, CallOptions)
Import existing data from the object storage into existing results
public virtual ImportResultsDataResponse ImportResultsData(ImportResultsDataRequest request, CallOptions options)
Parameters
request ImportResultsDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
ImportResultsDataResponse
The response received from the server.
ImportResultsDataAsync(ImportResultsDataRequest, Metadata, DateTime?, CancellationToken)
Import existing data from the object storage into existing results
public virtual AsyncUnaryCall<ImportResultsDataResponse> ImportResultsDataAsync(ImportResultsDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ImportResultsDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<ImportResultsDataResponse>
The call object.
ImportResultsDataAsync(ImportResultsDataRequest, CallOptions)
Import existing data from the object storage into existing results
public virtual AsyncUnaryCall<ImportResultsDataResponse> ImportResultsDataAsync(ImportResultsDataRequest request, CallOptions options)
Parameters
request ImportResultsDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<ImportResultsDataResponse>
The call object.
ImportResultsDataAsync(ImportResultsDataRequest, Metadata, DateTime?, CancellationToken)
Import existing data from the object storage into existing results
public virtual AsyncUnaryCall<ImportResultsDataResponse> ImportResultsDataAsync(ImportResultsDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ImportResultsDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<ImportResultsDataResponse>
The call object.
ImportResultsDataAsync(ImportResultsDataRequest, CallOptions)
Import existing data from the object storage into existing results
public virtual AsyncUnaryCall<ImportResultsDataResponse> ImportResultsDataAsync(ImportResultsDataRequest request, CallOptions options)
Parameters
request ImportResultsDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<ImportResultsDataResponse>
The call object.
ListResults(ListResultsRequest, Metadata, DateTime?, CancellationToken)
Get a results list using pagination, filters and sorting
public virtual ListResultsResponse ListResults(ListResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ListResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
The response received from the server.
ListResults(ListResultsRequest, CallOptions)
Get a results list using pagination, filters and sorting
public virtual ListResultsResponse ListResults(ListResultsRequest request, CallOptions options)
Parameters
request ListResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
The response received from the server.
ListResults(ListResultsRequest, Metadata, DateTime?, CancellationToken)
Get a results list using pagination, filters and sorting
public virtual ListResultsResponse ListResults(ListResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ListResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
ListResultsResponse
The response received from the server.
ListResults(ListResultsRequest, CallOptions)
Get a results list using pagination, filters and sorting
public virtual ListResultsResponse ListResults(ListResultsRequest request, CallOptions options)
Parameters
request ListResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
ListResultsResponse
The response received from the server.
ListResultsAsync(ListResultsRequest, Metadata, DateTime?, CancellationToken)
Get a results list using pagination, filters and sorting
public virtual AsyncUnaryCall<ListResultsResponse> ListResultsAsync(ListResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ListResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<ListResultsResponse>
The call object.
ListResultsAsync(ListResultsRequest, CallOptions)
Get a results list using pagination, filters and sorting
public virtual AsyncUnaryCall<ListResultsResponse> ListResultsAsync(ListResultsRequest request, CallOptions options)
Parameters
request ListResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<ListResultsResponse>
The call object.
ListResultsAsync(ListResultsRequest, Metadata, DateTime?, CancellationToken)
Get a results list using pagination, filters and sorting
public virtual AsyncUnaryCall<ListResultsResponse> ListResultsAsync(ListResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ListResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<ListResultsResponse>
The call object.
ListResultsAsync(ListResultsRequest, CallOptions)
Get a results list using pagination, filters and sorting
public virtual AsyncUnaryCall<ListResultsResponse> ListResultsAsync(ListResultsRequest request, CallOptions options)
Parameters
request ListResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<ListResultsResponse>
The call object.
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
protected override Results.ResultsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
Returns
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
protected override Results.ResultsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
Returns
UploadResultData(Metadata, DateTime?, CancellationToken)
Upload data for result with stream
public virtual AsyncClientStreamingCall<UploadResultDataRequest, UploadResultDataResponse> UploadResultData(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncClientStreamingCall<UploadResultDataRequest, UploadResultDataResponse>
The call object.
UploadResultData(CallOptions)
Upload data for result with stream
public virtual AsyncClientStreamingCall<UploadResultDataRequest, UploadResultDataResponse> UploadResultData(CallOptions options)
Parameters
options CallOptions
The options for the call.
Returns
AsyncClientStreamingCall<UploadResultDataRequest, UploadResultDataResponse>
The call object.
UploadResultData(Metadata, DateTime?, CancellationToken)
Upload data for result with stream
public virtual AsyncClientStreamingCall<UploadResultDataRequest, UploadResultDataResponse> UploadResultData(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncClientStreamingCall<UploadResultDataRequest, UploadResultDataResponse>
The call object.
UploadResultData(CallOptions)
Upload data for result with stream
public virtual AsyncClientStreamingCall<UploadResultDataRequest, UploadResultDataResponse> UploadResultData(CallOptions options)
Parameters
options CallOptions
The options for the call.
Returns
AsyncClientStreamingCall<UploadResultDataRequest, UploadResultDataResponse>
The call object.
WatchResults(Metadata, DateTime?, CancellationToken)
This endpoint allows a user to watch a list of results and be notified when there is any change. The user sends the list of ids they want to watch. The submitter will then send the statuses for all requested ids immediately and keep the stream open. Ids not present in DB will be returned at that time with the special state NOTFOUND. The submitter will send updates to the client via the opened stream. Any reply can be implicitely chunked if there are too many event to report at the same time (or for the first reply). It is possible to filter out specific statuses from events.
public virtual AsyncDuplexStreamingCall<WatchResultRequest, WatchResultResponse> WatchResults(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncDuplexStreamingCall<WatchResultRequest, WatchResultResponse>
The call object.
WatchResults(CallOptions)
This endpoint allows a user to watch a list of results and be notified when there is any change. The user sends the list of ids they want to watch. The submitter will then send the statuses for all requested ids immediately and keep the stream open. Ids not present in DB will be returned at that time with the special state NOTFOUND. The submitter will send updates to the client via the opened stream. Any reply can be implicitely chunked if there are too many event to report at the same time (or for the first reply). It is possible to filter out specific statuses from events.
public virtual AsyncDuplexStreamingCall<WatchResultRequest, WatchResultResponse> WatchResults(CallOptions options)
Parameters
options CallOptions
The options for the call.
Returns
AsyncDuplexStreamingCall<WatchResultRequest, WatchResultResponse>
The call object.
WatchResults(Metadata, DateTime?, CancellationToken)
This endpoint allows a user to watch a list of results and be notified when there is any change. The user sends the list of ids they want to watch. The submitter will then send the statuses for all requested ids immediately and keep the stream open. Ids not present in DB will be returned at that time with the special state NOTFOUND. The submitter will send updates to the client via the opened stream. Any reply can be implicitely chunked if there are too many event to report at the same time (or for the first reply). It is possible to filter out specific statuses from events.
public virtual AsyncDuplexStreamingCall<WatchResultRequest, WatchResultResponse> WatchResults(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncDuplexStreamingCall<WatchResultRequest, WatchResultResponse>
The call object.
WatchResults(CallOptions)
This endpoint allows a user to watch a list of results and be notified when there is any change. The user sends the list of ids they want to watch. The submitter will then send the statuses for all requested ids immediately and keep the stream open. Ids not present in DB will be returned at that time with the special state NOTFOUND. The submitter will send updates to the client via the opened stream. Any reply can be implicitely chunked if there are too many event to report at the same time (or for the first reply). It is possible to filter out specific statuses from events.
public virtual AsyncDuplexStreamingCall<WatchResultRequest, WatchResultResponse> WatchResults(CallOptions options)
Parameters
options CallOptions
The options for the call.
Returns
AsyncDuplexStreamingCall<WatchResultRequest, WatchResultResponse>
The call object.