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 TypeMethodDescriptionboolean
containsMetadata
(String key) The metadata passing to pub components metadata property: - key : the key of the message.com.google.protobuf.ByteString
getData()
The data which will be published to topic.The content type for the data (optional).com.google.protobuf.ByteString
The content type for the data (optional).Deprecated.int
The metadata passing to pub components metadata property: - key : the key of the message.The metadata passing to pub components metadata property: - key : the key of the message.getMetadataOrDefault
(String key, String defaultValue) The metadata passing to pub components metadata property: - key : the key of the message.getMetadataOrThrow
(String key) The metadata passing to pub components metadata property: - key : the key of the message.The name of the pubsub componentcom.google.protobuf.ByteString
The name of the pubsub componentgetTopic()
The pubsub topiccom.google.protobuf.ByteString
The pubsub topicMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPubsubName
String getPubsubName()The name of the pubsub component
string pubsub_name = 1;
- Returns:
- The pubsubName.
-
getPubsubNameBytes
com.google.protobuf.ByteString getPubsubNameBytes()The name of the pubsub component
string pubsub_name = 1;
- Returns:
- The bytes for pubsubName.
-
getTopic
String getTopic()The pubsub topic
string topic = 2;
- Returns:
- The topic.
-
getTopicBytes
com.google.protobuf.ByteString getTopicBytes()The pubsub topic
string topic = 2;
- Returns:
- The bytes for topic.
-
getData
com.google.protobuf.ByteString getData()The data which will be published to topic.
bytes data = 3;
- Returns:
- The data.
-
getDataContentType
String getDataContentType()The content type for the data (optional).
string data_content_type = 4;
- Returns:
- The dataContentType.
-
getDataContentTypeBytes
com.google.protobuf.ByteString getDataContentTypeBytes()The content type for the data (optional).
string data_content_type = 4;
- Returns:
- The bytes for dataContentType.
-
getMetadataCount
int getMetadataCount()The metadata passing to pub components metadata property: - key : the key of the message.
map<string, string> metadata = 5;
-
containsMetadata
The metadata passing to pub components metadata property: - key : the key of the message.
map<string, string> metadata = 5;
-
getMetadata
Deprecated.UsegetMetadataMap()
instead. -
getMetadataMap
The metadata passing to pub components metadata property: - key : the key of the message.
map<string, string> metadata = 5;
-
getMetadataOrDefault
The metadata passing to pub components metadata property: - key : the key of the message.
map<string, string> metadata = 5;
-
getMetadataOrThrow
The metadata passing to pub components metadata property: - key : the key of the message.
map<string, string> metadata = 5;
-