Class HttpJsonCatalogServiceStub (1.39.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()
Returns
TypeDescription
UnaryCallable<CreateAspectTypeRequest,Operation>
Overrides

createAspectTypeOperationCallable()

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

createEntryCallable()

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

createEntryGroupCallable()

public UnaryCallable<CreateEntryGroupRequest,Operation> createEntryGroupCallable()
Returns
TypeDescription
UnaryCallable<CreateEntryGroupRequest,Operation>
Overrides

createEntryGroupOperationCallable()

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

createEntryTypeCallable()

public UnaryCallable<CreateEntryTypeRequest,Operation> createEntryTypeCallable()
Returns
TypeDescription
UnaryCallable<CreateEntryTypeRequest,Operation>
Overrides

createEntryTypeOperationCallable()

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

deleteAspectTypeCallable()

public UnaryCallable<DeleteAspectTypeRequest,Operation> deleteAspectTypeCallable()
Returns
TypeDescription
UnaryCallable<DeleteAspectTypeRequest,Operation>
Overrides

deleteAspectTypeOperationCallable()

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

deleteEntryCallable()

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

deleteEntryGroupCallable()

public UnaryCallable<DeleteEntryGroupRequest,Operation> deleteEntryGroupCallable()
Returns
TypeDescription
UnaryCallable<DeleteEntryGroupRequest,Operation>
Overrides

deleteEntryGroupOperationCallable()

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

deleteEntryTypeCallable()

public UnaryCallable<DeleteEntryTypeRequest,Operation> deleteEntryTypeCallable()
Returns
TypeDescription
UnaryCallable<DeleteEntryTypeRequest,Operation>
Overrides

deleteEntryTypeOperationCallable()

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

getAspectTypeCallable()

public UnaryCallable<GetAspectTypeRequest,AspectType> getAspectTypeCallable()
Returns
TypeDescription
UnaryCallable<GetAspectTypeRequest,AspectType>
Overrides

getEntryCallable()

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

getEntryGroupCallable()

public UnaryCallable<GetEntryGroupRequest,EntryGroup> getEntryGroupCallable()
Returns
TypeDescription
UnaryCallable<GetEntryGroupRequest,EntryGroup>
Overrides

getEntryTypeCallable()

public UnaryCallable<GetEntryTypeRequest,EntryType> getEntryTypeCallable()
Returns
TypeDescription
UnaryCallable<GetEntryTypeRequest,EntryType>
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()
Returns
TypeDescription
UnaryCallable<ListAspectTypesRequest,ListAspectTypesResponse>
Overrides

listAspectTypesPagedCallable()

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

listEntriesCallable()

public UnaryCallable<ListEntriesRequest,ListEntriesResponse> listEntriesCallable()
Returns
TypeDescription
UnaryCallable<ListEntriesRequest,ListEntriesResponse>
Overrides

listEntriesPagedCallable()

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

listEntryGroupsCallable()

public UnaryCallable<ListEntryGroupsRequest,ListEntryGroupsResponse> listEntryGroupsCallable()
Returns
TypeDescription
UnaryCallable<ListEntryGroupsRequest,ListEntryGroupsResponse>
Overrides

listEntryGroupsPagedCallable()

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

listEntryTypesCallable()

public UnaryCallable<ListEntryTypesRequest,ListEntryTypesResponse> listEntryTypesCallable()
Returns
TypeDescription
UnaryCallable<ListEntryTypesRequest,ListEntryTypesResponse>
Overrides

listEntryTypesPagedCallable()

public UnaryCallable<ListEntryTypesRequest,CatalogServiceClient.ListEntryTypesPagedResponse> listEntryTypesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListEntryTypesRequest,ListEntryTypesPagedResponse>
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()
Returns
TypeDescription
UnaryCallable<SearchEntriesRequest,SearchEntriesResponse>
Overrides

searchEntriesPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAspectTypeCallable()

public UnaryCallable<UpdateAspectTypeRequest,Operation> updateAspectTypeCallable()
Returns
TypeDescription
UnaryCallable<UpdateAspectTypeRequest,Operation>
Overrides

updateAspectTypeOperationCallable()

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

updateEntryCallable()

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

updateEntryGroupCallable()

public UnaryCallable<UpdateEntryGroupRequest,Operation> updateEntryGroupCallable()
Returns
TypeDescription
UnaryCallable<UpdateEntryGroupRequest,Operation>
Overrides

updateEntryGroupOperationCallable()

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

updateEntryTypeCallable()

public UnaryCallable<UpdateEntryTypeRequest,Operation> updateEntryTypeCallable()
Returns
TypeDescription
UnaryCallable<UpdateEntryTypeRequest,Operation>
Overrides

updateEntryTypeOperationCallable()

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