Class TotalInteractionsRequest.TotalRequestFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<TotalInteractionsRequest.TotalRequestFilter,TotalInteractionsRequest.TotalRequestFilter.Builder>
-
- com.streamlayer.analytics.interactions.v1.TotalInteractionsRequest.TotalRequestFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TotalInteractionsRequest.TotalRequestFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- TotalInteractionsRequest.TotalRequestFilter
public static final class TotalInteractionsRequest.TotalRequestFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TotalInteractionsRequest.TotalRequestFilter,TotalInteractionsRequest.TotalRequestFilter.Builder> implements TotalInteractionsRequest.TotalRequestFilterOrBuilder
Protobuf typestreamlayer.analytics.v1.interactions.TotalInteractionsRequest.TotalRequestFilter
-
-
Method Summary
-
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 interfaceTotalInteractionsRequest.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 interfaceTotalInteractionsRequest.TotalRequestFilterOrBuilder- Returns:
- The period.
-
setPeriod
public TotalInteractionsRequest.TotalRequestFilter.Builder setPeriod(Period value)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
setPeriod
public TotalInteractionsRequest.TotalRequestFilter.Builder setPeriod(Period.Builder builderForValue)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
mergePeriod
public TotalInteractionsRequest.TotalRequestFilter.Builder mergePeriod(Period value)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
clearPeriod
public TotalInteractionsRequest.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 interfaceTotalInteractionsRequest.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 interfaceTotalInteractionsRequest.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 interfaceTotalInteractionsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The eventIds at the given index.
-
setEventIds
public TotalInteractionsRequest.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 TotalInteractionsRequest.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 TotalInteractionsRequest.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 TotalInteractionsRequest.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 interfaceTotalInteractionsRequest.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 interfaceTotalInteractionsRequest.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 interfaceTotalInteractionsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The categories at the given index.
-
setCategories
public TotalInteractionsRequest.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 TotalInteractionsRequest.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 TotalInteractionsRequest.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 TotalInteractionsRequest.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 interfaceTotalInteractionsRequest.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 interfaceTotalInteractionsRequest.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 TotalInteractionsRequest.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 TotalInteractionsRequest.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 TotalInteractionsRequest.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.
-
getActionTypesList
public java.util.List<InteractionActionType> getActionTypesList()
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Specified by:
getActionTypesListin interfaceTotalInteractionsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the actionTypes.
-
getActionTypesCount
public int getActionTypesCount()
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Specified by:
getActionTypesCountin interfaceTotalInteractionsRequest.TotalRequestFilterOrBuilder- Returns:
- The count of actionTypes.
-
getActionTypes
public InteractionActionType getActionTypes(int index)
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Specified by:
getActionTypesin interfaceTotalInteractionsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The actionTypes at the given index.
-
setActionTypes
public TotalInteractionsRequest.TotalRequestFilter.Builder setActionTypes(int index, InteractionActionType value)
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Parameters:
index- The index to set the value at.value- The actionTypes to set.- Returns:
- This builder for chaining.
-
addActionTypes
public TotalInteractionsRequest.TotalRequestFilter.Builder addActionTypes(InteractionActionType value)
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Parameters:
value- The actionTypes to add.- Returns:
- This builder for chaining.
-
addAllActionTypes
public TotalInteractionsRequest.TotalRequestFilter.Builder addAllActionTypes(java.lang.Iterable<? extends InteractionActionType> values)
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Parameters:
values- The actionTypes to add.- Returns:
- This builder for chaining.
-
clearActionTypes
public TotalInteractionsRequest.TotalRequestFilter.Builder clearActionTypes()
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Returns:
- This builder for chaining.
-
getActionTypesValueList
public java.util.List<java.lang.Integer> getActionTypesValueList()
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Specified by:
getActionTypesValueListin interfaceTotalInteractionsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the enum numeric values on the wire for actionTypes.
-
getActionTypesValue
public int getActionTypesValue(int index)
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Specified by:
getActionTypesValuein interfaceTotalInteractionsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of actionTypes at the given index.
-
setActionTypesValue
public TotalInteractionsRequest.TotalRequestFilter.Builder setActionTypesValue(int index, int value)
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for actionTypes to set.- Returns:
- This builder for chaining.
-
addActionTypesValue
public TotalInteractionsRequest.TotalRequestFilter.Builder addActionTypesValue(int value)
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Parameters:
value- The enum numeric value on the wire for actionTypes to add.- Returns:
- This builder for chaining.
-
addAllActionTypesValue
public TotalInteractionsRequest.TotalRequestFilter.Builder addAllActionTypesValue(java.lang.Iterable<java.lang.Integer> values)
action types
repeated .streamlayer.analytics.v1.interactions.InteractionActionType action_types = 4 [json_name = "actionTypes"];- Parameters:
values- The enum numeric values on the wire for actionTypes 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 interfaceTotalInteractionsRequest.TotalRequestFilterOrBuilder- Returns:
- The countUnique.
-
setCountUnique
public TotalInteractionsRequest.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 TotalInteractionsRequest.TotalRequestFilter.Builder clearCountUnique()
for counting statistics, unique by device id
bool count_unique = 5 [json_name = "countUnique"];- Returns:
- This builder for chaining.
-
-