Class SchemaServiceGrpc.SchemaServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<SchemaServiceGrpc.SchemaServiceStub>
com.google.cloud.discoveryengine.v1.SchemaServiceGrpc.SchemaServiceStub
- Enclosing class:
- SchemaServiceGrpc
public static final class SchemaServiceGrpc.SchemaServiceStub
extends io.grpc.stub.AbstractAsyncStub<SchemaServiceGrpc.SchemaServiceStub>
A stub to allow clients to do asynchronous rpc calls to service SchemaService.
Service for managing [Schema][google.cloud.discoveryengine.v1.Schema]s.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected SchemaServiceGrpc.SchemaServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateSchema(CreateSchemaRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a [Schema][google.cloud.discoveryengine.v1.Schema].voiddeleteSchema(DeleteSchemaRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a [Schema][google.cloud.discoveryengine.v1.Schema].voidgetSchema(GetSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Gets a [Schema][google.cloud.discoveryengine.v1.Schema].voidlistSchemas(ListSchemasRequest request, io.grpc.stub.StreamObserver<ListSchemasResponse> responseObserver) Gets a list of [Schema][google.cloud.discoveryengine.v1.Schema]s.voidupdateSchema(UpdateSchemaRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates a [Schema][google.cloud.discoveryengine.v1.Schema].Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SchemaServiceGrpc.SchemaServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SchemaServiceGrpc.SchemaServiceStub>
-
getSchema
public void getSchema(GetSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Gets a [Schema][google.cloud.discoveryengine.v1.Schema].
-
listSchemas
public void listSchemas(ListSchemasRequest request, io.grpc.stub.StreamObserver<ListSchemasResponse> responseObserver) Gets a list of [Schema][google.cloud.discoveryengine.v1.Schema]s.
-
createSchema
public void createSchema(CreateSchemaRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a [Schema][google.cloud.discoveryengine.v1.Schema].
-
updateSchema
public void updateSchema(UpdateSchemaRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates a [Schema][google.cloud.discoveryengine.v1.Schema].
-
deleteSchema
public void deleteSchema(DeleteSchemaRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a [Schema][google.cloud.discoveryengine.v1.Schema].
-