Class TotalConversationsRequest.TotalRequestFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<TotalConversationsRequest.TotalRequestFilter,TotalConversationsRequest.TotalRequestFilter.Builder>
-
- com.streamlayer.analytics.conversations.v1.TotalConversationsRequest.TotalRequestFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TotalConversationsRequest.TotalRequestFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- TotalConversationsRequest.TotalRequestFilter
public static final class TotalConversationsRequest.TotalRequestFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TotalConversationsRequest.TotalRequestFilter,TotalConversationsRequest.TotalRequestFilter.Builder> implements TotalConversationsRequest.TotalRequestFilterOrBuilder
Protobuf typestreamlayer.analytics.v1.conversations.TotalConversationsRequest.TotalRequestFilter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TotalConversationsRequest.TotalRequestFilter.BuilderaddAllCategories(java.lang.Iterable<? extends Category> values)categoriesTotalConversationsRequest.TotalRequestFilter.BuilderaddAllCategoriesValue(java.lang.Iterable<java.lang.Integer> values)categoriesTotalConversationsRequest.TotalRequestFilter.BuilderaddAllEventIds(java.lang.Iterable<? extends java.lang.Long> values)sport event idsTotalConversationsRequest.TotalRequestFilter.BuilderaddCategories(Category value)categoriesTotalConversationsRequest.TotalRequestFilter.BuilderaddCategoriesValue(int value)categoriesTotalConversationsRequest.TotalRequestFilter.BuilderaddEventIds(long value)sport event idsTotalConversationsRequest.TotalRequestFilter.BuilderclearCategories()categoriesTotalConversationsRequest.TotalRequestFilter.BuilderclearCountUnique()for counting statistics, unique by device idTotalConversationsRequest.TotalRequestFilter.BuilderclearEventIds()sport event idsTotalConversationsRequest.TotalRequestFilter.BuilderclearKind()kind: KIND_CONVERSATION_CREATED, KIND_CONVERSATION_JOINED, KIND_CONVERSATION_DELETED, KIND_CONVERSATION_OPENED, KIND_GROUP_CONVERSATION_OPENEDTotalConversationsRequest.TotalRequestFilter.BuilderclearPeriod()periodCategorygetCategories(int index)categoriesintgetCategoriesCount()categoriesjava.util.List<Category>getCategoriesList()categoriesintgetCategoriesValue(int index)categoriesjava.util.List<java.lang.Integer>getCategoriesValueList()categoriesbooleangetCountUnique()for counting statistics, unique by device idlonggetEventIds(int index)sport event idsintgetEventIdsCount()sport event idsjava.util.List<java.lang.Long>getEventIdsList()sport event idsKindgetKind()kind: KIND_CONVERSATION_CREATED, KIND_CONVERSATION_JOINED, KIND_CONVERSATION_DELETED, KIND_CONVERSATION_OPENED, KIND_GROUP_CONVERSATION_OPENEDintgetKindValue()kind: KIND_CONVERSATION_CREATED, KIND_CONVERSATION_JOINED, KIND_CONVERSATION_DELETED, KIND_CONVERSATION_OPENED, KIND_GROUP_CONVERSATION_OPENEDPeriodgetPeriod()periodbooleanhasPeriod()periodTotalConversationsRequest.TotalRequestFilter.BuildermergePeriod(Period value)periodTotalConversationsRequest.TotalRequestFilter.BuildersetCategories(int index, Category value)categoriesTotalConversationsRequest.TotalRequestFilter.BuildersetCategoriesValue(int index, int value)categoriesTotalConversationsRequest.TotalRequestFilter.BuildersetCountUnique(boolean value)for counting statistics, unique by device idTotalConversationsRequest.TotalRequestFilter.BuildersetEventIds(int index, long value)sport event idsTotalConversationsRequest.TotalRequestFilter.BuildersetKind(Kind value)kind: KIND_CONVERSATION_CREATED, KIND_CONVERSATION_JOINED, KIND_CONVERSATION_DELETED, KIND_CONVERSATION_OPENED, KIND_GROUP_CONVERSATION_OPENEDTotalConversationsRequest.TotalRequestFilter.BuildersetKindValue(int value)kind: KIND_CONVERSATION_CREATED, KIND_CONVERSATION_JOINED, KIND_CONVERSATION_DELETED, KIND_CONVERSATION_OPENED, KIND_GROUP_CONVERSATION_OPENEDTotalConversationsRequest.TotalRequestFilter.BuildersetPeriod(Period value)periodTotalConversationsRequest.TotalRequestFilter.BuildersetPeriod(Period.Builder builderForValue)period-
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
-
hasPeriod
public boolean hasPeriod()
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];- Specified by:
hasPeriodin interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Returns:
- Whether the period field is set.
-
getPeriod
public Period getPeriod()
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];- Specified by:
getPeriodin interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Returns:
- The period.
-
setPeriod
public TotalConversationsRequest.TotalRequestFilter.Builder setPeriod(Period value)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
setPeriod
public TotalConversationsRequest.TotalRequestFilter.Builder setPeriod(Period.Builder builderForValue)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
mergePeriod
public TotalConversationsRequest.TotalRequestFilter.Builder mergePeriod(Period value)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
clearPeriod
public TotalConversationsRequest.TotalRequestFilter.Builder clearPeriod()
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
getEventIdsList
public java.util.List<java.lang.Long> getEventIdsList()
sport event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsListin interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the eventIds.
-
getEventIdsCount
public int getEventIdsCount()
sport event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsCountin interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Returns:
- The count of eventIds.
-
getEventIds
public long getEventIds(int index)
sport event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsin interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The eventIds at the given index.
-
setEventIds
public TotalConversationsRequest.TotalRequestFilter.Builder setEventIds(int index, long value)
sport event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
value- The eventIds to set.- Returns:
- This builder for chaining.
-
addEventIds
public TotalConversationsRequest.TotalRequestFilter.Builder addEventIds(long value)
sport event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
value- The eventIds to add.- Returns:
- This builder for chaining.
-
addAllEventIds
public TotalConversationsRequest.TotalRequestFilter.Builder addAllEventIds(java.lang.Iterable<? extends java.lang.Long> values)
sport event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
values- The eventIds to add.- Returns:
- This builder for chaining.
-
clearEventIds
public TotalConversationsRequest.TotalRequestFilter.Builder clearEventIds()
sport event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Returns:
- This builder for chaining.
-
getCategoriesList
public java.util.List<Category> getCategoriesList()
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Specified by:
getCategoriesListin interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the categories.
-
getCategoriesCount
public int getCategoriesCount()
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Specified by:
getCategoriesCountin interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Returns:
- The count of categories.
-
getCategories
public Category getCategories(int index)
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Specified by:
getCategoriesin interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The categories at the given index.
-
setCategories
public TotalConversationsRequest.TotalRequestFilter.Builder setCategories(int index, Category value)
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Parameters:
index- The index to set the value at.value- The categories to set.- Returns:
- This builder for chaining.
-
addCategories
public TotalConversationsRequest.TotalRequestFilter.Builder addCategories(Category value)
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Parameters:
value- The categories to add.- Returns:
- This builder for chaining.
-
addAllCategories
public TotalConversationsRequest.TotalRequestFilter.Builder addAllCategories(java.lang.Iterable<? extends Category> values)
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Parameters:
values- The categories to add.- Returns:
- This builder for chaining.
-
clearCategories
public TotalConversationsRequest.TotalRequestFilter.Builder clearCategories()
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Returns:
- This builder for chaining.
-
getCategoriesValueList
public java.util.List<java.lang.Integer> getCategoriesValueList()
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Specified by:
getCategoriesValueListin interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the enum numeric values on the wire for categories.
-
getCategoriesValue
public int getCategoriesValue(int index)
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Specified by:
getCategoriesValuein interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of categories at the given index.
-
setCategoriesValue
public TotalConversationsRequest.TotalRequestFilter.Builder setCategoriesValue(int index, int value)
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for categories to set.- Returns:
- This builder for chaining.
-
addCategoriesValue
public TotalConversationsRequest.TotalRequestFilter.Builder addCategoriesValue(int value)
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Parameters:
value- The enum numeric value on the wire for categories to add.- Returns:
- This builder for chaining.
-
addAllCategoriesValue
public TotalConversationsRequest.TotalRequestFilter.Builder addAllCategoriesValue(java.lang.Iterable<java.lang.Integer> values)
categories
repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];- Parameters:
values- The enum numeric values on the wire for categories to add.- Returns:
- This builder for chaining.
-
getKindValue
public int getKindValue()
kind: KIND_CONVERSATION_CREATED, KIND_CONVERSATION_JOINED, KIND_CONVERSATION_DELETED, KIND_CONVERSATION_OPENED, KIND_GROUP_CONVERSATION_OPENED
.streamlayer.analytics.v1.common.Kind kind = 4 [json_name = "kind"];- Specified by:
getKindValuein interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Returns:
- The enum numeric value on the wire for kind.
-
setKindValue
public TotalConversationsRequest.TotalRequestFilter.Builder setKindValue(int value)
kind: KIND_CONVERSATION_CREATED, KIND_CONVERSATION_JOINED, KIND_CONVERSATION_DELETED, KIND_CONVERSATION_OPENED, KIND_GROUP_CONVERSATION_OPENED
.streamlayer.analytics.v1.common.Kind kind = 4 [json_name = "kind"];- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
getKind
public Kind getKind()
kind: KIND_CONVERSATION_CREATED, KIND_CONVERSATION_JOINED, KIND_CONVERSATION_DELETED, KIND_CONVERSATION_OPENED, KIND_GROUP_CONVERSATION_OPENED
.streamlayer.analytics.v1.common.Kind kind = 4 [json_name = "kind"];- Specified by:
getKindin interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Returns:
- The kind.
-
setKind
public TotalConversationsRequest.TotalRequestFilter.Builder setKind(Kind value)
kind: KIND_CONVERSATION_CREATED, KIND_CONVERSATION_JOINED, KIND_CONVERSATION_DELETED, KIND_CONVERSATION_OPENED, KIND_GROUP_CONVERSATION_OPENED
.streamlayer.analytics.v1.common.Kind kind = 4 [json_name = "kind"];- Parameters:
value- The enum numeric value on the wire for kind to set.- Returns:
- This builder for chaining.
-
clearKind
public TotalConversationsRequest.TotalRequestFilter.Builder clearKind()
kind: KIND_CONVERSATION_CREATED, KIND_CONVERSATION_JOINED, KIND_CONVERSATION_DELETED, KIND_CONVERSATION_OPENED, KIND_GROUP_CONVERSATION_OPENED
.streamlayer.analytics.v1.common.Kind kind = 4 [json_name = "kind"];- Returns:
- This builder for chaining.
-
getCountUnique
public boolean getCountUnique()
for counting statistics, unique by device id
bool count_unique = 5 [json_name = "countUnique"];- Specified by:
getCountUniquein interfaceTotalConversationsRequest.TotalRequestFilterOrBuilder- Returns:
- The countUnique.
-
setCountUnique
public TotalConversationsRequest.TotalRequestFilter.Builder setCountUnique(boolean value)
for counting statistics, unique by device id
bool count_unique = 5 [json_name = "countUnique"];- Parameters:
value- The countUnique to set.- Returns:
- This builder for chaining.
-
clearCountUnique
public TotalConversationsRequest.TotalRequestFilter.Builder clearCountUnique()
for counting statistics, unique by device id
bool count_unique = 5 [json_name = "countUnique"];- Returns:
- This builder for chaining.
-
-