@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcSchemaServiceStub extends SchemaServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSchemaServiceStub(SchemaServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSchemaServiceStub, using the given settings.
|
protected |
GrpcSchemaServiceStub(SchemaServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSchemaServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSchemaServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSchemaServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSchemaServiceStub |
create(SchemaServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateSchemaRequest,Schema> |
createSchemaCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteSchemaRequest,com.google.protobuf.Empty> |
deleteSchemaCallable() |
com.google.api.gax.rpc.UnaryCallable<GetSchemaRequest,Schema> |
getSchemaCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListSchemasRequest,ListSchemasResponse> |
listSchemasCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSchemasRequest,SchemaServiceClient.ListSchemasPagedResponse> |
listSchemasPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<ValidateMessageRequest,ValidateMessageResponse> |
validateMessageCallable() |
com.google.api.gax.rpc.UnaryCallable<ValidateSchemaRequest,ValidateSchemaResponse> |
validateSchemaCallable() |
protected GrpcSchemaServiceStub(SchemaServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSchemaServiceStub(SchemaServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSchemaServiceStub create(SchemaServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcSchemaServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSchemaServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<CreateSchemaRequest,Schema> createSchemaCallable()
createSchemaCallable in class SchemaServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetSchemaRequest,Schema> getSchemaCallable()
getSchemaCallable in class SchemaServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListSchemasRequest,SchemaServiceClient.ListSchemasPagedResponse> listSchemasPagedCallable()
listSchemasPagedCallable in class SchemaServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListSchemasRequest,ListSchemasResponse> listSchemasCallable()
listSchemasCallable in class SchemaServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteSchemaRequest,com.google.protobuf.Empty> deleteSchemaCallable()
deleteSchemaCallable in class SchemaServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ValidateSchemaRequest,ValidateSchemaResponse> validateSchemaCallable()
validateSchemaCallable in class SchemaServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ValidateMessageRequest,ValidateMessageResponse> validateMessageCallable()
validateMessageCallable in class SchemaServiceStubpublic final void close()
close in interface AutoCloseableclose in class SchemaServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2021 Google LLC. All rights reserved.