[BindServiceMethod(typeof(SchemaService), "BindService")]
public abstract class SchemaServiceBaseBase class for server-side implementations of SchemaService
Namespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Methods
CreateSchema(CreateSchemaRequest, ServerCallContext)
public virtual Task<Schema> CreateSchema(CreateSchemaRequest request, ServerCallContext context)Creates a schema.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateSchemaRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Schema> | The response to send back to the client (wrapped by a task). | 
DeleteSchema(DeleteSchemaRequest, ServerCallContext)
public virtual Task<Empty> DeleteSchema(DeleteSchemaRequest request, ServerCallContext context)Deletes a schema.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteSchemaRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Empty> | The response to send back to the client (wrapped by a task). | 
GetSchema(GetSchemaRequest, ServerCallContext)
public virtual Task<Schema> GetSchema(GetSchemaRequest request, ServerCallContext context)Gets a schema.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetSchemaRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Schema> | The response to send back to the client (wrapped by a task). | 
ListSchemas(ListSchemasRequest, ServerCallContext)
public virtual Task<ListSchemasResponse> ListSchemas(ListSchemasRequest request, ServerCallContext context)Lists schemas in a project.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListSchemasRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<ListSchemasResponse> | The response to send back to the client (wrapped by a task). | 
ValidateMessage(ValidateMessageRequest, ServerCallContext)
public virtual Task<ValidateMessageResponse> ValidateMessage(ValidateMessageRequest request, ServerCallContext context)Validates a message against a schema.
| Parameters | |
|---|---|
| Name | Description | 
| request | ValidateMessageRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<ValidateMessageResponse> | The response to send back to the client (wrapped by a task). | 
ValidateSchema(ValidateSchemaRequest, ServerCallContext)
public virtual Task<ValidateSchemaResponse> ValidateSchema(ValidateSchemaRequest request, ServerCallContext context)Validates a schema.
| Parameters | |
|---|---|
| Name | Description | 
| request | ValidateSchemaRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<ValidateSchemaResponse> | The response to send back to the client (wrapped by a task). |