Class GrpcFeedsServiceStub (0.37.0)

public class GrpcFeedsServiceStub extends FeedsServiceStub

gRPC stub implementation for the FeedsService service API.

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

Inheritance

java.lang.Object > FeedsServiceStub > GrpcFeedsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(FeedsServiceStubSettings settings)

public static final GrpcFeedsServiceStub create(FeedsServiceStubSettings settings)
Parameter
Name Description
settings FeedsServiceStubSettings
Returns
Type Description
GrpcFeedsServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcFeedsServiceStub(FeedsServiceStubSettings settings, ClientContext clientContext)

protected GrpcFeedsServiceStub(FeedsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcFeedsServiceStub, 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 FeedsServiceStubSettings
clientContext ClientContext

GrpcFeedsServiceStub(FeedsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcFeedsServiceStub(FeedsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

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

createFeedCallable()

public UnaryCallable<CreateFeedRequest,Feed> createFeedCallable()
Returns
Type Description
UnaryCallable<CreateFeedRequest,Feed>
Overrides

deleteFeedCallable()

public UnaryCallable<DeleteFeedRequest,Empty> deleteFeedCallable()
Returns
Type Description
UnaryCallable<DeleteFeedRequest,Empty>
Overrides

disableFeedCallable()

public UnaryCallable<DisableFeedRequest,Feed> disableFeedCallable()
Returns
Type Description
UnaryCallable<DisableFeedRequest,Feed>
Overrides

enableFeedCallable()

public UnaryCallable<EnableFeedRequest,Feed> enableFeedCallable()
Returns
Type Description
UnaryCallable<EnableFeedRequest,Feed>
Overrides

fetchServiceAccountForCustomerCallable()

public UnaryCallable<FetchServiceAccountForCustomerRequest,FeedServiceAccount> fetchServiceAccountForCustomerCallable()
Returns
Type Description
UnaryCallable<FetchServiceAccountForCustomerRequest,FeedServiceAccount>
Overrides

generateSecretCallable()

public UnaryCallable<GenerateSecretRequest,GenerateSecretResponse> generateSecretCallable()
Returns
Type Description
UnaryCallable<GenerateSecretRequest,GenerateSecretResponse>
Overrides

getFeedCallable()

public UnaryCallable<GetFeedRequest,Feed> getFeedCallable()
Returns
Type Description
UnaryCallable<GetFeedRequest,Feed>
Overrides

getFeedPackCallable()

public UnaryCallable<GetFeedPackRequest,FeedPack> getFeedPackCallable()
Returns
Type Description
UnaryCallable<GetFeedPackRequest,FeedPack>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

importPushLogsCallable()

public UnaryCallable<ImportPushLogsRequest,HttpBody> importPushLogsCallable()
Returns
Type Description
UnaryCallable<ImportPushLogsRequest,com.google.api.HttpBody>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listFeedPacksCallable()

public UnaryCallable<ListFeedPacksRequest,ListFeedPacksResponse> listFeedPacksCallable()
Returns
Type Description
UnaryCallable<ListFeedPacksRequest,ListFeedPacksResponse>
Overrides

listFeedPacksPagedCallable()

public UnaryCallable<ListFeedPacksRequest,FeedsServiceClient.ListFeedPacksPagedResponse> listFeedPacksPagedCallable()
Returns
Type Description
UnaryCallable<ListFeedPacksRequest,ListFeedPacksPagedResponse>
Overrides

listFeedSourceTypeSchemasCallable()

public UnaryCallable<ListFeedSourceTypeSchemasRequest,ListFeedSourceTypeSchemasResponse> listFeedSourceTypeSchemasCallable()
Returns
Type Description
UnaryCallable<ListFeedSourceTypeSchemasRequest,ListFeedSourceTypeSchemasResponse>
Overrides

listFeedSourceTypeSchemasPagedCallable()

public UnaryCallable<ListFeedSourceTypeSchemasRequest,FeedsServiceClient.ListFeedSourceTypeSchemasPagedResponse> listFeedSourceTypeSchemasPagedCallable()
Returns
Type Description
UnaryCallable<ListFeedSourceTypeSchemasRequest,ListFeedSourceTypeSchemasPagedResponse>
Overrides

listFeedsCallable()

public UnaryCallable<ListFeedsRequest,ListFeedsResponse> listFeedsCallable()
Returns
Type Description
UnaryCallable<ListFeedsRequest,ListFeedsResponse>
Overrides

listFeedsPagedCallable()

public UnaryCallable<ListFeedsRequest,FeedsServiceClient.ListFeedsPagedResponse> listFeedsPagedCallable()
Returns
Type Description
UnaryCallable<ListFeedsRequest,ListFeedsPagedResponse>
Overrides

listLogTypeSchemasCallable()

public UnaryCallable<ListLogTypeSchemasRequest,ListLogTypeSchemasResponse> listLogTypeSchemasCallable()
Returns
Type Description
UnaryCallable<ListLogTypeSchemasRequest,ListLogTypeSchemasResponse>
Overrides

listLogTypeSchemasPagedCallable()

public UnaryCallable<ListLogTypeSchemasRequest,FeedsServiceClient.ListLogTypeSchemasPagedResponse> listLogTypeSchemasPagedCallable()
Returns
Type Description
UnaryCallable<ListLogTypeSchemasRequest,ListLogTypeSchemasPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateFeedCallable()

public UnaryCallable<UpdateFeedRequest,Feed> updateFeedCallable()
Returns
Type Description
UnaryCallable<UpdateFeedRequest,Feed>
Overrides