Class GrpcBusinessGlossaryServiceStub (1.72.0)

public class GrpcBusinessGlossaryServiceStub extends BusinessGlossaryServiceStub

gRPC stub implementation for the BusinessGlossaryService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > BusinessGlossaryServiceStub > GrpcBusinessGlossaryServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcBusinessGlossaryServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcBusinessGlossaryServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(BusinessGlossaryServiceStubSettings settings)

public static final GrpcBusinessGlossaryServiceStub create(BusinessGlossaryServiceStubSettings settings)
Parameter
Name Description
settings BusinessGlossaryServiceStubSettings
Returns
Type Description
GrpcBusinessGlossaryServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcBusinessGlossaryServiceStub(BusinessGlossaryServiceStubSettings settings, ClientContext clientContext)

protected GrpcBusinessGlossaryServiceStub(BusinessGlossaryServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcBusinessGlossaryServiceStub, 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 BusinessGlossaryServiceStubSettings
clientContext ClientContext

GrpcBusinessGlossaryServiceStub(BusinessGlossaryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcBusinessGlossaryServiceStub(BusinessGlossaryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcBusinessGlossaryServiceStub, 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 BusinessGlossaryServiceStubSettings
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

createGlossaryCallable()

public UnaryCallable<CreateGlossaryRequest,Operation> createGlossaryCallable()
Returns
Type Description
UnaryCallable<CreateGlossaryRequest,Operation>
Overrides

createGlossaryCategoryCallable()

public UnaryCallable<CreateGlossaryCategoryRequest,GlossaryCategory> createGlossaryCategoryCallable()
Returns
Type Description
UnaryCallable<CreateGlossaryCategoryRequest,GlossaryCategory>
Overrides

createGlossaryOperationCallable()

public OperationCallable<CreateGlossaryRequest,Glossary,OperationMetadata> createGlossaryOperationCallable()
Returns
Type Description
OperationCallable<CreateGlossaryRequest,Glossary,OperationMetadata>
Overrides

createGlossaryTermCallable()

public UnaryCallable<CreateGlossaryTermRequest,GlossaryTerm> createGlossaryTermCallable()
Returns
Type Description
UnaryCallable<CreateGlossaryTermRequest,GlossaryTerm>
Overrides

deleteGlossaryCallable()

public UnaryCallable<DeleteGlossaryRequest,Operation> deleteGlossaryCallable()
Returns
Type Description
UnaryCallable<DeleteGlossaryRequest,Operation>
Overrides

deleteGlossaryCategoryCallable()

public UnaryCallable<DeleteGlossaryCategoryRequest,Empty> deleteGlossaryCategoryCallable()
Returns
Type Description
UnaryCallable<DeleteGlossaryCategoryRequest,Empty>
Overrides

deleteGlossaryOperationCallable()

public OperationCallable<DeleteGlossaryRequest,Empty,OperationMetadata> deleteGlossaryOperationCallable()
Returns
Type Description
OperationCallable<DeleteGlossaryRequest,Empty,OperationMetadata>
Overrides

deleteGlossaryTermCallable()

public UnaryCallable<DeleteGlossaryTermRequest,Empty> deleteGlossaryTermCallable()
Returns
Type Description
UnaryCallable<DeleteGlossaryTermRequest,Empty>
Overrides

getGlossaryCallable()

public UnaryCallable<GetGlossaryRequest,Glossary> getGlossaryCallable()
Returns
Type Description
UnaryCallable<GetGlossaryRequest,Glossary>
Overrides

getGlossaryCategoryCallable()

public UnaryCallable<GetGlossaryCategoryRequest,GlossaryCategory> getGlossaryCategoryCallable()
Returns
Type Description
UnaryCallable<GetGlossaryCategoryRequest,GlossaryCategory>
Overrides

getGlossaryTermCallable()

public UnaryCallable<GetGlossaryTermRequest,GlossaryTerm> getGlossaryTermCallable()
Returns
Type Description
UnaryCallable<GetGlossaryTermRequest,GlossaryTerm>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listGlossariesCallable()

public UnaryCallable<ListGlossariesRequest,ListGlossariesResponse> listGlossariesCallable()
Returns
Type Description
UnaryCallable<ListGlossariesRequest,ListGlossariesResponse>
Overrides

listGlossariesPagedCallable()

public UnaryCallable<ListGlossariesRequest,BusinessGlossaryServiceClient.ListGlossariesPagedResponse> listGlossariesPagedCallable()
Returns
Type Description
UnaryCallable<ListGlossariesRequest,ListGlossariesPagedResponse>
Overrides

listGlossaryCategoriesCallable()

public UnaryCallable<ListGlossaryCategoriesRequest,ListGlossaryCategoriesResponse> listGlossaryCategoriesCallable()
Returns
Type Description
UnaryCallable<ListGlossaryCategoriesRequest,ListGlossaryCategoriesResponse>
Overrides

listGlossaryCategoriesPagedCallable()

public UnaryCallable<ListGlossaryCategoriesRequest,BusinessGlossaryServiceClient.ListGlossaryCategoriesPagedResponse> listGlossaryCategoriesPagedCallable()
Returns
Type Description
UnaryCallable<ListGlossaryCategoriesRequest,ListGlossaryCategoriesPagedResponse>
Overrides

listGlossaryTermsCallable()

public UnaryCallable<ListGlossaryTermsRequest,ListGlossaryTermsResponse> listGlossaryTermsCallable()
Returns
Type Description
UnaryCallable<ListGlossaryTermsRequest,ListGlossaryTermsResponse>
Overrides

listGlossaryTermsPagedCallable()

public UnaryCallable<ListGlossaryTermsRequest,BusinessGlossaryServiceClient.ListGlossaryTermsPagedResponse> listGlossaryTermsPagedCallable()
Returns
Type Description
UnaryCallable<ListGlossaryTermsRequest,ListGlossaryTermsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,BusinessGlossaryServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateGlossaryCallable()

public UnaryCallable<UpdateGlossaryRequest,Operation> updateGlossaryCallable()
Returns
Type Description
UnaryCallable<UpdateGlossaryRequest,Operation>
Overrides

updateGlossaryCategoryCallable()

public UnaryCallable<UpdateGlossaryCategoryRequest,GlossaryCategory> updateGlossaryCategoryCallable()
Returns
Type Description
UnaryCallable<UpdateGlossaryCategoryRequest,GlossaryCategory>
Overrides

updateGlossaryOperationCallable()

public OperationCallable<UpdateGlossaryRequest,Glossary,OperationMetadata> updateGlossaryOperationCallable()
Returns
Type Description
OperationCallable<UpdateGlossaryRequest,Glossary,OperationMetadata>
Overrides

updateGlossaryTermCallable()

public UnaryCallable<UpdateGlossaryTermRequest,GlossaryTerm> updateGlossaryTermCallable()
Returns
Type Description
UnaryCallable<UpdateGlossaryTermRequest,GlossaryTerm>
Overrides