Class PollsStatsByTimeLineRequestFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<PollsStatsByTimeLineRequestFilter,PollsStatsByTimeLineRequestFilter.Builder>
-
- com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineRequestFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,PollsStatsByTimeLineRequestFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- PollsStatsByTimeLineRequestFilter
public static final class PollsStatsByTimeLineRequestFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<PollsStatsByTimeLineRequestFilter,PollsStatsByTimeLineRequestFilter.Builder> implements PollsStatsByTimeLineRequestFilterOrBuilder
Protobuf typestreamlayer.analytics.v2.studio.PollsStatsByTimeLineRequestFilter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PollsStatsByTimeLineRequestFilter.BuilderaddAllCountries(java.lang.Iterable<java.lang.String> values)repeated string countries = 3 [json_name = "countries"];PollsStatsByTimeLineRequestFilter.BuilderaddCountries(java.lang.String value)repeated string countries = 3 [json_name = "countries"];PollsStatsByTimeLineRequestFilter.BuilderaddCountriesBytes(com.google.protobuf.ByteString value)repeated string countries = 3 [json_name = "countries"];PollsStatsByTimeLineRequestFilter.BuilderclearAggPeriod().streamlayer.analytics.v2.studio.AggPeriod agg_period = 5 [json_name = "aggPeriod"];PollsStatsByTimeLineRequestFilter.BuilderclearCountries()repeated string countries = 3 [json_name = "countries"];PollsStatsByTimeLineRequestFilter.BuilderclearEventId()uint64 event_id = 2 [json_name = "eventId"];PollsStatsByTimeLineRequestFilter.BuilderclearOrganizationId()optional string organization_id = 1 [json_name = "organizationId"];PollsStatsByTimeLineRequestFilter.BuilderclearPeriod()dafault now() - interval 1HPollsStatsByTimeLineRequestFilter.BuilderclearTopicType()optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];PollsStatsByTimeLineRequestFilter.BuilderclearTz()'America/New_York'AggPeriodgetAggPeriod().streamlayer.analytics.v2.studio.AggPeriod agg_period = 5 [json_name = "aggPeriod"];intgetAggPeriodValue().streamlayer.analytics.v2.studio.AggPeriod agg_period = 5 [json_name = "aggPeriod"];java.lang.StringgetCountries(int index)repeated string countries = 3 [json_name = "countries"];com.google.protobuf.ByteStringgetCountriesBytes(int index)repeated string countries = 3 [json_name = "countries"];intgetCountriesCount()repeated string countries = 3 [json_name = "countries"];java.util.List<java.lang.String>getCountriesList()repeated string countries = 3 [json_name = "countries"];longgetEventId()uint64 event_id = 2 [json_name = "eventId"];java.lang.StringgetOrganizationId()optional string organization_id = 1 [json_name = "organizationId"];com.google.protobuf.ByteStringgetOrganizationIdBytes()optional string organization_id = 1 [json_name = "organizationId"];PeriodgetPeriod()dafault now() - interval 1HTopicTypegetTopicType()optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];intgetTopicTypeValue()optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];java.lang.StringgetTz()'America/New_York'com.google.protobuf.ByteStringgetTzBytes()'America/New_York'booleanhasOrganizationId()optional string organization_id = 1 [json_name = "organizationId"];booleanhasPeriod()dafault now() - interval 1HbooleanhasTopicType()optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];booleanhasTz()'America/New_York'PollsStatsByTimeLineRequestFilter.BuildermergePeriod(Period value)dafault now() - interval 1HPollsStatsByTimeLineRequestFilter.BuildersetAggPeriod(AggPeriod value).streamlayer.analytics.v2.studio.AggPeriod agg_period = 5 [json_name = "aggPeriod"];PollsStatsByTimeLineRequestFilter.BuildersetAggPeriodValue(int value).streamlayer.analytics.v2.studio.AggPeriod agg_period = 5 [json_name = "aggPeriod"];PollsStatsByTimeLineRequestFilter.BuildersetCountries(int index, java.lang.String value)repeated string countries = 3 [json_name = "countries"];PollsStatsByTimeLineRequestFilter.BuildersetEventId(long value)uint64 event_id = 2 [json_name = "eventId"];PollsStatsByTimeLineRequestFilter.BuildersetOrganizationId(java.lang.String value)optional string organization_id = 1 [json_name = "organizationId"];PollsStatsByTimeLineRequestFilter.BuildersetOrganizationIdBytes(com.google.protobuf.ByteString value)optional string organization_id = 1 [json_name = "organizationId"];PollsStatsByTimeLineRequestFilter.BuildersetPeriod(Period value)dafault now() - interval 1HPollsStatsByTimeLineRequestFilter.BuildersetPeriod(Period.Builder builderForValue)dafault now() - interval 1HPollsStatsByTimeLineRequestFilter.BuildersetTopicType(TopicType value)optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];PollsStatsByTimeLineRequestFilter.BuildersetTopicTypeValue(int value)optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];PollsStatsByTimeLineRequestFilter.BuildersetTz(java.lang.String value)'America/New_York'PollsStatsByTimeLineRequestFilter.BuildersetTzBytes(com.google.protobuf.ByteString value)'America/New_York'-
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
-
hasOrganizationId
public boolean hasOrganizationId()
optional string organization_id = 1 [json_name = "organizationId"];- Specified by:
hasOrganizationIdin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- Whether the organizationId field is set.
-
getOrganizationId
public java.lang.String getOrganizationId()
optional string organization_id = 1 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()
optional string organization_id = 1 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The bytes for organizationId.
-
setOrganizationId
public PollsStatsByTimeLineRequestFilter.Builder setOrganizationId(java.lang.String value)
optional string organization_id = 1 [json_name = "organizationId"];- Parameters:
value- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
public PollsStatsByTimeLineRequestFilter.Builder clearOrganizationId()
optional string organization_id = 1 [json_name = "organizationId"];- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public PollsStatsByTimeLineRequestFilter.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
optional string organization_id = 1 [json_name = "organizationId"];- Parameters:
value- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getEventId
public long getEventId()
uint64 event_id = 2 [json_name = "eventId"];- Specified by:
getEventIdin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The eventId.
-
setEventId
public PollsStatsByTimeLineRequestFilter.Builder setEventId(long value)
uint64 event_id = 2 [json_name = "eventId"];- Parameters:
value- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public PollsStatsByTimeLineRequestFilter.Builder clearEventId()
uint64 event_id = 2 [json_name = "eventId"];- Returns:
- This builder for chaining.
-
getCountriesList
public java.util.List<java.lang.String> getCountriesList()
repeated string countries = 3 [json_name = "countries"];- Specified by:
getCountriesListin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- A list containing the countries.
-
getCountriesCount
public int getCountriesCount()
repeated string countries = 3 [json_name = "countries"];- Specified by:
getCountriesCountin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The count of countries.
-
getCountries
public java.lang.String getCountries(int index)
repeated string countries = 3 [json_name = "countries"];- Specified by:
getCountriesin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The countries at the given index.
-
getCountriesBytes
public com.google.protobuf.ByteString getCountriesBytes(int index)
repeated string countries = 3 [json_name = "countries"];- Specified by:
getCountriesBytesin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the countries at the given index.
-
setCountries
public PollsStatsByTimeLineRequestFilter.Builder setCountries(int index, java.lang.String value)
repeated string countries = 3 [json_name = "countries"];- Parameters:
index- The index to set the value at.value- The countries to set.- Returns:
- This builder for chaining.
-
addCountries
public PollsStatsByTimeLineRequestFilter.Builder addCountries(java.lang.String value)
repeated string countries = 3 [json_name = "countries"];- Parameters:
value- The countries to add.- Returns:
- This builder for chaining.
-
addAllCountries
public PollsStatsByTimeLineRequestFilter.Builder addAllCountries(java.lang.Iterable<java.lang.String> values)
repeated string countries = 3 [json_name = "countries"];- Parameters:
values- The countries to add.- Returns:
- This builder for chaining.
-
clearCountries
public PollsStatsByTimeLineRequestFilter.Builder clearCountries()
repeated string countries = 3 [json_name = "countries"];- Returns:
- This builder for chaining.
-
addCountriesBytes
public PollsStatsByTimeLineRequestFilter.Builder addCountriesBytes(com.google.protobuf.ByteString value)
repeated string countries = 3 [json_name = "countries"];- Parameters:
value- The bytes of the countries to add.- Returns:
- This builder for chaining.
-
hasPeriod
public boolean hasPeriod()
dafault now() - interval 1H
optional .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];- Specified by:
hasPeriodin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- Whether the period field is set.
-
getPeriod
public Period getPeriod()
dafault now() - interval 1H
optional .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];- Specified by:
getPeriodin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The period.
-
setPeriod
public PollsStatsByTimeLineRequestFilter.Builder setPeriod(Period value)
dafault now() - interval 1H
optional .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
-
setPeriod
public PollsStatsByTimeLineRequestFilter.Builder setPeriod(Period.Builder builderForValue)
dafault now() - interval 1H
optional .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
-
mergePeriod
public PollsStatsByTimeLineRequestFilter.Builder mergePeriod(Period value)
dafault now() - interval 1H
optional .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
-
clearPeriod
public PollsStatsByTimeLineRequestFilter.Builder clearPeriod()
dafault now() - interval 1H
optional .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
-
getAggPeriodValue
public int getAggPeriodValue()
.streamlayer.analytics.v2.studio.AggPeriod agg_period = 5 [json_name = "aggPeriod"];- Specified by:
getAggPeriodValuein interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The enum numeric value on the wire for aggPeriod.
-
setAggPeriodValue
public PollsStatsByTimeLineRequestFilter.Builder setAggPeriodValue(int value)
.streamlayer.analytics.v2.studio.AggPeriod agg_period = 5 [json_name = "aggPeriod"];- Parameters:
value- The aggPeriod to set.- Returns:
- This builder for chaining.
-
getAggPeriod
public AggPeriod getAggPeriod()
.streamlayer.analytics.v2.studio.AggPeriod agg_period = 5 [json_name = "aggPeriod"];- Specified by:
getAggPeriodin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The aggPeriod.
-
setAggPeriod
public PollsStatsByTimeLineRequestFilter.Builder setAggPeriod(AggPeriod value)
.streamlayer.analytics.v2.studio.AggPeriod agg_period = 5 [json_name = "aggPeriod"];- Parameters:
value- The enum numeric value on the wire for aggPeriod to set.- Returns:
- This builder for chaining.
-
clearAggPeriod
public PollsStatsByTimeLineRequestFilter.Builder clearAggPeriod()
.streamlayer.analytics.v2.studio.AggPeriod agg_period = 5 [json_name = "aggPeriod"];- Returns:
- This builder for chaining.
-
hasTopicType
public boolean hasTopicType()
optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];- Specified by:
hasTopicTypein interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- Whether the topicType field is set.
-
getTopicTypeValue
public int getTopicTypeValue()
optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];- Specified by:
getTopicTypeValuein interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The enum numeric value on the wire for topicType.
-
setTopicTypeValue
public PollsStatsByTimeLineRequestFilter.Builder setTopicTypeValue(int value)
optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];- Parameters:
value- The topicType to set.- Returns:
- This builder for chaining.
-
getTopicType
public TopicType getTopicType()
optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];- Specified by:
getTopicTypein interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The topicType.
-
setTopicType
public PollsStatsByTimeLineRequestFilter.Builder setTopicType(TopicType value)
optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];- Parameters:
value- The enum numeric value on the wire for topicType to set.- Returns:
- This builder for chaining.
-
clearTopicType
public PollsStatsByTimeLineRequestFilter.Builder clearTopicType()
optional .streamlayer.analytics.v1.common.TopicType topic_type = 6 [json_name = "topicType"];- Returns:
- This builder for chaining.
-
hasTz
public boolean hasTz()
'America/New_York'
optional string tz = 7 [json_name = "tz"];- Specified by:
hasTzin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- Whether the tz field is set.
-
getTz
public java.lang.String getTz()
'America/New_York'
optional string tz = 7 [json_name = "tz"];- Specified by:
getTzin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The tz.
-
getTzBytes
public com.google.protobuf.ByteString getTzBytes()
'America/New_York'
optional string tz = 7 [json_name = "tz"];- Specified by:
getTzBytesin interfacePollsStatsByTimeLineRequestFilterOrBuilder- Returns:
- The bytes for tz.
-
setTz
public PollsStatsByTimeLineRequestFilter.Builder setTz(java.lang.String value)
'America/New_York'
optional string tz = 7 [json_name = "tz"];- Parameters:
value- The tz to set.- Returns:
- This builder for chaining.
-
clearTz
public PollsStatsByTimeLineRequestFilter.Builder clearTz()
'America/New_York'
optional string tz = 7 [json_name = "tz"];- Returns:
- This builder for chaining.
-
setTzBytes
public PollsStatsByTimeLineRequestFilter.Builder setTzBytes(com.google.protobuf.ByteString value)
'America/New_York'
optional string tz = 7 [json_name = "tz"];- Parameters:
value- The bytes for tz to set.- Returns:
- This builder for chaining.
-
-