Package io.dapr.v1
Interface DaprProtos.PublishEventRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DaprProtos.PublishEventRequest,DaprProtos.PublishEventRequest.Builder
- Enclosing class:
- DaprProtos
public static interface DaprProtos.PublishEventRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description com.google.protobuf.ByteStringgetData()The data which will be published to topic.java.lang.StringgetTopic()The pubsub topiccom.google.protobuf.ByteStringgetTopicBytes()The pubsub topicMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTopic
java.lang.String getTopic()The pubsub topic
string topic = 1;- Returns:
- The topic.
-
getTopicBytes
com.google.protobuf.ByteString getTopicBytes()The pubsub topic
string topic = 1;- Returns:
- The bytes for topic.
-
getData
com.google.protobuf.ByteString getData()The data which will be published to topic.
bytes data = 2;- Returns:
- The data.
-