Class GrpcEventarcStub
- java.lang.Object
-
- com.google.cloud.eventarc.v1.stub.EventarcStub
-
- com.google.cloud.eventarc.v1.stub.GrpcEventarcStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcEventarcStub(EventarcStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcEventarcStub, using the given settings.protectedGrpcEventarcStub(EventarcStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcEventarcStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static GrpcEventarcStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcEventarcStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcEventarcStubcreate(EventarcStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateChannelRequest,com.google.longrunning.Operation>createChannelCallable()com.google.api.gax.rpc.UnaryCallable<CreateChannelConnectionRequest,com.google.longrunning.Operation>createChannelConnectionCallable()com.google.api.gax.rpc.OperationCallable<CreateChannelConnectionRequest,ChannelConnection,OperationMetadata>createChannelConnectionOperationCallable()com.google.api.gax.rpc.OperationCallable<CreateChannelRequest,Channel,OperationMetadata>createChannelOperationCallable()com.google.api.gax.rpc.UnaryCallable<CreateTriggerRequest,com.google.longrunning.Operation>createTriggerCallable()com.google.api.gax.rpc.OperationCallable<CreateTriggerRequest,Trigger,OperationMetadata>createTriggerOperationCallable()com.google.api.gax.rpc.UnaryCallable<DeleteChannelRequest,com.google.longrunning.Operation>deleteChannelCallable()com.google.api.gax.rpc.UnaryCallable<DeleteChannelConnectionRequest,com.google.longrunning.Operation>deleteChannelConnectionCallable()com.google.api.gax.rpc.OperationCallable<DeleteChannelConnectionRequest,ChannelConnection,OperationMetadata>deleteChannelConnectionOperationCallable()com.google.api.gax.rpc.OperationCallable<DeleteChannelRequest,Channel,OperationMetadata>deleteChannelOperationCallable()com.google.api.gax.rpc.UnaryCallable<DeleteTriggerRequest,com.google.longrunning.Operation>deleteTriggerCallable()com.google.api.gax.rpc.OperationCallable<DeleteTriggerRequest,Trigger,OperationMetadata>deleteTriggerOperationCallable()com.google.api.gax.rpc.UnaryCallable<GetChannelRequest,Channel>getChannelCallable()com.google.api.gax.rpc.UnaryCallable<GetChannelConnectionRequest,ChannelConnection>getChannelConnectionCallable()com.google.api.gax.rpc.UnaryCallable<GetGoogleChannelConfigRequest,GoogleChannelConfig>getGoogleChannelConfigCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>getIamPolicyCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>getLocationCallable()com.google.longrunning.stub.GrpcOperationsStubgetOperationsStub()com.google.api.gax.rpc.UnaryCallable<GetProviderRequest,Provider>getProviderCallable()com.google.api.gax.rpc.UnaryCallable<GetTriggerRequest,Trigger>getTriggerCallable()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsResponse>listChannelConnectionsCallable()com.google.api.gax.rpc.UnaryCallable<ListChannelConnectionsRequest,EventarcClient.ListChannelConnectionsPagedResponse>listChannelConnectionsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListChannelsRequest,ListChannelsResponse>listChannelsCallable()com.google.api.gax.rpc.UnaryCallable<ListChannelsRequest,EventarcClient.ListChannelsPagedResponse>listChannelsPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>listLocationsCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,EventarcClient.ListLocationsPagedResponse>listLocationsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListProvidersRequest,ListProvidersResponse>listProvidersCallable()com.google.api.gax.rpc.UnaryCallable<ListProvidersRequest,EventarcClient.ListProvidersPagedResponse>listProvidersPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListTriggersRequest,ListTriggersResponse>listTriggersCallable()com.google.api.gax.rpc.UnaryCallable<ListTriggersRequest,EventarcClient.ListTriggersPagedResponse>listTriggersPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>setIamPolicyCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>testIamPermissionsCallable()com.google.api.gax.rpc.UnaryCallable<UpdateChannelRequest,com.google.longrunning.Operation>updateChannelCallable()com.google.api.gax.rpc.OperationCallable<UpdateChannelRequest,Channel,OperationMetadata>updateChannelOperationCallable()com.google.api.gax.rpc.UnaryCallable<UpdateGoogleChannelConfigRequest,GoogleChannelConfig>updateGoogleChannelConfigCallable()com.google.api.gax.rpc.UnaryCallable<UpdateTriggerRequest,com.google.longrunning.Operation>updateTriggerCallable()com.google.api.gax.rpc.OperationCallable<UpdateTriggerRequest,Trigger,OperationMetadata>updateTriggerOperationCallable()-
Methods inherited from class com.google.cloud.eventarc.v1.stub.EventarcStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcEventarcStub
protected GrpcEventarcStub(EventarcStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcEventarcStub
protected GrpcEventarcStub(EventarcStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcEventarcStub create(EventarcStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcEventarcStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcEventarcStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStubin classEventarcStub
-
getTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<GetTriggerRequest,Trigger> getTriggerCallable()
- Overrides:
getTriggerCallablein classEventarcStub
-
listTriggersCallable
public com.google.api.gax.rpc.UnaryCallable<ListTriggersRequest,ListTriggersResponse> listTriggersCallable()
- Overrides:
listTriggersCallablein classEventarcStub
-
listTriggersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTriggersRequest,EventarcClient.ListTriggersPagedResponse> listTriggersPagedCallable()
- Overrides:
listTriggersPagedCallablein classEventarcStub
-
createTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTriggerRequest,com.google.longrunning.Operation> createTriggerCallable()
- Overrides:
createTriggerCallablein classEventarcStub
-
createTriggerOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateTriggerRequest,Trigger,OperationMetadata> createTriggerOperationCallable()
- Overrides:
createTriggerOperationCallablein classEventarcStub
-
updateTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTriggerRequest,com.google.longrunning.Operation> updateTriggerCallable()
- Overrides:
updateTriggerCallablein classEventarcStub
-
updateTriggerOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateTriggerRequest,Trigger,OperationMetadata> updateTriggerOperationCallable()
- Overrides:
updateTriggerOperationCallablein classEventarcStub
-
deleteTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTriggerRequest,com.google.longrunning.Operation> deleteTriggerCallable()
- Overrides:
deleteTriggerCallablein classEventarcStub
-
deleteTriggerOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteTriggerRequest,Trigger,OperationMetadata> deleteTriggerOperationCallable()
- Overrides:
deleteTriggerOperationCallablein classEventarcStub
-
getChannelCallable
public com.google.api.gax.rpc.UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
- Overrides:
getChannelCallablein classEventarcStub
-
listChannelsCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelsRequest,ListChannelsResponse> listChannelsCallable()
- Overrides:
listChannelsCallablein classEventarcStub
-
listChannelsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelsRequest,EventarcClient.ListChannelsPagedResponse> listChannelsPagedCallable()
- Overrides:
listChannelsPagedCallablein classEventarcStub
-
createChannelCallable
public com.google.api.gax.rpc.UnaryCallable<CreateChannelRequest,com.google.longrunning.Operation> createChannelCallable()
- Overrides:
createChannelCallablein classEventarcStub
-
createChannelOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationCallable()
- Overrides:
createChannelOperationCallablein classEventarcStub
-
updateChannelCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateChannelRequest,com.google.longrunning.Operation> updateChannelCallable()
- Overrides:
updateChannelCallablein classEventarcStub
-
updateChannelOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationCallable()
- Overrides:
updateChannelOperationCallablein classEventarcStub
-
deleteChannelCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteChannelRequest,com.google.longrunning.Operation> deleteChannelCallable()
- Overrides:
deleteChannelCallablein classEventarcStub
-
deleteChannelOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteChannelRequest,Channel,OperationMetadata> deleteChannelOperationCallable()
- Overrides:
deleteChannelOperationCallablein classEventarcStub
-
getProviderCallable
public com.google.api.gax.rpc.UnaryCallable<GetProviderRequest,Provider> getProviderCallable()
- Overrides:
getProviderCallablein classEventarcStub
-
listProvidersCallable
public com.google.api.gax.rpc.UnaryCallable<ListProvidersRequest,ListProvidersResponse> listProvidersCallable()
- Overrides:
listProvidersCallablein classEventarcStub
-
listProvidersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListProvidersRequest,EventarcClient.ListProvidersPagedResponse> listProvidersPagedCallable()
- Overrides:
listProvidersPagedCallablein classEventarcStub
-
getChannelConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<GetChannelConnectionRequest,ChannelConnection> getChannelConnectionCallable()
- Overrides:
getChannelConnectionCallablein classEventarcStub
-
listChannelConnectionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsResponse> listChannelConnectionsCallable()
- Overrides:
listChannelConnectionsCallablein classEventarcStub
-
listChannelConnectionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelConnectionsRequest,EventarcClient.ListChannelConnectionsPagedResponse> listChannelConnectionsPagedCallable()
- Overrides:
listChannelConnectionsPagedCallablein classEventarcStub
-
createChannelConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<CreateChannelConnectionRequest,com.google.longrunning.Operation> createChannelConnectionCallable()
- Overrides:
createChannelConnectionCallablein classEventarcStub
-
createChannelConnectionOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateChannelConnectionRequest,ChannelConnection,OperationMetadata> createChannelConnectionOperationCallable()
- Overrides:
createChannelConnectionOperationCallablein classEventarcStub
-
deleteChannelConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteChannelConnectionRequest,com.google.longrunning.Operation> deleteChannelConnectionCallable()
- Overrides:
deleteChannelConnectionCallablein classEventarcStub
-
deleteChannelConnectionOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteChannelConnectionRequest,ChannelConnection,OperationMetadata> deleteChannelConnectionOperationCallable()
- Overrides:
deleteChannelConnectionOperationCallablein classEventarcStub
-
getGoogleChannelConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetGoogleChannelConfigRequest,GoogleChannelConfig> getGoogleChannelConfigCallable()
- Overrides:
getGoogleChannelConfigCallablein classEventarcStub
-
updateGoogleChannelConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateGoogleChannelConfigRequest,GoogleChannelConfig> updateGoogleChannelConfigCallable()
- Overrides:
updateGoogleChannelConfigCallablein classEventarcStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classEventarcStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,EventarcClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classEventarcStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classEventarcStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classEventarcStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classEventarcStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classEventarcStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classEventarcStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-