Class EventarcGrpc.EventarcFutureStub (1.22.0)

public static final class EventarcGrpc.EventarcFutureStub extends AbstractFutureStub<EventarcGrpc.EventarcFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service Eventarc.

Eventarc allows users to subscribe to various events that are provided by Google Cloud services and forward them to supported destinations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > EventarcGrpc.EventarcFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected EventarcGrpc.EventarcFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
EventarcGrpc.EventarcFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createChannel(CreateChannelRequest request)

public ListenableFuture<Operation> createChannel(CreateChannelRequest request)

Create a new channel in a particular project and location.

Parameter
NameDescription
requestCreateChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createChannelConnection(CreateChannelConnectionRequest request)

public ListenableFuture<Operation> createChannelConnection(CreateChannelConnectionRequest request)

Create a new ChannelConnection in a particular project and location.

Parameter
NameDescription
requestCreateChannelConnectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createTrigger(CreateTriggerRequest request)

public ListenableFuture<Operation> createTrigger(CreateTriggerRequest request)

Create a new trigger in a particular project and location.

Parameter
NameDescription
requestCreateTriggerRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteChannel(DeleteChannelRequest request)

public ListenableFuture<Operation> deleteChannel(DeleteChannelRequest request)

Delete a single channel.

Parameter
NameDescription
requestDeleteChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteChannelConnection(DeleteChannelConnectionRequest request)

public ListenableFuture<Operation> deleteChannelConnection(DeleteChannelConnectionRequest request)

Delete a single ChannelConnection.

Parameter
NameDescription
requestDeleteChannelConnectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTrigger(DeleteTriggerRequest request)

public ListenableFuture<Operation> deleteTrigger(DeleteTriggerRequest request)

Delete a single trigger.

Parameter
NameDescription
requestDeleteTriggerRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getChannel(GetChannelRequest request)

public ListenableFuture<Channel> getChannel(GetChannelRequest request)

Get a single Channel.

Parameter
NameDescription
requestGetChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Channel>

getChannelConnection(GetChannelConnectionRequest request)

public ListenableFuture<ChannelConnection> getChannelConnection(GetChannelConnectionRequest request)

Get a single ChannelConnection.

Parameter
NameDescription
requestGetChannelConnectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ChannelConnection>

getGoogleChannelConfig(GetGoogleChannelConfigRequest request)

public ListenableFuture<GoogleChannelConfig> getGoogleChannelConfig(GetGoogleChannelConfigRequest request)

Get a GoogleChannelConfig

Parameter
NameDescription
requestGetGoogleChannelConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<GoogleChannelConfig>

getProvider(GetProviderRequest request)

public ListenableFuture<Provider> getProvider(GetProviderRequest request)

Get a single Provider.

Parameter
NameDescription
requestGetProviderRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Provider>

getTrigger(GetTriggerRequest request)

public ListenableFuture<Trigger> getTrigger(GetTriggerRequest request)

Get a single trigger.

Parameter
NameDescription
requestGetTriggerRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Trigger>

listChannelConnections(ListChannelConnectionsRequest request)

public ListenableFuture<ListChannelConnectionsResponse> listChannelConnections(ListChannelConnectionsRequest request)

List channel connections.

Parameter
NameDescription
requestListChannelConnectionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListChannelConnectionsResponse>

listChannels(ListChannelsRequest request)

public ListenableFuture<ListChannelsResponse> listChannels(ListChannelsRequest request)

List channels.

Parameter
NameDescription
requestListChannelsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListChannelsResponse>

listProviders(ListProvidersRequest request)

public ListenableFuture<ListProvidersResponse> listProviders(ListProvidersRequest request)

List providers.

Parameter
NameDescription
requestListProvidersRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListProvidersResponse>

listTriggers(ListTriggersRequest request)

public ListenableFuture<ListTriggersResponse> listTriggers(ListTriggersRequest request)

List triggers.

Parameter
NameDescription
requestListTriggersRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListTriggersResponse>

updateChannel(UpdateChannelRequest request)

public ListenableFuture<Operation> updateChannel(UpdateChannelRequest request)

Update a single channel.

Parameter
NameDescription
requestUpdateChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateGoogleChannelConfig(UpdateGoogleChannelConfigRequest request)

public ListenableFuture<GoogleChannelConfig> updateGoogleChannelConfig(UpdateGoogleChannelConfigRequest request)

Update a single GoogleChannelConfig

Parameter
NameDescription
requestUpdateGoogleChannelConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<GoogleChannelConfig>

updateTrigger(UpdateTriggerRequest request)

public ListenableFuture<Operation> updateTrigger(UpdateTriggerRequest request)

Update a single trigger.

Parameter
NameDescription
requestUpdateTriggerRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>