Class TotalStatsRequest.TotalStatsFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<TotalStatsRequest.TotalStatsFilter,TotalStatsRequest.TotalStatsFilter.Builder>
-
- com.streamlayer.analytics.polls.v1.TotalStatsRequest.TotalStatsFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TotalStatsRequest.TotalStatsFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- TotalStatsRequest.TotalStatsFilter
public static final class TotalStatsRequest.TotalStatsFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TotalStatsRequest.TotalStatsFilter,TotalStatsRequest.TotalStatsFilter.Builder> implements TotalStatsRequest.TotalStatsFilterOrBuilder
Protobuf typestreamlayer.analytics.v1.polls.TotalStatsRequest.TotalStatsFilter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TotalStatsRequest.TotalStatsFilter.BuilderaddAllEntityIds(java.lang.Iterable<java.lang.String> values)repeated string entity_ids = 4 [json_name = "entityIds"];TotalStatsRequest.TotalStatsFilter.BuilderaddEntityIds(java.lang.String value)repeated string entity_ids = 4 [json_name = "entityIds"];TotalStatsRequest.TotalStatsFilter.BuilderaddEntityIdsBytes(com.google.protobuf.ByteString value)repeated string entity_ids = 4 [json_name = "entityIds"];TotalStatsRequest.TotalStatsFilter.BuilderclearEntityIds()repeated string entity_ids = 4 [json_name = "entityIds"];TotalStatsRequest.TotalStatsFilter.BuilderclearEntityType().streamlayer.analytics.v1.common.EntityType entity_type = 3 [json_name = "entityType"];TotalStatsRequest.TotalStatsFilter.BuilderclearEventId()string event_id = 1 [json_name = "eventId"];TotalStatsRequest.TotalStatsFilter.BuilderclearPeriod().streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];java.lang.StringgetEntityIds(int index)repeated string entity_ids = 4 [json_name = "entityIds"];com.google.protobuf.ByteStringgetEntityIdsBytes(int index)repeated string entity_ids = 4 [json_name = "entityIds"];intgetEntityIdsCount()repeated string entity_ids = 4 [json_name = "entityIds"];java.util.List<java.lang.String>getEntityIdsList()repeated string entity_ids = 4 [json_name = "entityIds"];EntityTypegetEntityType().streamlayer.analytics.v1.common.EntityType entity_type = 3 [json_name = "entityType"];intgetEntityTypeValue().streamlayer.analytics.v1.common.EntityType entity_type = 3 [json_name = "entityType"];java.lang.StringgetEventId()string event_id = 1 [json_name = "eventId"];com.google.protobuf.ByteStringgetEventIdBytes()string event_id = 1 [json_name = "eventId"];PeriodgetPeriod().streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];booleanhasPeriod().streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];TotalStatsRequest.TotalStatsFilter.BuildermergePeriod(Period value).streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];TotalStatsRequest.TotalStatsFilter.BuildersetEntityIds(int index, java.lang.String value)repeated string entity_ids = 4 [json_name = "entityIds"];TotalStatsRequest.TotalStatsFilter.BuildersetEntityType(EntityType value).streamlayer.analytics.v1.common.EntityType entity_type = 3 [json_name = "entityType"];TotalStatsRequest.TotalStatsFilter.BuildersetEntityTypeValue(int value).streamlayer.analytics.v1.common.EntityType entity_type = 3 [json_name = "entityType"];TotalStatsRequest.TotalStatsFilter.BuildersetEventId(java.lang.String value)string event_id = 1 [json_name = "eventId"];TotalStatsRequest.TotalStatsFilter.BuildersetEventIdBytes(com.google.protobuf.ByteString value)string event_id = 1 [json_name = "eventId"];TotalStatsRequest.TotalStatsFilter.BuildersetPeriod(Period value).streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];TotalStatsRequest.TotalStatsFilter.BuildersetPeriod(Period.Builder builderForValue).streamlayer.analytics.v1.common.Period period = 2 [json_name = "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
-
getEventId
public java.lang.String getEventId()
string event_id = 1 [json_name = "eventId"];- Specified by:
getEventIdin interfaceTotalStatsRequest.TotalStatsFilterOrBuilder- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
string event_id = 1 [json_name = "eventId"];- Specified by:
getEventIdBytesin interfaceTotalStatsRequest.TotalStatsFilterOrBuilder- Returns:
- The bytes for eventId.
-
setEventId
public TotalStatsRequest.TotalStatsFilter.Builder setEventId(java.lang.String value)
string event_id = 1 [json_name = "eventId"];- Parameters:
value- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public TotalStatsRequest.TotalStatsFilter.Builder clearEventId()
string event_id = 1 [json_name = "eventId"];- Returns:
- This builder for chaining.
-
setEventIdBytes
public TotalStatsRequest.TotalStatsFilter.Builder setEventIdBytes(com.google.protobuf.ByteString value)
string event_id = 1 [json_name = "eventId"];- Parameters:
value- The bytes for eventId to set.- Returns:
- This builder for chaining.
-
hasPeriod
public boolean hasPeriod()
.streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];- Specified by:
hasPeriodin interfaceTotalStatsRequest.TotalStatsFilterOrBuilder- Returns:
- Whether the period field is set.
-
getPeriod
public Period getPeriod()
.streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];- Specified by:
getPeriodin interfaceTotalStatsRequest.TotalStatsFilterOrBuilder- Returns:
- The period.
-
setPeriod
public TotalStatsRequest.TotalStatsFilter.Builder setPeriod(Period value)
.streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];
-
setPeriod
public TotalStatsRequest.TotalStatsFilter.Builder setPeriod(Period.Builder builderForValue)
.streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];
-
mergePeriod
public TotalStatsRequest.TotalStatsFilter.Builder mergePeriod(Period value)
.streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];
-
clearPeriod
public TotalStatsRequest.TotalStatsFilter.Builder clearPeriod()
.streamlayer.analytics.v1.common.Period period = 2 [json_name = "period"];
-
getEntityTypeValue
public int getEntityTypeValue()
.streamlayer.analytics.v1.common.EntityType entity_type = 3 [json_name = "entityType"];- Specified by:
getEntityTypeValuein interfaceTotalStatsRequest.TotalStatsFilterOrBuilder- Returns:
- The enum numeric value on the wire for entityType.
-
setEntityTypeValue
public TotalStatsRequest.TotalStatsFilter.Builder setEntityTypeValue(int value)
.streamlayer.analytics.v1.common.EntityType entity_type = 3 [json_name = "entityType"];- Parameters:
value- The entityType to set.- Returns:
- This builder for chaining.
-
getEntityType
public EntityType getEntityType()
.streamlayer.analytics.v1.common.EntityType entity_type = 3 [json_name = "entityType"];- Specified by:
getEntityTypein interfaceTotalStatsRequest.TotalStatsFilterOrBuilder- Returns:
- The entityType.
-
setEntityType
public TotalStatsRequest.TotalStatsFilter.Builder setEntityType(EntityType value)
.streamlayer.analytics.v1.common.EntityType entity_type = 3 [json_name = "entityType"];- Parameters:
value- The enum numeric value on the wire for entityType to set.- Returns:
- This builder for chaining.
-
clearEntityType
public TotalStatsRequest.TotalStatsFilter.Builder clearEntityType()
.streamlayer.analytics.v1.common.EntityType entity_type = 3 [json_name = "entityType"];- Returns:
- This builder for chaining.
-
getEntityIdsList
public java.util.List<java.lang.String> getEntityIdsList()
repeated string entity_ids = 4 [json_name = "entityIds"];- Specified by:
getEntityIdsListin interfaceTotalStatsRequest.TotalStatsFilterOrBuilder- Returns:
- A list containing the entityIds.
-
getEntityIdsCount
public int getEntityIdsCount()
repeated string entity_ids = 4 [json_name = "entityIds"];- Specified by:
getEntityIdsCountin interfaceTotalStatsRequest.TotalStatsFilterOrBuilder- Returns:
- The count of entityIds.
-
getEntityIds
public java.lang.String getEntityIds(int index)
repeated string entity_ids = 4 [json_name = "entityIds"];- Specified by:
getEntityIdsin interfaceTotalStatsRequest.TotalStatsFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The entityIds at the given index.
-
getEntityIdsBytes
public com.google.protobuf.ByteString getEntityIdsBytes(int index)
repeated string entity_ids = 4 [json_name = "entityIds"];- Specified by:
getEntityIdsBytesin interfaceTotalStatsRequest.TotalStatsFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entityIds at the given index.
-
setEntityIds
public TotalStatsRequest.TotalStatsFilter.Builder setEntityIds(int index, java.lang.String value)
repeated string entity_ids = 4 [json_name = "entityIds"];- Parameters:
index- The index to set the value at.value- The entityIds to set.- Returns:
- This builder for chaining.
-
addEntityIds
public TotalStatsRequest.TotalStatsFilter.Builder addEntityIds(java.lang.String value)
repeated string entity_ids = 4 [json_name = "entityIds"];- Parameters:
value- The entityIds to add.- Returns:
- This builder for chaining.
-
addAllEntityIds
public TotalStatsRequest.TotalStatsFilter.Builder addAllEntityIds(java.lang.Iterable<java.lang.String> values)
repeated string entity_ids = 4 [json_name = "entityIds"];- Parameters:
values- The entityIds to add.- Returns:
- This builder for chaining.
-
clearEntityIds
public TotalStatsRequest.TotalStatsFilter.Builder clearEntityIds()
repeated string entity_ids = 4 [json_name = "entityIds"];- Returns:
- This builder for chaining.
-
addEntityIdsBytes
public TotalStatsRequest.TotalStatsFilter.Builder addEntityIdsBytes(com.google.protobuf.ByteString value)
repeated string entity_ids = 4 [json_name = "entityIds"];- Parameters:
value- The bytes of the entityIds to add.- Returns:
- This builder for chaining.
-
-