Package io.dapr.v1

Class DaprAppCallbackProtos.TopicRule.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRule.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRule.Builder>
      • getDefaultInstanceForType

        public DaprAppCallbackProtos.TopicRule getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DaprAppCallbackProtos.TopicRule build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DaprAppCallbackProtos.TopicRule buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRule.Builder>
      • getMatch

        public String getMatch()
         The optional CEL expression used to match the event.
         If the match is not specified, then the route is considered
         the default.
         
        string match = 1;
        Specified by:
        getMatch in interface DaprAppCallbackProtos.TopicRuleOrBuilder
        Returns:
        The match.
      • getMatchBytes

        public com.google.protobuf.ByteString getMatchBytes()
         The optional CEL expression used to match the event.
         If the match is not specified, then the route is considered
         the default.
         
        string match = 1;
        Specified by:
        getMatchBytes in interface DaprAppCallbackProtos.TopicRuleOrBuilder
        Returns:
        The bytes for match.
      • setMatch

        public DaprAppCallbackProtos.TopicRule.Builder setMatch​(String value)
         The optional CEL expression used to match the event.
         If the match is not specified, then the route is considered
         the default.
         
        string match = 1;
        Parameters:
        value - The match to set.
        Returns:
        This builder for chaining.
      • clearMatch

        public DaprAppCallbackProtos.TopicRule.Builder clearMatch()
         The optional CEL expression used to match the event.
         If the match is not specified, then the route is considered
         the default.
         
        string match = 1;
        Returns:
        This builder for chaining.
      • setMatchBytes

        public DaprAppCallbackProtos.TopicRule.Builder setMatchBytes​(com.google.protobuf.ByteString value)
         The optional CEL expression used to match the event.
         If the match is not specified, then the route is considered
         the default.
         
        string match = 1;
        Parameters:
        value - The bytes for match to set.
        Returns:
        This builder for chaining.
      • getPath

        public String getPath()
         The path used to identify matches for this subscription.
         This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
         inside the handler.
         
        string path = 2;
        Specified by:
        getPath in interface DaprAppCallbackProtos.TopicRuleOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         The path used to identify matches for this subscription.
         This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
         inside the handler.
         
        string path = 2;
        Specified by:
        getPathBytes in interface DaprAppCallbackProtos.TopicRuleOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public DaprAppCallbackProtos.TopicRule.Builder setPath​(String value)
         The path used to identify matches for this subscription.
         This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
         inside the handler.
         
        string path = 2;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public DaprAppCallbackProtos.TopicRule.Builder clearPath()
         The path used to identify matches for this subscription.
         This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
         inside the handler.
         
        string path = 2;
        Returns:
        This builder for chaining.
      • setPathBytes

        public DaprAppCallbackProtos.TopicRule.Builder setPathBytes​(com.google.protobuf.ByteString value)
         The path used to identify matches for this subscription.
         This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
         inside the handler.
         
        string path = 2;
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.