Class GrpcSchemaServiceStub (1.130.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcSchemaServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcSchemaServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcSchemaServiceStub
Exceptions
Type Description
IOException

create(SchemaServiceStubSettings settings)

public static final GrpcSchemaServiceStub create(SchemaServiceStubSettings settings)
Parameter
Name Description
settings SchemaServiceStubSettings
Returns
Type Description
GrpcSchemaServiceStub
Exceptions
Type Description
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
Name Description
settings SchemaServiceStubSettings
clientContext ClientContext

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
Name Description
settings SchemaServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

commitSchemaCallable()

public UnaryCallable<CommitSchemaRequest,Schema> commitSchemaCallable()
Returns
Type Description
UnaryCallable<CommitSchemaRequest,Schema>
Overrides

createSchemaCallable()

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

deleteSchemaCallable()

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

deleteSchemaRevisionCallable()

public UnaryCallable<DeleteSchemaRevisionRequest,Schema> deleteSchemaRevisionCallable()
Returns
Type Description
UnaryCallable<DeleteSchemaRevisionRequest,Schema>
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
Type Description
GrpcOperationsStub

getSchemaCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listSchemaRevisionsCallable()

public UnaryCallable<ListSchemaRevisionsRequest,ListSchemaRevisionsResponse> listSchemaRevisionsCallable()
Returns
Type Description
UnaryCallable<ListSchemaRevisionsRequest,ListSchemaRevisionsResponse>
Overrides

listSchemaRevisionsPagedCallable()

public UnaryCallable<ListSchemaRevisionsRequest,SchemaServiceClient.ListSchemaRevisionsPagedResponse> listSchemaRevisionsPagedCallable()
Returns
Type Description
UnaryCallable<ListSchemaRevisionsRequest,ListSchemaRevisionsPagedResponse>
Overrides

listSchemasCallable()

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

listSchemasPagedCallable()

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

rollbackSchemaCallable()

public UnaryCallable<RollbackSchemaRequest,Schema> rollbackSchemaCallable()
Returns
Type Description
UnaryCallable<RollbackSchemaRequest,Schema>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
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
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

validateMessageCallable()

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

validateSchemaCallable()

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