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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(CatalogServiceStubSettings settings)

public static final HttpJsonCatalogServiceStub create(CatalogServiceStubSettings settings)
Parameter
Name Description
settings CatalogServiceStubSettings
Returns
Type Description
HttpJsonCatalogServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings CatalogServiceStubSettings
clientContext ClientContext

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
Name Description
settings CatalogServiceStubSettings
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

createAspectTypeCallable()

public UnaryCallable<CreateAspectTypeRequest,Operation> createAspectTypeCallable()
Returns
Type Description
UnaryCallable<CreateAspectTypeRequest,Operation>
Overrides

createAspectTypeOperationCallable()

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

createEntryCallable()

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

createEntryGroupCallable()

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

createEntryGroupOperationCallable()

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

createEntryTypeCallable()

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

createEntryTypeOperationCallable()

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

deleteAspectTypeCallable()

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

deleteAspectTypeOperationCallable()

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

deleteEntryCallable()

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

deleteEntryGroupCallable()

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

deleteEntryGroupOperationCallable()

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

deleteEntryTypeCallable()

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

deleteEntryTypeOperationCallable()

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

getAspectTypeCallable()

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

getEntryCallable()

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

getEntryGroupCallable()

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

getEntryTypeCallable()

public UnaryCallable<GetEntryTypeRequest,EntryType> getEntryTypeCallable()
Returns
Type Description
UnaryCallable<GetEntryTypeRequest,EntryType>
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

listAspectTypesCallable()

public UnaryCallable<ListAspectTypesRequest,ListAspectTypesResponse> listAspectTypesCallable()
Returns
Type Description
UnaryCallable<ListAspectTypesRequest,ListAspectTypesResponse>
Overrides

listAspectTypesPagedCallable()

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

listEntriesCallable()

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

listEntriesPagedCallable()

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

listEntryGroupsCallable()

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

listEntryGroupsPagedCallable()

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

listEntryTypesCallable()

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

listEntryTypesPagedCallable()

public UnaryCallable<ListEntryTypesRequest,CatalogServiceClient.ListEntryTypesPagedResponse> listEntryTypesPagedCallable()
Returns
Type Description
UnaryCallable<ListEntryTypesRequest,ListEntryTypesPagedResponse>
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,CatalogServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

lookupEntryCallable()

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

searchEntriesCallable()

public UnaryCallable<SearchEntriesRequest,SearchEntriesResponse> searchEntriesCallable()
Returns
Type Description
UnaryCallable<SearchEntriesRequest,SearchEntriesResponse>
Overrides

searchEntriesPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAspectTypeCallable()

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

updateAspectTypeOperationCallable()

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

updateEntryCallable()

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

updateEntryGroupCallable()

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

updateEntryGroupOperationCallable()

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

updateEntryTypeCallable()

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

updateEntryTypeOperationCallable()

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