Class APNSCredentials.Builder

    • Method Detail

      • hasToken

        public boolean hasToken()
        .streamlayer.pushNotification.APNSCredentials.APNSCredentialsToken token = 1 [json_name = "token"];
        Specified by:
        hasToken in interface APNSCredentialsOrBuilder
        Returns:
        Whether the token field is set.
      • clearToken

        public APNSCredentials.Builder clearToken()
        .streamlayer.pushNotification.APNSCredentials.APNSCredentialsToken token = 1 [json_name = "token"];
      • getProduction

        public boolean getProduction()
        bool production = 2 [json_name = "production"];
        Specified by:
        getProduction in interface APNSCredentialsOrBuilder
        Returns:
        The production.
      • setProduction

        public APNSCredentials.Builder setProduction​(boolean value)
        bool production = 2 [json_name = "production"];
        Parameters:
        value - The production to set.
        Returns:
        This builder for chaining.
      • clearProduction

        public APNSCredentials.Builder clearProduction()
        bool production = 2 [json_name = "production"];
        Returns:
        This builder for chaining.
      • getTopic

        public java.lang.String getTopic()
        string topic = 3 [json_name = "topic"];
        Specified by:
        getTopic in interface APNSCredentialsOrBuilder
        Returns:
        The topic.
      • getTopicBytes

        public com.google.protobuf.ByteString getTopicBytes()
        string topic = 3 [json_name = "topic"];
        Specified by:
        getTopicBytes in interface APNSCredentialsOrBuilder
        Returns:
        The bytes for topic.
      • setTopic

        public APNSCredentials.Builder setTopic​(java.lang.String value)
        string topic = 3 [json_name = "topic"];
        Parameters:
        value - The topic to set.
        Returns:
        This builder for chaining.
      • clearTopic

        public APNSCredentials.Builder clearTopic()
        string topic = 3 [json_name = "topic"];
        Returns:
        This builder for chaining.
      • setTopicBytes

        public APNSCredentials.Builder setTopicBytes​(com.google.protobuf.ByteString value)
        string topic = 3 [json_name = "topic"];
        Parameters:
        value - The bytes for topic to set.
        Returns:
        This builder for chaining.