Class TotalNotificationsRequest.TotalRequestFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<TotalNotificationsRequest.TotalRequestFilter,TotalNotificationsRequest.TotalRequestFilter.Builder>
-
- com.streamlayer.analytics.notifications.v1.TotalNotificationsRequest.TotalRequestFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TotalNotificationsRequest.TotalRequestFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- TotalNotificationsRequest.TotalRequestFilter
public static final class TotalNotificationsRequest.TotalRequestFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TotalNotificationsRequest.TotalRequestFilter,TotalNotificationsRequest.TotalRequestFilter.Builder> implements TotalNotificationsRequest.TotalRequestFilterOrBuilder
Protobuf typestreamlayer.analytics.v1.notifications.TotalNotificationsRequest.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 interfaceTotalNotificationsRequest.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 interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- The period.
-
setPeriod
public TotalNotificationsRequest.TotalRequestFilter.Builder setPeriod(Period value)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
setPeriod
public TotalNotificationsRequest.TotalRequestFilter.Builder setPeriod(Period.Builder builderForValue)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
mergePeriod
public TotalNotificationsRequest.TotalRequestFilter.Builder mergePeriod(Period value)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
clearPeriod
public TotalNotificationsRequest.TotalRequestFilter.Builder clearPeriod()
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
getEventIdsList
public java.util.List<java.lang.Long> getEventIdsList()
sports event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsListin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the eventIds.
-
getEventIdsCount
public int getEventIdsCount()
sports event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsCountin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- The count of eventIds.
-
getEventIds
public long getEventIds(int index)
sports event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The eventIds at the given index.
-
setEventIds
public TotalNotificationsRequest.TotalRequestFilter.Builder setEventIds(int index, long value)
sports event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
value- The eventIds to set.- Returns:
- This builder for chaining.
-
addEventIds
public TotalNotificationsRequest.TotalRequestFilter.Builder addEventIds(long value)
sports event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
value- The eventIds to add.- Returns:
- This builder for chaining.
-
addAllEventIds
public TotalNotificationsRequest.TotalRequestFilter.Builder addAllEventIds(java.lang.Iterable<? extends java.lang.Long> values)
sports event ids
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
values- The eventIds to add.- Returns:
- This builder for chaining.
-
clearEventIds
public TotalNotificationsRequest.TotalRequestFilter.Builder clearEventIds()
sports 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 interfaceTotalNotificationsRequest.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 interfaceTotalNotificationsRequest.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 interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The categories at the given index.
-
setCategories
public TotalNotificationsRequest.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 TotalNotificationsRequest.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 TotalNotificationsRequest.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 TotalNotificationsRequest.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 interfaceTotalNotificationsRequest.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 interfaceTotalNotificationsRequest.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 TotalNotificationsRequest.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 TotalNotificationsRequest.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 TotalNotificationsRequest.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.
-
getNotificationKindsList
public java.util.List<NotificationKind> getNotificationKindsList()
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Specified by:
getNotificationKindsListin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the notificationKinds.
-
getNotificationKindsCount
public int getNotificationKindsCount()
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Specified by:
getNotificationKindsCountin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- The count of notificationKinds.
-
getNotificationKinds
public NotificationKind getNotificationKinds(int index)
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Specified by:
getNotificationKindsin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The notificationKinds at the given index.
-
setNotificationKinds
public TotalNotificationsRequest.TotalRequestFilter.Builder setNotificationKinds(int index, NotificationKind value)
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Parameters:
index- The index to set the value at.value- The notificationKinds to set.- Returns:
- This builder for chaining.
-
addNotificationKinds
public TotalNotificationsRequest.TotalRequestFilter.Builder addNotificationKinds(NotificationKind value)
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Parameters:
value- The notificationKinds to add.- Returns:
- This builder for chaining.
-
addAllNotificationKinds
public TotalNotificationsRequest.TotalRequestFilter.Builder addAllNotificationKinds(java.lang.Iterable<? extends NotificationKind> values)
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Parameters:
values- The notificationKinds to add.- Returns:
- This builder for chaining.
-
clearNotificationKinds
public TotalNotificationsRequest.TotalRequestFilter.Builder clearNotificationKinds()
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Returns:
- This builder for chaining.
-
getNotificationKindsValueList
public java.util.List<java.lang.Integer> getNotificationKindsValueList()
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Specified by:
getNotificationKindsValueListin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the enum numeric values on the wire for notificationKinds.
-
getNotificationKindsValue
public int getNotificationKindsValue(int index)
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Specified by:
getNotificationKindsValuein interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of notificationKinds at the given index.
-
setNotificationKindsValue
public TotalNotificationsRequest.TotalRequestFilter.Builder setNotificationKindsValue(int index, int value)
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for notificationKinds to set.- Returns:
- This builder for chaining.
-
addNotificationKindsValue
public TotalNotificationsRequest.TotalRequestFilter.Builder addNotificationKindsValue(int value)
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Parameters:
value- The enum numeric value on the wire for notificationKinds to add.- Returns:
- This builder for chaining.
-
addAllNotificationKindsValue
public TotalNotificationsRequest.TotalRequestFilter.Builder addAllNotificationKindsValue(java.lang.Iterable<java.lang.Integer> values)
notification kind
repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];- Parameters:
values- The enum numeric values on the wire for notificationKinds to add.- Returns:
- This builder for chaining.
-
getNotificationTypesList
public java.util.List<NotificationType> getNotificationTypesList()
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Specified by:
getNotificationTypesListin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the notificationTypes.
-
getNotificationTypesCount
public int getNotificationTypesCount()
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Specified by:
getNotificationTypesCountin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- The count of notificationTypes.
-
getNotificationTypes
public NotificationType getNotificationTypes(int index)
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Specified by:
getNotificationTypesin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The notificationTypes at the given index.
-
setNotificationTypes
public TotalNotificationsRequest.TotalRequestFilter.Builder setNotificationTypes(int index, NotificationType value)
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Parameters:
index- The index to set the value at.value- The notificationTypes to set.- Returns:
- This builder for chaining.
-
addNotificationTypes
public TotalNotificationsRequest.TotalRequestFilter.Builder addNotificationTypes(NotificationType value)
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Parameters:
value- The notificationTypes to add.- Returns:
- This builder for chaining.
-
addAllNotificationTypes
public TotalNotificationsRequest.TotalRequestFilter.Builder addAllNotificationTypes(java.lang.Iterable<? extends NotificationType> values)
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Parameters:
values- The notificationTypes to add.- Returns:
- This builder for chaining.
-
clearNotificationTypes
public TotalNotificationsRequest.TotalRequestFilter.Builder clearNotificationTypes()
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Returns:
- This builder for chaining.
-
getNotificationTypesValueList
public java.util.List<java.lang.Integer> getNotificationTypesValueList()
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Specified by:
getNotificationTypesValueListin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the enum numeric values on the wire for notificationTypes.
-
getNotificationTypesValue
public int getNotificationTypesValue(int index)
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Specified by:
getNotificationTypesValuein interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of notificationTypes at the given index.
-
setNotificationTypesValue
public TotalNotificationsRequest.TotalRequestFilter.Builder setNotificationTypesValue(int index, int value)
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for notificationTypes to set.- Returns:
- This builder for chaining.
-
addNotificationTypesValue
public TotalNotificationsRequest.TotalRequestFilter.Builder addNotificationTypesValue(int value)
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Parameters:
value- The enum numeric value on the wire for notificationTypes to add.- Returns:
- This builder for chaining.
-
addAllNotificationTypesValue
public TotalNotificationsRequest.TotalRequestFilter.Builder addAllNotificationTypesValue(java.lang.Iterable<java.lang.Integer> values)
notification types
repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];- Parameters:
values- The enum numeric values on the wire for notificationTypes to add.- Returns:
- This builder for chaining.
-
getKindValue
public int getKindValue()
kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v1.common.Kind kind = 6 [json_name = "kind"];- Specified by:
getKindValuein interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- The enum numeric value on the wire for kind.
-
setKindValue
public TotalNotificationsRequest.TotalRequestFilter.Builder setKindValue(int value)
kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v1.common.Kind kind = 6 [json_name = "kind"];- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
getKind
public Kind getKind()
kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v1.common.Kind kind = 6 [json_name = "kind"];- Specified by:
getKindin interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- The kind.
-
setKind
public TotalNotificationsRequest.TotalRequestFilter.Builder setKind(Kind value)
kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v1.common.Kind kind = 6 [json_name = "kind"];- Parameters:
value- The enum numeric value on the wire for kind to set.- Returns:
- This builder for chaining.
-
clearKind
public TotalNotificationsRequest.TotalRequestFilter.Builder clearKind()
kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v1.common.Kind kind = 6 [json_name = "kind"];- Returns:
- This builder for chaining.
-
getCountUnique
public boolean getCountUnique()
for counting statistics, unique by device id
bool count_unique = 7 [json_name = "countUnique"];- Specified by:
getCountUniquein interfaceTotalNotificationsRequest.TotalRequestFilterOrBuilder- Returns:
- The countUnique.
-
setCountUnique
public TotalNotificationsRequest.TotalRequestFilter.Builder setCountUnique(boolean value)
for counting statistics, unique by device id
bool count_unique = 7 [json_name = "countUnique"];- Parameters:
value- The countUnique to set.- Returns:
- This builder for chaining.
-
clearCountUnique
public TotalNotificationsRequest.TotalRequestFilter.Builder clearCountUnique()
for counting statistics, unique by device id
bool count_unique = 7 [json_name = "countUnique"];- Returns:
- This builder for chaining.
-
-