Class GrpcCatalogServiceStub (1.37.0)

public class GrpcCatalogServiceStub extends CatalogServiceStub

gRPC stub implementation for the CatalogService service API.

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

Inheritance

java.lang.Object > CatalogServiceStub > GrpcCatalogServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcCatalogServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcCatalogServiceStub
Exceptions
TypeDescription
IOException

create(CatalogServiceStubSettings settings)

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

Constructors

GrpcCatalogServiceStub(CatalogServiceStubSettings settings, ClientContext clientContext)

protected GrpcCatalogServiceStub(CatalogServiceStubSettings settings, ClientContext clientContext)

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

GrpcCatalogServiceStub(CatalogServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCatalogServiceStub(CatalogServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

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

getLocationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
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