Class TotalPollsRequest.TotalRequestFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<TotalPollsRequest.TotalRequestFilter,TotalPollsRequest.TotalRequestFilter.Builder>
-
- com.streamlayer.analytics.polls.v1.TotalPollsRequest.TotalRequestFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TotalPollsRequest.TotalRequestFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- TotalPollsRequest.TotalRequestFilter
public static final class TotalPollsRequest.TotalRequestFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TotalPollsRequest.TotalRequestFilter,TotalPollsRequest.TotalRequestFilter.Builder> implements TotalPollsRequest.TotalRequestFilterOrBuilder
Protobuf typestreamlayer.analytics.v1.polls.TotalPollsRequest.TotalRequestFilter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TotalPollsRequest.TotalRequestFilter.BuilderaddAllEventIds(java.lang.Iterable<? extends java.lang.Long> values)sports events idTotalPollsRequest.TotalRequestFilter.BuilderaddAllKinds(java.lang.Iterable<? extends Kind> values)kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDTotalPollsRequest.TotalRequestFilter.BuilderaddAllKindsValue(java.lang.Iterable<java.lang.Integer> values)kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDTotalPollsRequest.TotalRequestFilter.BuilderaddAllTopicIds(java.lang.Iterable<java.lang.String> values)question idTotalPollsRequest.TotalRequestFilter.BuilderaddEventIds(long value)sports events idTotalPollsRequest.TotalRequestFilter.BuilderaddKinds(Kind value)kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDTotalPollsRequest.TotalRequestFilter.BuilderaddKindsValue(int value)kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDTotalPollsRequest.TotalRequestFilter.BuilderaddTopicIds(java.lang.String value)question idTotalPollsRequest.TotalRequestFilter.BuilderaddTopicIdsBytes(com.google.protobuf.ByteString value)question idTotalPollsRequest.TotalRequestFilter.BuilderclearCountUnique()for counting statistics, unique by device idTotalPollsRequest.TotalRequestFilter.BuilderclearEventIds()sports events idTotalPollsRequest.TotalRequestFilter.BuilderclearKinds()kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDTotalPollsRequest.TotalRequestFilter.BuilderclearPeriod()periodTotalPollsRequest.TotalRequestFilter.BuilderclearTopicIds()question idbooleangetCountUnique()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_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDintgetKindsCount()kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDjava.util.List<Kind>getKindsList()kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDintgetKindsValue(int index)kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDjava.util.List<java.lang.Integer>getKindsValueList()kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDPeriodgetPeriod()periodjava.lang.StringgetTopicIds(int index)question idcom.google.protobuf.ByteStringgetTopicIdsBytes(int index)question idintgetTopicIdsCount()question idjava.util.List<java.lang.String>getTopicIdsList()question idbooleanhasPeriod()periodTotalPollsRequest.TotalRequestFilter.BuildermergePeriod(Period value)periodTotalPollsRequest.TotalRequestFilter.BuildersetCountUnique(boolean value)for counting statistics, unique by device idTotalPollsRequest.TotalRequestFilter.BuildersetEventIds(int index, long value)sports events idTotalPollsRequest.TotalRequestFilter.BuildersetKinds(int index, Kind value)kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDTotalPollsRequest.TotalRequestFilter.BuildersetKindsValue(int index, int value)kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENEDTotalPollsRequest.TotalRequestFilter.BuildersetPeriod(Period value)periodTotalPollsRequest.TotalRequestFilter.BuildersetPeriod(Period.Builder builderForValue)periodTotalPollsRequest.TotalRequestFilter.BuildersetTopicIds(int index, java.lang.String value)question id-
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 interfaceTotalPollsRequest.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 interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Returns:
- The period.
-
setPeriod
public TotalPollsRequest.TotalRequestFilter.Builder setPeriod(Period value)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
setPeriod
public TotalPollsRequest.TotalRequestFilter.Builder setPeriod(Period.Builder builderForValue)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
mergePeriod
public TotalPollsRequest.TotalRequestFilter.Builder mergePeriod(Period value)
period
.streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
-
clearPeriod
public TotalPollsRequest.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 interfaceTotalPollsRequest.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 interfaceTotalPollsRequest.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 interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The eventIds at the given index.
-
setEventIds
public TotalPollsRequest.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 TotalPollsRequest.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 TotalPollsRequest.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 TotalPollsRequest.TotalRequestFilter.Builder clearEventIds()
sports events id
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Returns:
- This builder for chaining.
-
getTopicIdsList
public java.util.List<java.lang.String> getTopicIdsList()
question id
repeated string topic_ids = 3 [json_name = "topicIds"];- Specified by:
getTopicIdsListin interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the topicIds.
-
getTopicIdsCount
public int getTopicIdsCount()
question id
repeated string topic_ids = 3 [json_name = "topicIds"];- Specified by:
getTopicIdsCountin interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Returns:
- The count of topicIds.
-
getTopicIds
public java.lang.String getTopicIds(int index)
question id
repeated string topic_ids = 3 [json_name = "topicIds"];- Specified by:
getTopicIdsin interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The topicIds at the given index.
-
getTopicIdsBytes
public com.google.protobuf.ByteString getTopicIdsBytes(int index)
question id
repeated string topic_ids = 3 [json_name = "topicIds"];- Specified by:
getTopicIdsBytesin interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the topicIds at the given index.
-
setTopicIds
public TotalPollsRequest.TotalRequestFilter.Builder setTopicIds(int index, java.lang.String value)
question id
repeated string topic_ids = 3 [json_name = "topicIds"];- Parameters:
index- The index to set the value at.value- The topicIds to set.- Returns:
- This builder for chaining.
-
addTopicIds
public TotalPollsRequest.TotalRequestFilter.Builder addTopicIds(java.lang.String value)
question id
repeated string topic_ids = 3 [json_name = "topicIds"];- Parameters:
value- The topicIds to add.- Returns:
- This builder for chaining.
-
addAllTopicIds
public TotalPollsRequest.TotalRequestFilter.Builder addAllTopicIds(java.lang.Iterable<java.lang.String> values)
question id
repeated string topic_ids = 3 [json_name = "topicIds"];- Parameters:
values- The topicIds to add.- Returns:
- This builder for chaining.
-
clearTopicIds
public TotalPollsRequest.TotalRequestFilter.Builder clearTopicIds()
question id
repeated string topic_ids = 3 [json_name = "topicIds"];- Returns:
- This builder for chaining.
-
addTopicIdsBytes
public TotalPollsRequest.TotalRequestFilter.Builder addTopicIdsBytes(com.google.protobuf.ByteString value)
question id
repeated string topic_ids = 3 [json_name = "topicIds"];- Parameters:
value- The bytes of the topicIds to add.- Returns:
- This builder for chaining.
-
getKindsList
public java.util.List<Kind> getKindsList()
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Specified by:
getKindsListin interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the kinds.
-
getKindsCount
public int getKindsCount()
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Specified by:
getKindsCountin interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Returns:
- The count of kinds.
-
getKinds
public Kind getKinds(int index)
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Specified by:
getKindsin interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The kinds at the given index.
-
setKinds
public TotalPollsRequest.TotalRequestFilter.Builder setKinds(int index, Kind value)
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
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 TotalPollsRequest.TotalRequestFilter.Builder addKinds(Kind value)
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Parameters:
value- The kinds to add.- Returns:
- This builder for chaining.
-
addAllKinds
public TotalPollsRequest.TotalRequestFilter.Builder addAllKinds(java.lang.Iterable<? extends Kind> values)
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Parameters:
values- The kinds to add.- Returns:
- This builder for chaining.
-
clearKinds
public TotalPollsRequest.TotalRequestFilter.Builder clearKinds()
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
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_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Specified by:
getKindsValueListin interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Returns:
- A list containing the enum numeric values on the wire for kinds.
-
getKindsValue
public int getKindsValue(int index)
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];- Specified by:
getKindsValuein interfaceTotalPollsRequest.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 TotalPollsRequest.TotalRequestFilter.Builder setKindsValue(int index, int value)
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
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 TotalPollsRequest.TotalRequestFilter.Builder addKindsValue(int value)
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
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 TotalPollsRequest.TotalRequestFilter.Builder addAllKindsValue(java.lang.Iterable<java.lang.Integer> values)
kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
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 interfaceTotalPollsRequest.TotalRequestFilterOrBuilder- Returns:
- The countUnique.
-
setCountUnique
public TotalPollsRequest.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 TotalPollsRequest.TotalRequestFilter.Builder clearCountUnique()
for counting statistics, unique by device id
bool count_unique = 5 [json_name = "countUnique"];- Returns:
- This builder for chaining.
-
-