Package io.dapr.v1
Interface DaprProtos.PubsubSubscriptionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DaprProtos.PubsubSubscription
,DaprProtos.PubsubSubscription.Builder
- Enclosing class:
- DaprProtos
public static interface DaprProtos.PubsubSubscriptionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsMetadata
(String key) map<string, string> metadata = 3 [json_name = "metadata"];
string dead_letter_topic = 5 [json_name = "deadLetterTopic"];
com.google.protobuf.ByteString
string dead_letter_topic = 5 [json_name = "deadLetterTopic"];
Deprecated.int
map<string, string> metadata = 3 [json_name = "metadata"];
map<string, string> metadata = 3 [json_name = "metadata"];
getMetadataOrDefault
(String key, String defaultValue) map<string, string> metadata = 3 [json_name = "metadata"];
getMetadataOrThrow
(String key) map<string, string> metadata = 3 [json_name = "metadata"];
string pubsub_name = 1 [json_name = "pubsubname"];
com.google.protobuf.ByteString
string pubsub_name = 1 [json_name = "pubsubname"];
getRules()
.dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"];
.dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"];
getTopic()
string topic = 2 [json_name = "topic"];
com.google.protobuf.ByteString
string topic = 2 [json_name = "topic"];
getType()
.dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"];
int
.dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"];
boolean
hasRules()
.dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"];
Methods 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()string pubsub_name = 1 [json_name = "pubsubname"];
- Returns:
- The pubsubName.
-
getPubsubNameBytes
com.google.protobuf.ByteString getPubsubNameBytes()string pubsub_name = 1 [json_name = "pubsubname"];
- Returns:
- The bytes for pubsubName.
-
getTopic
String getTopic()string topic = 2 [json_name = "topic"];
- Returns:
- The topic.
-
getTopicBytes
com.google.protobuf.ByteString getTopicBytes()string topic = 2 [json_name = "topic"];
- Returns:
- The bytes for topic.
-
getMetadataCount
int getMetadataCount()map<string, string> metadata = 3 [json_name = "metadata"];
-
containsMetadata
map<string, string> metadata = 3 [json_name = "metadata"];
-
getMetadata
Deprecated.UsegetMetadataMap()
instead. -
getMetadataMap
map<string, string> metadata = 3 [json_name = "metadata"];
-
getMetadataOrDefault
map<string, string> metadata = 3 [json_name = "metadata"];
-
getMetadataOrThrow
map<string, string> metadata = 3 [json_name = "metadata"];
-
hasRules
boolean hasRules().dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"];
- Returns:
- Whether the rules field is set.
-
getRules
DaprProtos.PubsubSubscriptionRules getRules().dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"];
- Returns:
- The rules.
-
getRulesOrBuilder
DaprProtos.PubsubSubscriptionRulesOrBuilder getRulesOrBuilder().dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"];
-
getDeadLetterTopic
String getDeadLetterTopic()string dead_letter_topic = 5 [json_name = "deadLetterTopic"];
- Returns:
- The deadLetterTopic.
-
getDeadLetterTopicBytes
com.google.protobuf.ByteString getDeadLetterTopicBytes()string dead_letter_topic = 5 [json_name = "deadLetterTopic"];
- Returns:
- The bytes for deadLetterTopic.
-
getTypeValue
int getTypeValue().dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"];
- Returns:
- The enum numeric value on the wire for type.
-
getType
DaprProtos.PubsubSubscriptionType getType().dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"];
- Returns:
- The type.
-