Class GrpcEventarcStub (1.27.0)

public class GrpcEventarcStub extends EventarcStub

gRPC stub implementation for the Eventarc service API.

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

Inheritance

java.lang.Object > EventarcStub > GrpcEventarcStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(EventarcStubSettings settings)

public static final GrpcEventarcStub create(EventarcStubSettings settings)
Parameter
NameDescription
settingsEventarcStubSettings
Returns
TypeDescription
GrpcEventarcStub
Exceptions
TypeDescription
IOException

Constructors

GrpcEventarcStub(EventarcStubSettings settings, ClientContext clientContext)

protected GrpcEventarcStub(EventarcStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcEventarcStub, 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
settingsEventarcStubSettings
clientContextClientContext

GrpcEventarcStub(EventarcStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcEventarcStub(EventarcStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

createChannelCallable()

public UnaryCallable<CreateChannelRequest,Operation> createChannelCallable()
Overrides

createChannelConnectionCallable()

public UnaryCallable<CreateChannelConnectionRequest,Operation> createChannelConnectionCallable()
Overrides

createChannelConnectionOperationCallable()

public OperationCallable<CreateChannelConnectionRequest,ChannelConnection,OperationMetadata> createChannelConnectionOperationCallable()
Overrides

createChannelOperationCallable()

public OperationCallable<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationCallable()
Overrides

createTriggerCallable()

public UnaryCallable<CreateTriggerRequest,Operation> createTriggerCallable()
Overrides

createTriggerOperationCallable()

public OperationCallable<CreateTriggerRequest,Trigger,OperationMetadata> createTriggerOperationCallable()
Overrides

deleteChannelCallable()

public UnaryCallable<DeleteChannelRequest,Operation> deleteChannelCallable()
Overrides

deleteChannelConnectionCallable()

public UnaryCallable<DeleteChannelConnectionRequest,Operation> deleteChannelConnectionCallable()
Overrides

deleteChannelConnectionOperationCallable()

public OperationCallable<DeleteChannelConnectionRequest,ChannelConnection,OperationMetadata> deleteChannelConnectionOperationCallable()
Overrides

deleteChannelOperationCallable()

public OperationCallable<DeleteChannelRequest,Channel,OperationMetadata> deleteChannelOperationCallable()
Overrides

deleteTriggerCallable()

public UnaryCallable<DeleteTriggerRequest,Operation> deleteTriggerCallable()
Overrides

deleteTriggerOperationCallable()

public OperationCallable<DeleteTriggerRequest,Trigger,OperationMetadata> deleteTriggerOperationCallable()
Overrides

getChannelCallable()

public UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
Returns
TypeDescription
UnaryCallable<GetChannelRequest,Channel>
Overrides

getChannelConnectionCallable()

public UnaryCallable<GetChannelConnectionRequest,ChannelConnection> getChannelConnectionCallable()
Overrides

getGoogleChannelConfigCallable()

public UnaryCallable<GetGoogleChannelConfigRequest,GoogleChannelConfig> getGoogleChannelConfigCallable()
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
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

getProviderCallable()

public UnaryCallable<GetProviderRequest,Provider> getProviderCallable()
Overrides

getTriggerCallable()

public UnaryCallable<GetTriggerRequest,Trigger> getTriggerCallable()
Returns
TypeDescription
UnaryCallable<GetTriggerRequest,Trigger>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listChannelConnectionsCallable()

public UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsResponse> listChannelConnectionsCallable()
Overrides

listChannelConnectionsPagedCallable()

public UnaryCallable<ListChannelConnectionsRequest,EventarcClient.ListChannelConnectionsPagedResponse> listChannelConnectionsPagedCallable()
Overrides

listChannelsCallable()

public UnaryCallable<ListChannelsRequest,ListChannelsResponse> listChannelsCallable()
Overrides

listChannelsPagedCallable()

public UnaryCallable<ListChannelsRequest,EventarcClient.ListChannelsPagedResponse> listChannelsPagedCallable()
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,EventarcClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listProvidersCallable()

public UnaryCallable<ListProvidersRequest,ListProvidersResponse> listProvidersCallable()
Overrides

listProvidersPagedCallable()

public UnaryCallable<ListProvidersRequest,EventarcClient.ListProvidersPagedResponse> listProvidersPagedCallable()
Overrides

listTriggersCallable()

public UnaryCallable<ListTriggersRequest,ListTriggersResponse> listTriggersCallable()
Overrides

listTriggersPagedCallable()

public UnaryCallable<ListTriggersRequest,EventarcClient.ListTriggersPagedResponse> listTriggersPagedCallable()
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateChannelCallable()

public UnaryCallable<UpdateChannelRequest,Operation> updateChannelCallable()
Overrides

updateChannelOperationCallable()

public OperationCallable<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationCallable()
Overrides

updateGoogleChannelConfigCallable()

public UnaryCallable<UpdateGoogleChannelConfigRequest,GoogleChannelConfig> updateGoogleChannelConfigCallable()
Overrides

updateTriggerCallable()

public UnaryCallable<UpdateTriggerRequest,Operation> updateTriggerCallable()
Overrides

updateTriggerOperationCallable()

public OperationCallable<UpdateTriggerRequest,Trigger,OperationMetadata> updateTriggerOperationCallable()
Overrides