public class GrpcSchemaServiceStub extends SchemaServiceStub
gRPC stub implementation for the SchemaService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcSchemaServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcSchemaServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(SchemaServiceStubSettings settings)
public static final GrpcSchemaServiceStub create(SchemaServiceStubSettings settings)
Constructors
GrpcSchemaServiceStub(SchemaServiceStubSettings settings, ClientContext clientContext)
protected GrpcSchemaServiceStub(SchemaServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcSchemaServiceStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcSchemaServiceStub(SchemaServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcSchemaServiceStub(SchemaServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSchemaServiceStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
commitSchemaCallable()
public UnaryCallable<CommitSchemaRequest,Schema> commitSchemaCallable()
Overrides
createSchemaCallable()
public UnaryCallable<CreateSchemaRequest,Schema> createSchemaCallable()
Overrides
deleteSchemaCallable()
public UnaryCallable<DeleteSchemaRequest,Empty> deleteSchemaCallable()
Overrides
deleteSchemaRevisionCallable()
public UnaryCallable<DeleteSchemaRevisionRequest,Schema> deleteSchemaRevisionCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getSchemaCallable()
public UnaryCallable<GetSchemaRequest,Schema> getSchemaCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listSchemaRevisionsCallable()
public UnaryCallable<ListSchemaRevisionsRequest,ListSchemaRevisionsResponse> listSchemaRevisionsCallable()
Overrides
listSchemaRevisionsPagedCallable()
public UnaryCallable<ListSchemaRevisionsRequest,SchemaServiceClient.ListSchemaRevisionsPagedResponse> listSchemaRevisionsPagedCallable()
Overrides
listSchemasCallable()
public UnaryCallable<ListSchemasRequest,ListSchemasResponse> listSchemasCallable()
Overrides
listSchemasPagedCallable()
public UnaryCallable<ListSchemasRequest,SchemaServiceClient.ListSchemasPagedResponse> listSchemasPagedCallable()
Overrides
rollbackSchemaCallable()
public UnaryCallable<RollbackSchemaRequest,Schema> rollbackSchemaCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
Overrides
validateMessageCallable()
public UnaryCallable<ValidateMessageRequest,ValidateMessageResponse> validateMessageCallable()
Overrides
validateSchemaCallable()
public UnaryCallable<ValidateSchemaRequest,ValidateSchemaResponse> validateSchemaCallable()
Overrides