Class BetPackRequest.Builder

    • Method Detail

      • getEventId

        public java.lang.String getEventId()
        string event_id = 1 [json_name = "eventId"];
        Specified by:
        getEventId in interface BetPackRequestOrBuilder
        Returns:
        The eventId.
      • getEventIdBytes

        public com.google.protobuf.ByteString getEventIdBytes()
        string event_id = 1 [json_name = "eventId"];
        Specified by:
        getEventIdBytes in interface BetPackRequestOrBuilder
        Returns:
        The bytes for eventId.
      • setEventId

        public BetPackRequest.Builder setEventId​(java.lang.String value)
        string event_id = 1 [json_name = "eventId"];
        Parameters:
        value - The eventId to set.
        Returns:
        This builder for chaining.
      • clearEventId

        public BetPackRequest.Builder clearEventId()
        string event_id = 1 [json_name = "eventId"];
        Returns:
        This builder for chaining.
      • setEventIdBytes

        public BetPackRequest.Builder setEventIdBytes​(com.google.protobuf.ByteString value)
        string event_id = 1 [json_name = "eventId"];
        Parameters:
        value - The bytes for eventId to set.
        Returns:
        This builder for chaining.
      • getTypesList

        public java.util.List<QuestionType> getTypesList()
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Specified by:
        getTypesList in interface BetPackRequestOrBuilder
        Returns:
        A list containing the types.
      • getTypesCount

        public int getTypesCount()
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Specified by:
        getTypesCount in interface BetPackRequestOrBuilder
        Returns:
        The count of types.
      • getTypes

        public QuestionType getTypes​(int index)
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Specified by:
        getTypes in interface BetPackRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The types at the given index.
      • setTypes

        public BetPackRequest.Builder setTypes​(int index,
                                               QuestionType value)
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        index - The index to set the value at.
        value - The types to set.
        Returns:
        This builder for chaining.
      • addTypes

        public BetPackRequest.Builder addTypes​(QuestionType value)
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        value - The types to add.
        Returns:
        This builder for chaining.
      • addAllTypes

        public BetPackRequest.Builder addAllTypes​(java.lang.Iterable<? extends QuestionType> values)
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        values - The types to add.
        Returns:
        This builder for chaining.
      • clearTypes

        public BetPackRequest.Builder clearTypes()
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Returns:
        This builder for chaining.
      • getTypesValueList

        public java.util.List<java.lang.Integer> getTypesValueList()
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Specified by:
        getTypesValueList in interface BetPackRequestOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for types.
      • getTypesValue

        public int getTypesValue​(int index)
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Specified by:
        getTypesValue in interface BetPackRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of types at the given index.
      • setTypesValue

        public BetPackRequest.Builder setTypesValue​(int index,
                                                    int value)
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for types to set.
        Returns:
        This builder for chaining.
      • addTypesValue

        public BetPackRequest.Builder addTypesValue​(int value)
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        value - The enum numeric value on the wire for types to add.
        Returns:
        This builder for chaining.
      • addAllTypesValue

        public BetPackRequest.Builder addAllTypesValue​(java.lang.Iterable<java.lang.Integer> values)
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        values - The enum numeric values on the wire for types to add.
        Returns:
        This builder for chaining.
      • getStatusesList

        public java.util.List<QuestionStatus> getStatusesList()
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Specified by:
        getStatusesList in interface BetPackRequestOrBuilder
        Returns:
        A list containing the statuses.
      • getStatusesCount

        public int getStatusesCount()
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Specified by:
        getStatusesCount in interface BetPackRequestOrBuilder
        Returns:
        The count of statuses.
      • getStatuses

        public QuestionStatus getStatuses​(int index)
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Specified by:
        getStatuses in interface BetPackRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The statuses at the given index.
      • setStatuses

        public BetPackRequest.Builder setStatuses​(int index,
                                                  QuestionStatus value)
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Parameters:
        index - The index to set the value at.
        value - The statuses to set.
        Returns:
        This builder for chaining.
      • addStatuses

        public BetPackRequest.Builder addStatuses​(QuestionStatus value)
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Parameters:
        value - The statuses to add.
        Returns:
        This builder for chaining.
      • addAllStatuses

        public BetPackRequest.Builder addAllStatuses​(java.lang.Iterable<? extends QuestionStatus> values)
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Parameters:
        values - The statuses to add.
        Returns:
        This builder for chaining.
      • clearStatuses

        public BetPackRequest.Builder clearStatuses()
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Returns:
        This builder for chaining.
      • getStatusesValueList

        public java.util.List<java.lang.Integer> getStatusesValueList()
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Specified by:
        getStatusesValueList in interface BetPackRequestOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for statuses.
      • getStatusesValue

        public int getStatusesValue​(int index)
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Specified by:
        getStatusesValue in interface BetPackRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of statuses at the given index.
      • setStatusesValue

        public BetPackRequest.Builder setStatusesValue​(int index,
                                                       int value)
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for statuses to set.
        Returns:
        This builder for chaining.
      • addStatusesValue

        public BetPackRequest.Builder addStatusesValue​(int value)
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Parameters:
        value - The enum numeric value on the wire for statuses to add.
        Returns:
        This builder for chaining.
      • addAllStatusesValue

        public BetPackRequest.Builder addAllStatusesValue​(java.lang.Iterable<java.lang.Integer> values)
        repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
        Parameters:
        values - The enum numeric values on the wire for statuses to add.
        Returns:
        This builder for chaining.
      • hasLimit

        public boolean hasLimit()
         default 5
         
        optional int32 limit = 4 [json_name = "limit"];
        Specified by:
        hasLimit in interface BetPackRequestOrBuilder
        Returns:
        Whether the limit field is set.
      • getLimit

        public int getLimit()
         default 5
         
        optional int32 limit = 4 [json_name = "limit"];
        Specified by:
        getLimit in interface BetPackRequestOrBuilder
        Returns:
        The limit.
      • setLimit

        public BetPackRequest.Builder setLimit​(int value)
         default 5
         
        optional int32 limit = 4 [json_name = "limit"];
        Parameters:
        value - The limit to set.
        Returns:
        This builder for chaining.
      • clearLimit

        public BetPackRequest.Builder clearLimit()
         default 5
         
        optional int32 limit = 4 [json_name = "limit"];
        Returns:
        This builder for chaining.
      • hasSort

        public boolean hasSort()
         default activated_at by asc
         
        optional .streamlayer.interactive.Sort sort = 5 [json_name = "sort"];
        Specified by:
        hasSort in interface BetPackRequestOrBuilder
        Returns:
        Whether the sort field is set.
      • getSort

        public Sort getSort()
         default activated_at by asc
         
        optional .streamlayer.interactive.Sort sort = 5 [json_name = "sort"];
        Specified by:
        getSort in interface BetPackRequestOrBuilder
        Returns:
        The sort.
      • setSort

        public BetPackRequest.Builder setSort​(Sort value)
         default activated_at by asc
         
        optional .streamlayer.interactive.Sort sort = 5 [json_name = "sort"];
      • setSort

        public BetPackRequest.Builder setSort​(Sort.Builder builderForValue)
         default activated_at by asc
         
        optional .streamlayer.interactive.Sort sort = 5 [json_name = "sort"];
      • mergeSort

        public BetPackRequest.Builder mergeSort​(Sort value)
         default activated_at by asc
         
        optional .streamlayer.interactive.Sort sort = 5 [json_name = "sort"];
      • clearSort

        public BetPackRequest.Builder clearSort()
         default activated_at by asc
         
        optional .streamlayer.interactive.Sort sort = 5 [json_name = "sort"];