Class CreateRequest.Builder

    • Method Detail

      • getModerationIdBytes

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

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

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

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

        public int getTypeValue()
        .streamlayer.interactive.QuestionType type = 2;
        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;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • setType

        public CreateRequest.Builder setType​(QuestionType value)
        .streamlayer.interactive.QuestionType type = 2;
        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;
        Returns:
        This builder for chaining.
      • hasQuestion

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

        public CreateRequest.Builder clearQuestion()
        .streamlayer.interactive.Question question = 3;
      • getOrganizationIdBytes

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

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

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

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

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

        public CreateRequest.Builder clearServerNotification()
        .streamlayer.interactive.ServerNotificationOptions server_notification = 5;