Class HttpJsonBusinessGlossaryServiceStub (1.72.0)

public class HttpJsonBusinessGlossaryServiceStub extends BusinessGlossaryServiceStub

REST stub implementation for the BusinessGlossaryService service API.

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

Inheritance

java.lang.Object > BusinessGlossaryServiceStub > HttpJsonBusinessGlossaryServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(BusinessGlossaryServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonBusinessGlossaryServiceStub(BusinessGlossaryServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonBusinessGlossaryServiceStub(BusinessGlossaryServiceStubSettings settings, ClientContext clientContext)

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

HttpJsonBusinessGlossaryServiceStub(BusinessGlossaryServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonBusinessGlossaryServiceStub(BusinessGlossaryServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonBusinessGlossaryServiceStub, 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 HttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
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