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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcSchemaServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(SchemaServiceStubSettings settings)
public static final GrpcSchemaServiceStub create(SchemaServiceStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createSchemaCallable()
public UnaryCallable<CreateSchemaRequest,Schema> createSchemaCallable()
Returns
Overrides
deleteSchemaCallable()
public UnaryCallable<DeleteSchemaRequest,Empty> deleteSchemaCallable()
Returns
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()
Returns
getSchemaCallable()
public UnaryCallable<GetSchemaRequest,Schema> getSchemaCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listSchemasCallable()
public UnaryCallable<ListSchemasRequest,ListSchemasResponse> listSchemasCallable()
Returns
Overrides
listSchemasPagedCallable()
public UnaryCallable<ListSchemasRequest,SchemaServiceClient.ListSchemasPagedResponse> listSchemasPagedCallable()
Returns
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()
Returns
Overrides
validateSchemaCallable()
public UnaryCallable<ValidateSchemaRequest,ValidateSchemaResponse> validateSchemaCallable()
Returns
Overrides