Class GrpcSchemaServiceStub (1.118.0)

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.

Inheritance

java.lang.Object > SchemaServiceStub > GrpcSchemaServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcSchemaServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcSchemaServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcSchemaServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcSchemaServiceStub
Exceptions
TypeDescription
IOException

create(SchemaServiceStubSettings settings)

public static final GrpcSchemaServiceStub create(SchemaServiceStubSettings settings)
Parameter
NameDescription
settingsSchemaServiceStubSettings
Returns
TypeDescription
GrpcSchemaServiceStub
Exceptions
TypeDescription
IOException

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
NameDescription
settingsSchemaServiceStubSettings
clientContextClientContext

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
NameDescription
settingsSchemaServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createSchemaCallable()

public UnaryCallable<CreateSchemaRequest,Schema> createSchemaCallable()
Returns
TypeDescription
UnaryCallable<CreateSchemaRequest,Schema>
Overrides

deleteSchemaCallable()

public UnaryCallable<DeleteSchemaRequest,Empty> deleteSchemaCallable()
Returns
TypeDescription
UnaryCallable<DeleteSchemaRequest,Empty>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getSchemaCallable()

public UnaryCallable<GetSchemaRequest,Schema> getSchemaCallable()
Returns
TypeDescription
UnaryCallable<GetSchemaRequest,Schema>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listSchemasCallable()

public UnaryCallable<ListSchemasRequest,ListSchemasResponse> listSchemasCallable()
Returns
TypeDescription
UnaryCallable<ListSchemasRequest,ListSchemasResponse>
Overrides

listSchemasPagedCallable()

public UnaryCallable<ListSchemasRequest,SchemaServiceClient.ListSchemasPagedResponse> listSchemasPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSchemasRequest,ListSchemasPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

validateMessageCallable()

public UnaryCallable<ValidateMessageRequest,ValidateMessageResponse> validateMessageCallable()
Returns
TypeDescription
UnaryCallable<ValidateMessageRequest,ValidateMessageResponse>
Overrides

validateSchemaCallable()

public UnaryCallable<ValidateSchemaRequest,ValidateSchemaResponse> validateSchemaCallable()
Returns
TypeDescription
UnaryCallable<ValidateSchemaRequest,ValidateSchemaResponse>
Overrides