Class Versions.VersionsClient
Namespace: ArmoniK.Api.gRPC.V1.Versions
Assembly: ArmoniK.Api.Client.dll, ArmoniK.Api.Core.dll
Client for Versions
public class Versions.VersionsClient : ClientBase<Versions.VersionsClient>
Inheritance
object ← ClientBase ← ClientBase<Versions.VersionsClient> ← Versions.VersionsClient
Inherited Members
ClientBase<Versions.VersionsClient>.WithHost(string), ClientBase<Versions.VersionsClient>.NewInstance(ClientBase.ClientBaseConfiguration), ClientBase.CallInvoker, object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()
Constructors
VersionsClient(ChannelBase)
Creates a new client for Versions
public VersionsClient(ChannelBase channel)
Parameters
channel ChannelBase
The channel to use to make remote calls.
VersionsClient(CallInvoker)
Creates a new client for Versions that uses a custom CallInvoker.
public VersionsClient(CallInvoker callInvoker)
Parameters
callInvoker CallInvoker
The callInvoker to use to make remote calls.
VersionsClient()
Protected parameterless constructor to allow creation of test doubles.
protected VersionsClient()
VersionsClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
protected VersionsClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
The client configuration.
VersionsClient(ChannelBase)
Creates a new client for Versions
public VersionsClient(ChannelBase channel)
Parameters
channel ChannelBase
The channel to use to make remote calls.
VersionsClient(CallInvoker)
Creates a new client for Versions that uses a custom CallInvoker.
public VersionsClient(CallInvoker callInvoker)
Parameters
callInvoker CallInvoker
The callInvoker to use to make remote calls.
VersionsClient()
Protected parameterless constructor to allow creation of test doubles.
protected VersionsClient()
VersionsClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
protected VersionsClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
The client configuration.
Methods
ListVersions(ListVersionsRequest, Metadata, DateTime?, CancellationToken)
Get all versions.
public virtual ListVersionsResponse ListVersions(ListVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ListVersionsRequest
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.
ListVersions(ListVersionsRequest, CallOptions)
Get all versions.
public virtual ListVersionsResponse ListVersions(ListVersionsRequest request, CallOptions options)
Parameters
request ListVersionsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
The response received from the server.
ListVersions(ListVersionsRequest, Metadata, DateTime?, CancellationToken)
Get all versions.
public virtual ListVersionsResponse ListVersions(ListVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ListVersionsRequest
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
ListVersionsResponse
The response received from the server.
ListVersions(ListVersionsRequest, CallOptions)
Get all versions.
public virtual ListVersionsResponse ListVersions(ListVersionsRequest request, CallOptions options)
Parameters
request ListVersionsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
ListVersionsResponse
The response received from the server.
ListVersionsAsync(ListVersionsRequest, Metadata, DateTime?, CancellationToken)
Get all versions.
public virtual AsyncUnaryCall<ListVersionsResponse> ListVersionsAsync(ListVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ListVersionsRequest
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<ListVersionsResponse>
The call object.
ListVersionsAsync(ListVersionsRequest, CallOptions)
Get all versions.
public virtual AsyncUnaryCall<ListVersionsResponse> ListVersionsAsync(ListVersionsRequest request, CallOptions options)
Parameters
request ListVersionsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<ListVersionsResponse>
The call object.
ListVersionsAsync(ListVersionsRequest, Metadata, DateTime?, CancellationToken)
Get all versions.
public virtual AsyncUnaryCall<ListVersionsResponse> ListVersionsAsync(ListVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request ListVersionsRequest
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<ListVersionsResponse>
The call object.
ListVersionsAsync(ListVersionsRequest, CallOptions)
Get all versions.
public virtual AsyncUnaryCall<ListVersionsResponse> ListVersionsAsync(ListVersionsRequest request, CallOptions options)
Parameters
request ListVersionsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<ListVersionsResponse>
The call object.
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
protected override Versions.VersionsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
Returns
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
protected override Versions.VersionsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration