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.
Static Methods
create(ClientContext clientContext)
public static final GrpcEventarcStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcEventarcStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(EventarcStubSettings settings)
public static final GrpcEventarcStub create(EventarcStubSettings settings)
Parameter
Returns
Exceptions
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createChannelCallable()
public UnaryCallable<CreateChannelRequest,Operation> createChannelCallable()
Returns
Overrides
createChannelConnectionCallable()
public UnaryCallable<CreateChannelConnectionRequest,Operation> createChannelConnectionCallable()
Returns
Overrides
createChannelConnectionOperationCallable()
public OperationCallable<CreateChannelConnectionRequest,ChannelConnection,OperationMetadata> createChannelConnectionOperationCallable()
Returns
Overrides
createChannelOperationCallable()
public OperationCallable<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationCallable()
Returns
Overrides
createTriggerCallable()
public UnaryCallable<CreateTriggerRequest,Operation> createTriggerCallable()
Returns
Overrides
createTriggerOperationCallable()
public OperationCallable<CreateTriggerRequest,Trigger,OperationMetadata> createTriggerOperationCallable()
Returns
Overrides
deleteChannelCallable()
public UnaryCallable<DeleteChannelRequest,Operation> deleteChannelCallable()
Returns
Overrides
deleteChannelConnectionCallable()
public UnaryCallable<DeleteChannelConnectionRequest,Operation> deleteChannelConnectionCallable()
Returns
Overrides
deleteChannelConnectionOperationCallable()
public OperationCallable<DeleteChannelConnectionRequest,ChannelConnection,OperationMetadata> deleteChannelConnectionOperationCallable()
Returns
Overrides
deleteChannelOperationCallable()
public OperationCallable<DeleteChannelRequest,Channel,OperationMetadata> deleteChannelOperationCallable()
Returns
Overrides
deleteTriggerCallable()
public UnaryCallable<DeleteTriggerRequest,Operation> deleteTriggerCallable()
Returns
Overrides
deleteTriggerOperationCallable()
public OperationCallable<DeleteTriggerRequest,Trigger,OperationMetadata> deleteTriggerOperationCallable()
Returns
Overrides
getChannelCallable()
public UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
Returns
Overrides
getChannelConnectionCallable()
public UnaryCallable<GetChannelConnectionRequest,ChannelConnection> getChannelConnectionCallable()
Returns
Overrides
getGoogleChannelConfigCallable()
public UnaryCallable<GetGoogleChannelConfigRequest,GoogleChannelConfig> getGoogleChannelConfigCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
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
Overrides
getProviderCallable()
public UnaryCallable<GetProviderRequest,Provider> getProviderCallable()
Returns
Overrides
getTriggerCallable()
public UnaryCallable<GetTriggerRequest,Trigger> getTriggerCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listChannelConnectionsCallable()
public UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsResponse> listChannelConnectionsCallable()
Returns
Overrides
listChannelConnectionsPagedCallable()
public UnaryCallable<ListChannelConnectionsRequest,EventarcClient.ListChannelConnectionsPagedResponse> listChannelConnectionsPagedCallable()
Returns
Overrides
listChannelsCallable()
public UnaryCallable<ListChannelsRequest,ListChannelsResponse> listChannelsCallable()
Returns
Overrides
listChannelsPagedCallable()
public UnaryCallable<ListChannelsRequest,EventarcClient.ListChannelsPagedResponse> listChannelsPagedCallable()
Returns
Overrides
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,EventarcClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Overrides
listProvidersCallable()
public UnaryCallable<ListProvidersRequest,ListProvidersResponse> listProvidersCallable()
Returns
Overrides
listProvidersPagedCallable()
public UnaryCallable<ListProvidersRequest,EventarcClient.ListProvidersPagedResponse> listProvidersPagedCallable()
Returns
Overrides
listTriggersCallable()
public UnaryCallable<ListTriggersRequest,ListTriggersResponse> listTriggersCallable()
Returns
Overrides
listTriggersPagedCallable()
public UnaryCallable<ListTriggersRequest,EventarcClient.ListTriggersPagedResponse> listTriggersPagedCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
Overrides
updateChannelCallable()
public UnaryCallable<UpdateChannelRequest,Operation> updateChannelCallable()
Returns
Overrides
updateChannelOperationCallable()
public OperationCallable<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationCallable()
Returns
Overrides
updateGoogleChannelConfigCallable()
public UnaryCallable<UpdateGoogleChannelConfigRequest,GoogleChannelConfig> updateGoogleChannelConfigCallable()
Returns
Overrides
updateTriggerCallable()
public UnaryCallable<UpdateTriggerRequest,Operation> updateTriggerCallable()
Returns
Overrides
updateTriggerOperationCallable()
public OperationCallable<UpdateTriggerRequest,Trigger,OperationMetadata> updateTriggerOperationCallable()
Returns
Overrides