Class HttpJsonCatalogServiceStub (1.38.0)

public class HttpJsonCatalogServiceStub extends CatalogServiceStub

REST stub implementation for the CatalogService service API.

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

Inheritance

java.lang.Object > CatalogServiceStub > HttpJsonCatalogServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonCatalogServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonCatalogServiceStub
Exceptions
TypeDescription
IOException

create(CatalogServiceStubSettings settings)

public static final HttpJsonCatalogServiceStub create(CatalogServiceStubSettings settings)
Parameter
NameDescription
settingsCatalogServiceStubSettings
Returns
TypeDescription
HttpJsonCatalogServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonCatalogServiceStub(CatalogServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonCatalogServiceStub(CatalogServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonCatalogServiceStub, 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
settingsCatalogServiceStubSettings
clientContextClientContext

HttpJsonCatalogServiceStub(CatalogServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCatalogServiceStub(CatalogServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonCatalogServiceStub, 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
settingsCatalogServiceStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

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

createAspectTypeCallable()

public UnaryCallable<CreateAspectTypeRequest,Operation> createAspectTypeCallable()
Overrides

createAspectTypeOperationCallable()

public OperationCallable<CreateAspectTypeRequest,AspectType,OperationMetadata> createAspectTypeOperationCallable()
Overrides

createEntryCallable()

public UnaryCallable<CreateEntryRequest,Entry> createEntryCallable()
Returns
TypeDescription
UnaryCallable<CreateEntryRequest,Entry>
Overrides

createEntryGroupCallable()

public UnaryCallable<CreateEntryGroupRequest,Operation> createEntryGroupCallable()
Overrides

createEntryGroupOperationCallable()

public OperationCallable<CreateEntryGroupRequest,EntryGroup,OperationMetadata> createEntryGroupOperationCallable()
Overrides

createEntryTypeCallable()

public UnaryCallable<CreateEntryTypeRequest,Operation> createEntryTypeCallable()
Overrides

createEntryTypeOperationCallable()

public OperationCallable<CreateEntryTypeRequest,EntryType,OperationMetadata> createEntryTypeOperationCallable()
Overrides

deleteAspectTypeCallable()

public UnaryCallable<DeleteAspectTypeRequest,Operation> deleteAspectTypeCallable()
Overrides

deleteAspectTypeOperationCallable()

public OperationCallable<DeleteAspectTypeRequest,Empty,OperationMetadata> deleteAspectTypeOperationCallable()
Overrides

deleteEntryCallable()

public UnaryCallable<DeleteEntryRequest,Entry> deleteEntryCallable()
Returns
TypeDescription
UnaryCallable<DeleteEntryRequest,Entry>
Overrides

deleteEntryGroupCallable()

public UnaryCallable<DeleteEntryGroupRequest,Operation> deleteEntryGroupCallable()
Overrides

deleteEntryGroupOperationCallable()

public OperationCallable<DeleteEntryGroupRequest,Empty,OperationMetadata> deleteEntryGroupOperationCallable()
Overrides

deleteEntryTypeCallable()

public UnaryCallable<DeleteEntryTypeRequest,Operation> deleteEntryTypeCallable()
Overrides

deleteEntryTypeOperationCallable()

public OperationCallable<DeleteEntryTypeRequest,Empty,OperationMetadata> deleteEntryTypeOperationCallable()
Overrides

getAspectTypeCallable()

public UnaryCallable<GetAspectTypeRequest,AspectType> getAspectTypeCallable()
Overrides

getEntryCallable()

public UnaryCallable<GetEntryRequest,Entry> getEntryCallable()
Returns
TypeDescription
UnaryCallable<GetEntryRequest,Entry>
Overrides

getEntryGroupCallable()

public UnaryCallable<GetEntryGroupRequest,EntryGroup> getEntryGroupCallable()
Overrides

getEntryTypeCallable()

public UnaryCallable<GetEntryTypeRequest,EntryType> getEntryTypeCallable()
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getLocationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAspectTypesCallable()

public UnaryCallable<ListAspectTypesRequest,ListAspectTypesResponse> listAspectTypesCallable()
Overrides

listAspectTypesPagedCallable()

public UnaryCallable<ListAspectTypesRequest,CatalogServiceClient.ListAspectTypesPagedResponse> listAspectTypesPagedCallable()
Overrides

listEntriesCallable()

public UnaryCallable<ListEntriesRequest,ListEntriesResponse> listEntriesCallable()
Overrides

listEntriesPagedCallable()

public UnaryCallable<ListEntriesRequest,CatalogServiceClient.ListEntriesPagedResponse> listEntriesPagedCallable()
Overrides

listEntryGroupsCallable()

public UnaryCallable<ListEntryGroupsRequest,ListEntryGroupsResponse> listEntryGroupsCallable()
Overrides

listEntryGroupsPagedCallable()

public UnaryCallable<ListEntryGroupsRequest,CatalogServiceClient.ListEntryGroupsPagedResponse> listEntryGroupsPagedCallable()
Overrides

listEntryTypesCallable()

public UnaryCallable<ListEntryTypesRequest,ListEntryTypesResponse> listEntryTypesCallable()
Overrides

listEntryTypesPagedCallable()

public UnaryCallable<ListEntryTypesRequest,CatalogServiceClient.ListEntryTypesPagedResponse> listEntryTypesPagedCallable()
Overrides

listLocationsCallable()

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

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,CatalogServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

lookupEntryCallable()

public UnaryCallable<LookupEntryRequest,Entry> lookupEntryCallable()
Returns
TypeDescription
UnaryCallable<LookupEntryRequest,Entry>
Overrides

searchEntriesCallable()

public UnaryCallable<SearchEntriesRequest,SearchEntriesResponse> searchEntriesCallable()
Overrides

searchEntriesPagedCallable()

public UnaryCallable<SearchEntriesRequest,CatalogServiceClient.SearchEntriesPagedResponse> searchEntriesPagedCallable()
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAspectTypeCallable()

public UnaryCallable<UpdateAspectTypeRequest,Operation> updateAspectTypeCallable()
Overrides

updateAspectTypeOperationCallable()

public OperationCallable<UpdateAspectTypeRequest,AspectType,OperationMetadata> updateAspectTypeOperationCallable()
Overrides

updateEntryCallable()

public UnaryCallable<UpdateEntryRequest,Entry> updateEntryCallable()
Returns
TypeDescription
UnaryCallable<UpdateEntryRequest,Entry>
Overrides

updateEntryGroupCallable()

public UnaryCallable<UpdateEntryGroupRequest,Operation> updateEntryGroupCallable()
Overrides

updateEntryGroupOperationCallable()

public OperationCallable<UpdateEntryGroupRequest,EntryGroup,OperationMetadata> updateEntryGroupOperationCallable()
Overrides

updateEntryTypeCallable()

public UnaryCallable<UpdateEntryTypeRequest,Operation> updateEntryTypeCallable()
Overrides

updateEntryTypeOperationCallable()

public OperationCallable<UpdateEntryTypeRequest,EntryType,OperationMetadata> updateEntryTypeOperationCallable()
Overrides