Class SchemaServiceClientImpl (2.4.0)

public sealed class SchemaServiceClientImpl : SchemaServiceClient

SchemaService client wrapper implementation, for convenient use.

Inheritance

Object > SchemaServiceClient > SchemaServiceClientImpl

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

SchemaServiceClientImpl(SchemaService.SchemaServiceClient, SchemaServiceSettings)

public SchemaServiceClientImpl(SchemaService.SchemaServiceClient grpcClient, SchemaServiceSettings settings)

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

Parameters
NameDescription
grpcClientSchemaService.SchemaServiceClient

The underlying gRPC client.

settingsSchemaServiceSettings

The base SchemaServiceSettings used within this client.

Properties

GrpcClient

public override SchemaService.SchemaServiceClient GrpcClient { get; }

The underlying gRPC SchemaService client

Property Value
TypeDescription
SchemaService.SchemaServiceClient
Overrides

Methods

CreateSchema(CreateSchemaRequest, CallSettings)

public override Schema CreateSchema(CreateSchemaRequest request, CallSettings callSettings = null)

Creates a schema.

Parameters
NameDescription
requestCreateSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Schema

The RPC response.

Overrides

CreateSchemaAsync(CreateSchemaRequest, CallSettings)

public override Task<Schema> CreateSchemaAsync(CreateSchemaRequest request, CallSettings callSettings = null)

Creates a schema.

Parameters
NameDescription
requestCreateSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Schema>

A Task containing the RPC response.

Overrides

DeleteSchema(DeleteSchemaRequest, CallSettings)

public override void DeleteSchema(DeleteSchemaRequest request, CallSettings callSettings = null)

Deletes a schema.

Parameters
NameDescription
requestDeleteSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteSchemaAsync(DeleteSchemaRequest, CallSettings)

public override Task DeleteSchemaAsync(DeleteSchemaRequest request, CallSettings callSettings = null)

Deletes a schema.

Parameters
NameDescription
requestDeleteSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetSchema(GetSchemaRequest, CallSettings)

public override Schema GetSchema(GetSchemaRequest request, CallSettings callSettings = null)

Gets a schema.

Parameters
NameDescription
requestGetSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Schema

The RPC response.

Overrides

GetSchemaAsync(GetSchemaRequest, CallSettings)

public override Task<Schema> GetSchemaAsync(GetSchemaRequest request, CallSettings callSettings = null)

Gets a schema.

Parameters
NameDescription
requestGetSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Schema>

A Task containing the RPC response.

Overrides

ListSchemas(ListSchemasRequest, CallSettings)

public override PagedEnumerable<ListSchemasResponse, Schema> ListSchemas(ListSchemasRequest request, CallSettings callSettings = null)

Lists schemas in a project.

Parameters
NameDescription
requestListSchemasRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListSchemasResponse, Schema>

A pageable sequence of Schema resources.

Overrides

ListSchemasAsync(ListSchemasRequest, CallSettings)

public override PagedAsyncEnumerable<ListSchemasResponse, Schema> ListSchemasAsync(ListSchemasRequest request, CallSettings callSettings = null)

Lists schemas in a project.

Parameters
NameDescription
requestListSchemasRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListSchemasResponse, Schema>

A pageable asynchronous sequence of Schema resources.

Overrides

ValidateMessage(ValidateMessageRequest, CallSettings)

public override ValidateMessageResponse ValidateMessage(ValidateMessageRequest request, CallSettings callSettings = null)

Validates a message against a schema.

Parameters
NameDescription
requestValidateMessageRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ValidateMessageResponse

The RPC response.

Overrides

ValidateMessageAsync(ValidateMessageRequest, CallSettings)

public override Task<ValidateMessageResponse> ValidateMessageAsync(ValidateMessageRequest request, CallSettings callSettings = null)

Validates a message against a schema.

Parameters
NameDescription
requestValidateMessageRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ValidateMessageResponse>

A Task containing the RPC response.

Overrides

ValidateSchema(ValidateSchemaRequest, CallSettings)

public override ValidateSchemaResponse ValidateSchema(ValidateSchemaRequest request, CallSettings callSettings = null)

Validates a schema.

Parameters
NameDescription
requestValidateSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ValidateSchemaResponse

The RPC response.

Overrides

ValidateSchemaAsync(ValidateSchemaRequest, CallSettings)

public override Task<ValidateSchemaResponse> ValidateSchemaAsync(ValidateSchemaRequest request, CallSettings callSettings = null)

Validates a schema.

Parameters
NameDescription
requestValidateSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ValidateSchemaResponse>

A Task containing the RPC response.

Overrides