Class GrpcEventarcStub (1.54.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcEventarcStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(EventarcStubSettings settings)

public static final GrpcEventarcStub create(EventarcStubSettings settings)
Parameter
Name Description
settings EventarcStubSettings
Returns
Type Description
GrpcEventarcStub
Exceptions
Type Description
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
Name Description
settings EventarcStubSettings
clientContext ClientContext

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
Name Description
settings EventarcStubSettings
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

createChannelCallable()

public UnaryCallable<CreateChannelRequest,Operation> createChannelCallable()
Returns
Type Description
UnaryCallable<CreateChannelRequest,Operation>
Overrides

createChannelConnectionCallable()

public UnaryCallable<CreateChannelConnectionRequest,Operation> createChannelConnectionCallable()
Returns
Type Description
UnaryCallable<CreateChannelConnectionRequest,Operation>
Overrides

createChannelConnectionOperationCallable()

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

createChannelOperationCallable()

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

createEnrollmentCallable()

public UnaryCallable<CreateEnrollmentRequest,Operation> createEnrollmentCallable()
Returns
Type Description
UnaryCallable<CreateEnrollmentRequest,Operation>
Overrides

createEnrollmentOperationCallable()

public OperationCallable<CreateEnrollmentRequest,Enrollment,OperationMetadata> createEnrollmentOperationCallable()
Returns
Type Description
OperationCallable<CreateEnrollmentRequest,Enrollment,OperationMetadata>
Overrides

createGoogleApiSourceCallable()

public UnaryCallable<CreateGoogleApiSourceRequest,Operation> createGoogleApiSourceCallable()
Returns
Type Description
UnaryCallable<CreateGoogleApiSourceRequest,Operation>
Overrides

createGoogleApiSourceOperationCallable()

public OperationCallable<CreateGoogleApiSourceRequest,GoogleApiSource,OperationMetadata> createGoogleApiSourceOperationCallable()
Returns
Type Description
OperationCallable<CreateGoogleApiSourceRequest,GoogleApiSource,OperationMetadata>
Overrides

createMessageBusCallable()

public UnaryCallable<CreateMessageBusRequest,Operation> createMessageBusCallable()
Returns
Type Description
UnaryCallable<CreateMessageBusRequest,Operation>
Overrides

createMessageBusOperationCallable()

public OperationCallable<CreateMessageBusRequest,MessageBus,OperationMetadata> createMessageBusOperationCallable()
Returns
Type Description
OperationCallable<CreateMessageBusRequest,MessageBus,OperationMetadata>
Overrides

createPipelineCallable()

public UnaryCallable<CreatePipelineRequest,Operation> createPipelineCallable()
Returns
Type Description
UnaryCallable<CreatePipelineRequest,Operation>
Overrides

createPipelineOperationCallable()

public OperationCallable<CreatePipelineRequest,Pipeline,OperationMetadata> createPipelineOperationCallable()
Returns
Type Description
OperationCallable<CreatePipelineRequest,Pipeline,OperationMetadata>
Overrides

createTriggerCallable()

public UnaryCallable<CreateTriggerRequest,Operation> createTriggerCallable()
Returns
Type Description
UnaryCallable<CreateTriggerRequest,Operation>
Overrides

createTriggerOperationCallable()

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

deleteChannelCallable()

public UnaryCallable<DeleteChannelRequest,Operation> deleteChannelCallable()
Returns
Type Description
UnaryCallable<DeleteChannelRequest,Operation>
Overrides

deleteChannelConnectionCallable()

public UnaryCallable<DeleteChannelConnectionRequest,Operation> deleteChannelConnectionCallable()
Returns
Type Description
UnaryCallable<DeleteChannelConnectionRequest,Operation>
Overrides

deleteChannelConnectionOperationCallable()

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

deleteChannelOperationCallable()

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

deleteEnrollmentCallable()

public UnaryCallable<DeleteEnrollmentRequest,Operation> deleteEnrollmentCallable()
Returns
Type Description
UnaryCallable<DeleteEnrollmentRequest,Operation>
Overrides

deleteEnrollmentOperationCallable()

public OperationCallable<DeleteEnrollmentRequest,Enrollment,OperationMetadata> deleteEnrollmentOperationCallable()
Returns
Type Description
OperationCallable<DeleteEnrollmentRequest,Enrollment,OperationMetadata>
Overrides

deleteGoogleApiSourceCallable()

public UnaryCallable<DeleteGoogleApiSourceRequest,Operation> deleteGoogleApiSourceCallable()
Returns
Type Description
UnaryCallable<DeleteGoogleApiSourceRequest,Operation>
Overrides

deleteGoogleApiSourceOperationCallable()

public OperationCallable<DeleteGoogleApiSourceRequest,GoogleApiSource,OperationMetadata> deleteGoogleApiSourceOperationCallable()
Returns
Type Description
OperationCallable<DeleteGoogleApiSourceRequest,GoogleApiSource,OperationMetadata>
Overrides

deleteMessageBusCallable()

public UnaryCallable<DeleteMessageBusRequest,Operation> deleteMessageBusCallable()
Returns
Type Description
UnaryCallable<DeleteMessageBusRequest,Operation>
Overrides

deleteMessageBusOperationCallable()

public OperationCallable<DeleteMessageBusRequest,MessageBus,OperationMetadata> deleteMessageBusOperationCallable()
Returns
Type Description
OperationCallable<DeleteMessageBusRequest,MessageBus,OperationMetadata>
Overrides

deletePipelineCallable()

public UnaryCallable<DeletePipelineRequest,Operation> deletePipelineCallable()
Returns
Type Description
UnaryCallable<DeletePipelineRequest,Operation>
Overrides

deletePipelineOperationCallable()

public OperationCallable<DeletePipelineRequest,Pipeline,OperationMetadata> deletePipelineOperationCallable()
Returns
Type Description
OperationCallable<DeletePipelineRequest,Pipeline,OperationMetadata>
Overrides

deleteTriggerCallable()

public UnaryCallable<DeleteTriggerRequest,Operation> deleteTriggerCallable()
Returns
Type Description
UnaryCallable<DeleteTriggerRequest,Operation>
Overrides

deleteTriggerOperationCallable()

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

getChannelCallable()

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

getChannelConnectionCallable()

public UnaryCallable<GetChannelConnectionRequest,ChannelConnection> getChannelConnectionCallable()
Returns
Type Description
UnaryCallable<GetChannelConnectionRequest,ChannelConnection>
Overrides

getEnrollmentCallable()

public UnaryCallable<GetEnrollmentRequest,Enrollment> getEnrollmentCallable()
Returns
Type Description
UnaryCallable<GetEnrollmentRequest,Enrollment>
Overrides

getGoogleApiSourceCallable()

public UnaryCallable<GetGoogleApiSourceRequest,GoogleApiSource> getGoogleApiSourceCallable()
Returns
Type Description
UnaryCallable<GetGoogleApiSourceRequest,GoogleApiSource>
Overrides

getGoogleChannelConfigCallable()

public UnaryCallable<GetGoogleChannelConfigRequest,GoogleChannelConfig> getGoogleChannelConfigCallable()
Returns
Type Description
UnaryCallable<GetGoogleChannelConfigRequest,GoogleChannelConfig>
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

getMessageBusCallable()

public UnaryCallable<GetMessageBusRequest,MessageBus> getMessageBusCallable()
Returns
Type Description
UnaryCallable<GetMessageBusRequest,MessageBus>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getPipelineCallable()

public UnaryCallable<GetPipelineRequest,Pipeline> getPipelineCallable()
Returns
Type Description
UnaryCallable<GetPipelineRequest,Pipeline>
Overrides

getProviderCallable()

public UnaryCallable<GetProviderRequest,Provider> getProviderCallable()
Returns
Type Description
UnaryCallable<GetProviderRequest,Provider>
Overrides

getTriggerCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listChannelConnectionsCallable()

public UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsResponse> listChannelConnectionsCallable()
Returns
Type Description
UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsResponse>
Overrides

listChannelConnectionsPagedCallable()

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

listChannelsCallable()

public UnaryCallable<ListChannelsRequest,ListChannelsResponse> listChannelsCallable()
Returns
Type Description
UnaryCallable<ListChannelsRequest,ListChannelsResponse>
Overrides

listChannelsPagedCallable()

public UnaryCallable<ListChannelsRequest,EventarcClient.ListChannelsPagedResponse> listChannelsPagedCallable()
Returns
Type Description
UnaryCallable<ListChannelsRequest,ListChannelsPagedResponse>
Overrides

listEnrollmentsCallable()

public UnaryCallable<ListEnrollmentsRequest,ListEnrollmentsResponse> listEnrollmentsCallable()
Returns
Type Description
UnaryCallable<ListEnrollmentsRequest,ListEnrollmentsResponse>
Overrides

listEnrollmentsPagedCallable()

public UnaryCallable<ListEnrollmentsRequest,EventarcClient.ListEnrollmentsPagedResponse> listEnrollmentsPagedCallable()
Returns
Type Description
UnaryCallable<ListEnrollmentsRequest,ListEnrollmentsPagedResponse>
Overrides

listGoogleApiSourcesCallable()

public UnaryCallable<ListGoogleApiSourcesRequest,ListGoogleApiSourcesResponse> listGoogleApiSourcesCallable()
Returns
Type Description
UnaryCallable<ListGoogleApiSourcesRequest,ListGoogleApiSourcesResponse>
Overrides

listGoogleApiSourcesPagedCallable()

public UnaryCallable<ListGoogleApiSourcesRequest,EventarcClient.ListGoogleApiSourcesPagedResponse> listGoogleApiSourcesPagedCallable()
Returns
Type Description
UnaryCallable<ListGoogleApiSourcesRequest,ListGoogleApiSourcesPagedResponse>
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
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listMessageBusEnrollmentsCallable()

public UnaryCallable<ListMessageBusEnrollmentsRequest,ListMessageBusEnrollmentsResponse> listMessageBusEnrollmentsCallable()
Returns
Type Description
UnaryCallable<ListMessageBusEnrollmentsRequest,ListMessageBusEnrollmentsResponse>
Overrides

listMessageBusEnrollmentsPagedCallable()

public UnaryCallable<ListMessageBusEnrollmentsRequest,EventarcClient.ListMessageBusEnrollmentsPagedResponse> listMessageBusEnrollmentsPagedCallable()
Returns
Type Description
UnaryCallable<ListMessageBusEnrollmentsRequest,ListMessageBusEnrollmentsPagedResponse>
Overrides

listMessageBusesCallable()

public UnaryCallable<ListMessageBusesRequest,ListMessageBusesResponse> listMessageBusesCallable()
Returns
Type Description
UnaryCallable<ListMessageBusesRequest,ListMessageBusesResponse>
Overrides

listMessageBusesPagedCallable()

public UnaryCallable<ListMessageBusesRequest,EventarcClient.ListMessageBusesPagedResponse> listMessageBusesPagedCallable()
Returns
Type Description
UnaryCallable<ListMessageBusesRequest,ListMessageBusesPagedResponse>
Overrides

listPipelinesCallable()

public UnaryCallable<ListPipelinesRequest,ListPipelinesResponse> listPipelinesCallable()
Returns
Type Description
UnaryCallable<ListPipelinesRequest,ListPipelinesResponse>
Overrides

listPipelinesPagedCallable()

public UnaryCallable<ListPipelinesRequest,EventarcClient.ListPipelinesPagedResponse> listPipelinesPagedCallable()
Returns
Type Description
UnaryCallable<ListPipelinesRequest,ListPipelinesPagedResponse>
Overrides

listProvidersCallable()

public UnaryCallable<ListProvidersRequest,ListProvidersResponse> listProvidersCallable()
Returns
Type Description
UnaryCallable<ListProvidersRequest,ListProvidersResponse>
Overrides

listProvidersPagedCallable()

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

listTriggersCallable()

public UnaryCallable<ListTriggersRequest,ListTriggersResponse> listTriggersCallable()
Returns
Type Description
UnaryCallable<ListTriggersRequest,ListTriggersResponse>
Overrides

listTriggersPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
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
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateChannelCallable()

public UnaryCallable<UpdateChannelRequest,Operation> updateChannelCallable()
Returns
Type Description
UnaryCallable<UpdateChannelRequest,Operation>
Overrides

updateChannelOperationCallable()

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

updateEnrollmentCallable()

public UnaryCallable<UpdateEnrollmentRequest,Operation> updateEnrollmentCallable()
Returns
Type Description
UnaryCallable<UpdateEnrollmentRequest,Operation>
Overrides

updateEnrollmentOperationCallable()

public OperationCallable<UpdateEnrollmentRequest,Enrollment,OperationMetadata> updateEnrollmentOperationCallable()
Returns
Type Description
OperationCallable<UpdateEnrollmentRequest,Enrollment,OperationMetadata>
Overrides

updateGoogleApiSourceCallable()

public UnaryCallable<UpdateGoogleApiSourceRequest,Operation> updateGoogleApiSourceCallable()
Returns
Type Description
UnaryCallable<UpdateGoogleApiSourceRequest,Operation>
Overrides

updateGoogleApiSourceOperationCallable()

public OperationCallable<UpdateGoogleApiSourceRequest,GoogleApiSource,OperationMetadata> updateGoogleApiSourceOperationCallable()
Returns
Type Description
OperationCallable<UpdateGoogleApiSourceRequest,GoogleApiSource,OperationMetadata>
Overrides

updateGoogleChannelConfigCallable()

public UnaryCallable<UpdateGoogleChannelConfigRequest,GoogleChannelConfig> updateGoogleChannelConfigCallable()
Returns
Type Description
UnaryCallable<UpdateGoogleChannelConfigRequest,GoogleChannelConfig>
Overrides

updateMessageBusCallable()

public UnaryCallable<UpdateMessageBusRequest,Operation> updateMessageBusCallable()
Returns
Type Description
UnaryCallable<UpdateMessageBusRequest,Operation>
Overrides

updateMessageBusOperationCallable()

public OperationCallable<UpdateMessageBusRequest,MessageBus,OperationMetadata> updateMessageBusOperationCallable()
Returns
Type Description
OperationCallable<UpdateMessageBusRequest,MessageBus,OperationMetadata>
Overrides

updatePipelineCallable()

public UnaryCallable<UpdatePipelineRequest,Operation> updatePipelineCallable()
Returns
Type Description
UnaryCallable<UpdatePipelineRequest,Operation>
Overrides

updatePipelineOperationCallable()

public OperationCallable<UpdatePipelineRequest,Pipeline,OperationMetadata> updatePipelineOperationCallable()
Returns
Type Description
OperationCallable<UpdatePipelineRequest,Pipeline,OperationMetadata>
Overrides

updateTriggerCallable()

public UnaryCallable<UpdateTriggerRequest,Operation> updateTriggerCallable()
Returns
Type Description
UnaryCallable<UpdateTriggerRequest,Operation>
Overrides

updateTriggerOperationCallable()

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