Class CreateRequest.Builder

    • Method Detail

      • getModerationId

        public java.lang.String getModerationId()
        string moderation_id = 1 [json_name = "moderationId"];
        Specified by:
        getModerationId in interface CreateRequestOrBuilder
        Returns:
        The moderationId.
      • getModerationIdBytes

        public com.google.protobuf.ByteString getModerationIdBytes()
        string moderation_id = 1 [json_name = "moderationId"];
        Specified by:
        getModerationIdBytes in interface CreateRequestOrBuilder
        Returns:
        The bytes for moderationId.
      • setModerationId

        public CreateRequest.Builder setModerationId​(java.lang.String value)
        string moderation_id = 1 [json_name = "moderationId"];
        Parameters:
        value - The moderationId to set.
        Returns:
        This builder for chaining.
      • clearModerationId

        public CreateRequest.Builder clearModerationId()
        string moderation_id = 1 [json_name = "moderationId"];
        Returns:
        This builder for chaining.
      • setModerationIdBytes

        public CreateRequest.Builder setModerationIdBytes​(com.google.protobuf.ByteString value)
        string moderation_id = 1 [json_name = "moderationId"];
        Parameters:
        value - The bytes for moderationId to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
        .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
        Specified by:
        getTypeValue in interface CreateRequestOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public CreateRequest.Builder setTypeValue​(int value)
        .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • setType

        public CreateRequest.Builder setType​(QuestionType value)
        .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public CreateRequest.Builder clearType()
        .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
        Returns:
        This builder for chaining.
      • hasQuestion

        public boolean hasQuestion()
        .streamlayer.interactive.Question question = 3 [json_name = "question"];
        Specified by:
        hasQuestion in interface CreateRequestOrBuilder
        Returns:
        Whether the question field is set.
      • getQuestion

        public Question getQuestion()
        .streamlayer.interactive.Question question = 3 [json_name = "question"];
        Specified by:
        getQuestion in interface CreateRequestOrBuilder
        Returns:
        The question.
      • setQuestion

        public CreateRequest.Builder setQuestion​(Question value)
        .streamlayer.interactive.Question question = 3 [json_name = "question"];
      • mergeQuestion

        public CreateRequest.Builder mergeQuestion​(Question value)
        .streamlayer.interactive.Question question = 3 [json_name = "question"];
      • clearQuestion

        public CreateRequest.Builder clearQuestion()
        .streamlayer.interactive.Question question = 3 [json_name = "question"];
      • getOrganizationId

        public java.lang.String getOrganizationId()
        string organization_id = 4 [json_name = "organizationId"];
        Specified by:
        getOrganizationId in interface CreateRequestOrBuilder
        Returns:
        The organizationId.
      • getOrganizationIdBytes

        public com.google.protobuf.ByteString getOrganizationIdBytes()
        string organization_id = 4 [json_name = "organizationId"];
        Specified by:
        getOrganizationIdBytes in interface CreateRequestOrBuilder
        Returns:
        The bytes for organizationId.
      • setOrganizationId

        public CreateRequest.Builder setOrganizationId​(java.lang.String value)
        string organization_id = 4 [json_name = "organizationId"];
        Parameters:
        value - The organizationId to set.
        Returns:
        This builder for chaining.
      • clearOrganizationId

        public CreateRequest.Builder clearOrganizationId()
        string organization_id = 4 [json_name = "organizationId"];
        Returns:
        This builder for chaining.
      • setOrganizationIdBytes

        public CreateRequest.Builder setOrganizationIdBytes​(com.google.protobuf.ByteString value)
        string organization_id = 4 [json_name = "organizationId"];
        Parameters:
        value - The bytes for organizationId to set.
        Returns:
        This builder for chaining.
      • hasServerNotification

        public boolean hasServerNotification()
        .streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];
        Specified by:
        hasServerNotification in interface CreateRequestOrBuilder
        Returns:
        Whether the serverNotification field is set.
      • clearServerNotification

        public CreateRequest.Builder clearServerNotification()
        .streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];
      • hasBypassNotifications

        public boolean hasBypassNotifications()
        .streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];
        Specified by:
        hasBypassNotifications in interface CreateRequestOrBuilder
        Returns:
        Whether the bypassNotifications field is set.
      • setBypassNotifications

        public CreateRequest.Builder setBypassNotifications​(BypassNotifications value)
        .streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];
      • mergeBypassNotifications

        public CreateRequest.Builder mergeBypassNotifications​(BypassNotifications value)
        .streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];
      • clearBypassNotifications

        public CreateRequest.Builder clearBypassNotifications()
        .streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];