Class TotalCallsRequest.TotalRequestFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<TotalCallsRequest.TotalRequestFilter,TotalCallsRequest.TotalRequestFilter.Builder>
-
- com.streamlayer.analytics.calls.v1.TotalCallsRequest.TotalRequestFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TotalCallsRequest.TotalRequestFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- TotalCallsRequest.TotalRequestFilter
public static final class TotalCallsRequest.TotalRequestFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TotalCallsRequest.TotalRequestFilter,TotalCallsRequest.TotalRequestFilter.Builder> implements TotalCallsRequest.TotalRequestFilterOrBuilder
Protobuf typestreamlayer.analytics.v1.calls.TotalCallsRequest.TotalRequestFilter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TotalCallsRequest.TotalRequestFilter.BuilderaddAllCategories(java.lang.Iterable<? extends Category> values)categoriesTotalCallsRequest.TotalRequestFilter.BuilderaddAllCategoriesValue(java.lang.Iterable<java.lang.Integer> values)categoriesTotalCallsRequest.TotalRequestFilter.BuilderaddAllEventIds(java.lang.Iterable<? extends java.lang.Long> values)sports events idTotalCallsRequest.TotalRequestFilter.BuilderaddAllKinds(java.lang.Iterable<? extends Kind> values)kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDTotalCallsRequest.TotalRequestFilter.BuilderaddAllKindsValue(java.lang.Iterable<java.lang.Integer> values)kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDTotalCallsRequest.TotalRequestFilter.BuilderaddCategories(Category value)categoriesTotalCallsRequest.TotalRequestFilter.BuilderaddCategoriesValue(int value)categoriesTotalCallsRequest.TotalRequestFilter.BuilderaddEventIds(long value)sports events idTotalCallsRequest.TotalRequestFilter.BuilderaddKinds(Kind value)kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDTotalCallsRequest.TotalRequestFilter.BuilderaddKindsValue(int value)kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDTotalCallsRequest.TotalRequestFilter.BuilderclearCategories()categoriesTotalCallsRequest.TotalRequestFilter.BuilderclearCountUnique()for counting statistics, unique by device idTotalCallsRequest.TotalRequestFilter.BuilderclearEventIds()sports events idTotalCallsRequest.TotalRequestFilter.BuilderclearKinds()kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDTotalCallsRequest.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)sports events idintgetEventIdsCount()sports events idjava.util.List<java.lang.Long>getEventIdsList()sports events idKindgetKinds(int index)kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDintgetKindsCount()kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDjava.util.List<Kind>getKindsList()kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDintgetKindsValue(int index)kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDjava.util.List<java.lang.Integer>getKindsValueList()kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDPeriodgetPeriod()periodbooleanhasPeriod()periodTotalCallsRequest.TotalRequestFilter.BuildermergePeriod(Period value)periodTotalCallsRequest.TotalRequestFilter.BuildersetCategories(int index, Category value)categoriesTotalCallsRequest.TotalRequestFilter.BuildersetCategoriesValue(int index, int value)categoriesTotalCallsRequest.TotalRequestFilter.BuildersetCountUnique(boolean value)for counting statistics, unique by device idTotalCallsRequest.TotalRequestFilter.BuildersetEventIds(int index, long value)sports events idTotalCallsRequest.TotalRequestFilter.BuildersetKinds(int index, Kind value)kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDTotalCallsRequest.TotalRequestFilter.BuildersetKindsValue(int index, int value)kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINEDTotalCallsRequest.TotalRequestFilter.BuildersetPeriod(Period value)periodTotalCallsRequest.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 interfaceTotalCallsRequest.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 interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Returns:
- The period.
-
setPeriod
public TotalCallsRequest.TotalRequestFilter.Builder setPeriod(Period value)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
setPeriod
public TotalCallsRequest.TotalRequestFilter.Builder setPeriod(Period.Builder builderForValue)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
mergePeriod
public TotalCallsRequest.TotalRequestFilter.Builder mergePeriod(Period value)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
clearPeriod
public TotalCallsRequest.TotalRequestFilter.Builder clearPeriod()
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
getEventIdsList
public java.util.List<java.lang.Long> getEventIdsList()
sports events id
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsListin interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the eventIds.
-
getEventIdsCount
public int getEventIdsCount()
sports events id
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsCountin interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Returns:
- The count of eventIds.
-
getEventIds
public long getEventIds(int index)
sports events id
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsin interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The eventIds at the given index.
-
setEventIds
public TotalCallsRequest.TotalRequestFilter.Builder setEventIds(int index, long value)
sports events id
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
value- The eventIds to set.- Returns:
- This builder for chaining.
-
addEventIds
public TotalCallsRequest.TotalRequestFilter.Builder addEventIds(long value)
sports events id
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
value- The eventIds to add.- Returns:
- This builder for chaining.
-
addAllEventIds
public TotalCallsRequest.TotalRequestFilter.Builder addAllEventIds(java.lang.Iterable<? extends java.lang.Long> values)
sports events id
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
values- The eventIds to add.- Returns:
- This builder for chaining.
-
clearEventIds
public TotalCallsRequest.TotalRequestFilter.Builder clearEventIds()
sports events id
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 interfaceTotalCallsRequest.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 interfaceTotalCallsRequest.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 interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The categories at the given index.
-
setCategories
public TotalCallsRequest.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 TotalCallsRequest.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 TotalCallsRequest.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 TotalCallsRequest.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 interfaceTotalCallsRequest.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 interfaceTotalCallsRequest.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 TotalCallsRequest.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 TotalCallsRequest.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 TotalCallsRequest.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.
-
getKindsList
public java.util.List<Kind> getKindsList()
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Specified by:
getKindsListin interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the kinds.
-
getKindsCount
public int getKindsCount()
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Specified by:
getKindsCountin interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Returns:
- The count of kinds.
-
getKinds
public Kind getKinds(int index)
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Specified by:
getKindsin interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The kinds at the given index.
-
setKinds
public TotalCallsRequest.TotalRequestFilter.Builder setKinds(int index, Kind value)
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Parameters:
index- The index to set the value at.value- The kinds to set.- Returns:
- This builder for chaining.
-
addKinds
public TotalCallsRequest.TotalRequestFilter.Builder addKinds(Kind value)
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Parameters:
value- The kinds to add.- Returns:
- This builder for chaining.
-
addAllKinds
public TotalCallsRequest.TotalRequestFilter.Builder addAllKinds(java.lang.Iterable<? extends Kind> values)
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Parameters:
values- The kinds to add.- Returns:
- This builder for chaining.
-
clearKinds
public TotalCallsRequest.TotalRequestFilter.Builder clearKinds()
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Returns:
- This builder for chaining.
-
getKindsValueList
public java.util.List<java.lang.Integer> getKindsValueList()
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Specified by:
getKindsValueListin interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the enum numeric values on the wire for kinds.
-
getKindsValue
public int getKindsValue(int index)
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Specified by:
getKindsValuein interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of kinds at the given index.
-
setKindsValue
public TotalCallsRequest.TotalRequestFilter.Builder setKindsValue(int index, int value)
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for kinds to set.- Returns:
- This builder for chaining.
-
addKindsValue
public TotalCallsRequest.TotalRequestFilter.Builder addKindsValue(int value)
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Parameters:
value- The enum numeric value on the wire for kinds to add.- Returns:
- This builder for chaining.
-
addAllKindsValue
public TotalCallsRequest.TotalRequestFilter.Builder addAllKindsValue(java.lang.Iterable<java.lang.Integer> values)
kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Parameters:
values- The enum numeric values on the wire for kinds to add.- 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 interfaceTotalCallsRequest.TotalRequestFilterOrBuilder- Returns:
- The countUnique.
-
setCountUnique
public TotalCallsRequest.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 TotalCallsRequest.TotalRequestFilter.Builder clearCountUnique()
for counting statistics, unique by device id
bool count_unique = 5 [json_name = "countUnique"];- Returns:
- This builder for chaining.
-
-