Package com.streamlayer.interactive.tags
Class SearchRequest.SearchRequestData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<SearchRequest.SearchRequestData,SearchRequest.SearchRequestData.Builder>
-
- com.streamlayer.interactive.tags.SearchRequest.SearchRequestData.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,SearchRequest.SearchRequestDataOrBuilder,java.lang.Cloneable
- Enclosing class:
- SearchRequest.SearchRequestData
public static final class SearchRequest.SearchRequestData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<SearchRequest.SearchRequestData,SearchRequest.SearchRequestData.Builder> implements SearchRequest.SearchRequestDataOrBuilder
Protobuf typestreamlayer.interactive.tags.SearchRequest.SearchRequestData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchRequest.SearchRequestData.BuilderaddAllTagIds(java.lang.Iterable<java.lang.String> values)user selected tagsSearchRequest.SearchRequestData.BuilderaddAllTypes(java.lang.Iterable<? extends QuestionType> values)allowed tags for question typesSearchRequest.SearchRequestData.BuilderaddAllTypesValue(java.lang.Iterable<java.lang.Integer> values)allowed tags for question typesSearchRequest.SearchRequestData.BuilderaddTagIds(java.lang.String value)user selected tagsSearchRequest.SearchRequestData.BuilderaddTagIdsBytes(com.google.protobuf.ByteString value)user selected tagsSearchRequest.SearchRequestData.BuilderaddTypes(QuestionType value)allowed tags for question typesSearchRequest.SearchRequestData.BuilderaddTypesValue(int value)allowed tags for question typesSearchRequest.SearchRequestData.BuilderclearTagIds()user selected tagsSearchRequest.SearchRequestData.BuilderclearTagMatch()partial tag seachingSearchRequest.SearchRequestData.BuilderclearTypes()allowed tags for question typesjava.lang.StringgetTagIds(int index)user selected tagscom.google.protobuf.ByteStringgetTagIdsBytes(int index)user selected tagsintgetTagIdsCount()user selected tagsjava.util.List<java.lang.String>getTagIdsList()user selected tagsjava.lang.StringgetTagMatch()partial tag seachingcom.google.protobuf.ByteStringgetTagMatchBytes()partial tag seachingQuestionTypegetTypes(int index)allowed tags for question typesintgetTypesCount()allowed tags for question typesjava.util.List<QuestionType>getTypesList()allowed tags for question typesintgetTypesValue(int index)allowed tags for question typesjava.util.List<java.lang.Integer>getTypesValueList()allowed tags for question typesSearchRequest.SearchRequestData.BuildersetTagIds(int index, java.lang.String value)user selected tagsSearchRequest.SearchRequestData.BuildersetTagMatch(java.lang.String value)partial tag seachingSearchRequest.SearchRequestData.BuildersetTagMatchBytes(com.google.protobuf.ByteString value)partial tag seachingSearchRequest.SearchRequestData.BuildersetTypes(int index, QuestionType value)allowed tags for question typesSearchRequest.SearchRequestData.BuildersetTypesValue(int index, int value)allowed tags for question types-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getTypesList
public java.util.List<QuestionType> getTypesList()
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Specified by:
getTypesListin interfaceSearchRequest.SearchRequestDataOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Specified by:
getTypesCountin interfaceSearchRequest.SearchRequestDataOrBuilder- Returns:
- The count of types.
-
getTypes
public QuestionType getTypes(int index)
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Specified by:
getTypesin interfaceSearchRequest.SearchRequestDataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
setTypes
public SearchRequest.SearchRequestData.Builder setTypes(int index, QuestionType value)
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Parameters:
index- The index to set the value at.value- The types to set.- Returns:
- This builder for chaining.
-
addTypes
public SearchRequest.SearchRequestData.Builder addTypes(QuestionType value)
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Parameters:
value- The types to add.- Returns:
- This builder for chaining.
-
addAllTypes
public SearchRequest.SearchRequestData.Builder addAllTypes(java.lang.Iterable<? extends QuestionType> values)
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Parameters:
values- The types to add.- Returns:
- This builder for chaining.
-
clearTypes
public SearchRequest.SearchRequestData.Builder clearTypes()
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Returns:
- This builder for chaining.
-
getTypesValueList
public java.util.List<java.lang.Integer> getTypesValueList()
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Specified by:
getTypesValueListin interfaceSearchRequest.SearchRequestDataOrBuilder- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
public int getTypesValue(int index)
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Specified by:
getTypesValuein interfaceSearchRequest.SearchRequestDataOrBuilder- 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 SearchRequest.SearchRequestData.Builder setTypesValue(int index, int value)
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [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 SearchRequest.SearchRequestData.Builder addTypesValue(int value)
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Parameters:
value- The enum numeric value on the wire for types to add.- Returns:
- This builder for chaining.
-
addAllTypesValue
public SearchRequest.SearchRequestData.Builder addAllTypesValue(java.lang.Iterable<java.lang.Integer> values)
allowed tags for question types
repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];- Parameters:
values- The enum numeric values on the wire for types to add.- Returns:
- This builder for chaining.
-
getTagIdsList
public java.util.List<java.lang.String> getTagIdsList()
user selected tags
repeated string tag_ids = 2 [json_name = "tagIds"];- Specified by:
getTagIdsListin interfaceSearchRequest.SearchRequestDataOrBuilder- Returns:
- A list containing the tagIds.
-
getTagIdsCount
public int getTagIdsCount()
user selected tags
repeated string tag_ids = 2 [json_name = "tagIds"];- Specified by:
getTagIdsCountin interfaceSearchRequest.SearchRequestDataOrBuilder- Returns:
- The count of tagIds.
-
getTagIds
public java.lang.String getTagIds(int index)
user selected tags
repeated string tag_ids = 2 [json_name = "tagIds"];- Specified by:
getTagIdsin interfaceSearchRequest.SearchRequestDataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tagIds at the given index.
-
getTagIdsBytes
public com.google.protobuf.ByteString getTagIdsBytes(int index)
user selected tags
repeated string tag_ids = 2 [json_name = "tagIds"];- Specified by:
getTagIdsBytesin interfaceSearchRequest.SearchRequestDataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tagIds at the given index.
-
setTagIds
public SearchRequest.SearchRequestData.Builder setTagIds(int index, java.lang.String value)
user selected tags
repeated string tag_ids = 2 [json_name = "tagIds"];- Parameters:
index- The index to set the value at.value- The tagIds to set.- Returns:
- This builder for chaining.
-
addTagIds
public SearchRequest.SearchRequestData.Builder addTagIds(java.lang.String value)
user selected tags
repeated string tag_ids = 2 [json_name = "tagIds"];- Parameters:
value- The tagIds to add.- Returns:
- This builder for chaining.
-
addAllTagIds
public SearchRequest.SearchRequestData.Builder addAllTagIds(java.lang.Iterable<java.lang.String> values)
user selected tags
repeated string tag_ids = 2 [json_name = "tagIds"];- Parameters:
values- The tagIds to add.- Returns:
- This builder for chaining.
-
clearTagIds
public SearchRequest.SearchRequestData.Builder clearTagIds()
user selected tags
repeated string tag_ids = 2 [json_name = "tagIds"];- Returns:
- This builder for chaining.
-
addTagIdsBytes
public SearchRequest.SearchRequestData.Builder addTagIdsBytes(com.google.protobuf.ByteString value)
user selected tags
repeated string tag_ids = 2 [json_name = "tagIds"];- Parameters:
value- The bytes of the tagIds to add.- Returns:
- This builder for chaining.
-
getTagMatch
public java.lang.String getTagMatch()
partial tag seaching
string tag_match = 3 [json_name = "tagMatch"];- Specified by:
getTagMatchin interfaceSearchRequest.SearchRequestDataOrBuilder- Returns:
- The tagMatch.
-
getTagMatchBytes
public com.google.protobuf.ByteString getTagMatchBytes()
partial tag seaching
string tag_match = 3 [json_name = "tagMatch"];- Specified by:
getTagMatchBytesin interfaceSearchRequest.SearchRequestDataOrBuilder- Returns:
- The bytes for tagMatch.
-
setTagMatch
public SearchRequest.SearchRequestData.Builder setTagMatch(java.lang.String value)
partial tag seaching
string tag_match = 3 [json_name = "tagMatch"];- Parameters:
value- The tagMatch to set.- Returns:
- This builder for chaining.
-
clearTagMatch
public SearchRequest.SearchRequestData.Builder clearTagMatch()
partial tag seaching
string tag_match = 3 [json_name = "tagMatch"];- Returns:
- This builder for chaining.
-
setTagMatchBytes
public SearchRequest.SearchRequestData.Builder setTagMatchBytes(com.google.protobuf.ByteString value)
partial tag seaching
string tag_match = 3 [json_name = "tagMatch"];- Parameters:
value- The bytes for tagMatch to set.- Returns:
- This builder for chaining.
-
-