Class GrpcDataObjectSearchServiceStub (0.1.0)

public class GrpcDataObjectSearchServiceStub extends DataObjectSearchServiceStub

gRPC stub implementation for the DataObjectSearchService service API.

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

Inheritance

java.lang.Object > DataObjectSearchServiceStub > GrpcDataObjectSearchServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(DataObjectSearchServiceStubSettings settings)

public static final GrpcDataObjectSearchServiceStub create(DataObjectSearchServiceStubSettings settings)
Parameter
Name Description
settings DataObjectSearchServiceStubSettings
Returns
Type Description
GrpcDataObjectSearchServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcDataObjectSearchServiceStub(DataObjectSearchServiceStubSettings settings, ClientContext clientContext)

protected GrpcDataObjectSearchServiceStub(DataObjectSearchServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcDataObjectSearchServiceStub, 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 DataObjectSearchServiceStubSettings
clientContext ClientContext

GrpcDataObjectSearchServiceStub(DataObjectSearchServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDataObjectSearchServiceStub(DataObjectSearchServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcDataObjectSearchServiceStub, 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 DataObjectSearchServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

aggregateDataObjectsCallable()

public UnaryCallable<AggregateDataObjectsRequest,AggregateDataObjectsResponse> aggregateDataObjectsCallable()
Returns
Type Description
UnaryCallable<AggregateDataObjectsRequest,AggregateDataObjectsResponse>
Overrides

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

batchSearchDataObjectsCallable()

public UnaryCallable<BatchSearchDataObjectsRequest,BatchSearchDataObjectsResponse> batchSearchDataObjectsCallable()
Returns
Type Description
UnaryCallable<BatchSearchDataObjectsRequest,BatchSearchDataObjectsResponse>
Overrides

close()

public final void close()
Overrides

getLocationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

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

queryDataObjectsCallable()

public UnaryCallable<QueryDataObjectsRequest,QueryDataObjectsResponse> queryDataObjectsCallable()
Returns
Type Description
UnaryCallable<QueryDataObjectsRequest,QueryDataObjectsResponse>
Overrides

queryDataObjectsPagedCallable()

public UnaryCallable<QueryDataObjectsRequest,DataObjectSearchServiceClient.QueryDataObjectsPagedResponse> queryDataObjectsPagedCallable()
Returns
Type Description
UnaryCallable<QueryDataObjectsRequest,QueryDataObjectsPagedResponse>
Overrides

searchDataObjectsCallable()

public UnaryCallable<SearchDataObjectsRequest,SearchDataObjectsResponse> searchDataObjectsCallable()
Returns
Type Description
UnaryCallable<SearchDataObjectsRequest,SearchDataObjectsResponse>
Overrides

searchDataObjectsPagedCallable()

public UnaryCallable<SearchDataObjectsRequest,DataObjectSearchServiceClient.SearchDataObjectsPagedResponse> searchDataObjectsPagedCallable()
Returns
Type Description
UnaryCallable<SearchDataObjectsRequest,SearchDataObjectsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()