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 boolean
containsMetadata(java.lang.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.java.lang.String
getDataContentType()
The content type for the data (optional).com.google.protobuf.ByteString
getDataContentTypeBytes()
The content type for the data (optional).java.util.Map<java.lang.String,java.lang.String>
getMetadata()
Deprecated.int
getMetadataCount()
The metadata passing to pub components metadata property: - key : the key of the message.java.util.Map<java.lang.String,java.lang.String>
getMetadataMap()
The metadata passing to pub components metadata property: - key : the key of the message.java.lang.String
getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)
The metadata passing to pub components metadata property: - key : the key of the message.java.lang.String
getMetadataOrThrow(java.lang.String key)
The metadata passing to pub components metadata property: - key : the key of the message.java.lang.String
getPubsubName()
The name of the pubsub componentcom.google.protobuf.ByteString
getPubsubNameBytes()
The name of the pubsub componentjava.lang.String
getTopic()
The pubsub topiccom.google.protobuf.ByteString
getTopicBytes()
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
java.lang.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
java.lang.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
java.lang.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
boolean containsMetadata(java.lang.String key)The metadata passing to pub components metadata property: - key : the key of the message.
map<string, string> metadata = 5;
-
getMetadata
@Deprecated java.util.Map<java.lang.String,java.lang.String> getMetadata()Deprecated.UsegetMetadataMap()
instead. -
getMetadataMap
java.util.Map<java.lang.String,java.lang.String> getMetadataMap()The metadata passing to pub components metadata property: - key : the key of the message.
map<string, string> metadata = 5;
-
getMetadataOrDefault
java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)The metadata passing to pub components metadata property: - key : the key of the message.
map<string, string> metadata = 5;
-
getMetadataOrThrow
java.lang.String getMetadataOrThrow(java.lang.String key)The metadata passing to pub components metadata property: - key : the key of the message.
map<string, string> metadata = 5;
-