Class PublisherGrpc
java.lang.Object
com.google.cloud.eventarc.publishing.v1.PublisherGrpc
Eventarc processes events generated by an event provider and delivers them to a subscriber. An event provider is a software-as-a-service (SaaS) system or product that can generate and deliver events through Eventarc. A third-party event provider is an event provider from outside of Google. A partner is a third-party event provider that is integrated with Eventarc. A subscriber is a Google Cloud customer interested in receiving events. Channel is a first-class Eventarc resource that is created and managed by the subscriber in their Google Cloud project. A Channel represents a subscriber's intent to receive events from an event provider. A Channel is associated with exactly one event provider. ChannelConnection is a first-class Eventarc resource that is created and managed by the partner in their Google Cloud project. A ChannelConnection represents a connection between a partner and a subscriber's Channel. A ChannelConnection has a one-to-one mapping with a Channel. Bus is a first-class Eventarc resource that is created and managed in a Google Cloud project. A Bus provides a discoverable endpoint for events and is a router that receives all events published by event providers and delivers them to zero or more subscribers. Publisher allows an event provider to publish events to Eventarc.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceEventarc processes events generated by an event provider and delivers them to a subscriber.static final classA stub to allow clients to do limited synchronous rpc calls to service Publisher.static final classA stub to allow clients to do synchronous rpc calls to service Publisher.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service Publisher.static classBase class for the server implementation of the service Publisher.static final classA stub to allow clients to do asynchronous rpc calls to service Publisher. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(PublisherGrpc.AsyncService service) static io.grpc.MethodDescriptor<PublishChannelConnectionEventsRequest,PublishChannelConnectionEventsResponse> static io.grpc.MethodDescriptor<PublishEventsRequest,PublishEventsResponse> static io.grpc.MethodDescriptor<PublishRequest,PublishResponse> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic PublisherGrpc.PublisherStubnewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getPublishChannelConnectionEventsMethod
public static io.grpc.MethodDescriptor<PublishChannelConnectionEventsRequest,PublishChannelConnectionEventsResponse> getPublishChannelConnectionEventsMethod() -
getPublishEventsMethod
public static io.grpc.MethodDescriptor<PublishEventsRequest,PublishEventsResponse> getPublishEventsMethod() -
getPublishMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-