Class AdTotalsRequestFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<AdTotalsRequestFilter,AdTotalsRequestFilter.Builder>
-
- com.streamlayer.analytics.studio.v2.AdTotalsRequestFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,AdTotalsRequestFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- AdTotalsRequestFilter
public static final class AdTotalsRequestFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<AdTotalsRequestFilter,AdTotalsRequestFilter.Builder> implements AdTotalsRequestFilterOrBuilder
Protobuf typestreamlayer.analytics.v2.studio.AdTotalsRequestFilter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdTotalsRequestFilter.BuilderaddAllEventIds(java.lang.Iterable<? extends java.lang.Long> values)repeated uint64 event_ids = 2 [json_name = "eventIds"];AdTotalsRequestFilter.BuilderaddAllTopicIds(java.lang.Iterable<java.lang.String> values)question idsAdTotalsRequestFilter.BuilderaddEventIds(long value)repeated uint64 event_ids = 2 [json_name = "eventIds"];AdTotalsRequestFilter.BuilderaddTopicIds(java.lang.String value)question idsAdTotalsRequestFilter.BuilderaddTopicIdsBytes(com.google.protobuf.ByteString value)question idsAdTotalsRequestFilter.BuilderclearBreakdown().streamlayer.analytics.v2.studio.MetricBreakdown breakdown = 4 [json_name = "breakdown"];AdTotalsRequestFilter.BuilderclearEventIds()repeated uint64 event_ids = 2 [json_name = "eventIds"];AdTotalsRequestFilter.BuilderclearOrganizationId()optional string organization_id = 1 [json_name = "organizationId"];AdTotalsRequestFilter.BuilderclearTopicIds()question idsMetricBreakdowngetBreakdown().streamlayer.analytics.v2.studio.MetricBreakdown breakdown = 4 [json_name = "breakdown"];intgetBreakdownValue().streamlayer.analytics.v2.studio.MetricBreakdown breakdown = 4 [json_name = "breakdown"];longgetEventIds(int index)repeated uint64 event_ids = 2 [json_name = "eventIds"];intgetEventIdsCount()repeated uint64 event_ids = 2 [json_name = "eventIds"];java.util.List<java.lang.Long>getEventIdsList()repeated uint64 event_ids = 2 [json_name = "eventIds"];java.lang.StringgetOrganizationId()optional string organization_id = 1 [json_name = "organizationId"];com.google.protobuf.ByteStringgetOrganizationIdBytes()optional string organization_id = 1 [json_name = "organizationId"];java.lang.StringgetTopicIds(int index)question idscom.google.protobuf.ByteStringgetTopicIdsBytes(int index)question idsintgetTopicIdsCount()question idsjava.util.List<java.lang.String>getTopicIdsList()question idsbooleanhasOrganizationId()optional string organization_id = 1 [json_name = "organizationId"];AdTotalsRequestFilter.BuildersetBreakdown(MetricBreakdown value).streamlayer.analytics.v2.studio.MetricBreakdown breakdown = 4 [json_name = "breakdown"];AdTotalsRequestFilter.BuildersetBreakdownValue(int value).streamlayer.analytics.v2.studio.MetricBreakdown breakdown = 4 [json_name = "breakdown"];AdTotalsRequestFilter.BuildersetEventIds(int index, long value)repeated uint64 event_ids = 2 [json_name = "eventIds"];AdTotalsRequestFilter.BuildersetOrganizationId(java.lang.String value)optional string organization_id = 1 [json_name = "organizationId"];AdTotalsRequestFilter.BuildersetOrganizationIdBytes(com.google.protobuf.ByteString value)optional string organization_id = 1 [json_name = "organizationId"];AdTotalsRequestFilter.BuildersetTopicIds(int index, java.lang.String value)question ids-
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 interfaceAdTotalsRequestFilterOrBuilder- Returns:
- Whether the organizationId field is set.
-
getOrganizationId
public java.lang.String getOrganizationId()
optional string organization_id = 1 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfaceAdTotalsRequestFilterOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()
optional string organization_id = 1 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfaceAdTotalsRequestFilterOrBuilder- Returns:
- The bytes for organizationId.
-
setOrganizationId
public AdTotalsRequestFilter.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 AdTotalsRequestFilter.Builder clearOrganizationId()
optional string organization_id = 1 [json_name = "organizationId"];- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public AdTotalsRequestFilter.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.
-
getEventIdsList
public java.util.List<java.lang.Long> getEventIdsList()
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsListin interfaceAdTotalsRequestFilterOrBuilder- Returns:
- A list containing the eventIds.
-
getEventIdsCount
public int getEventIdsCount()
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsCountin interfaceAdTotalsRequestFilterOrBuilder- Returns:
- The count of eventIds.
-
getEventIds
public long getEventIds(int index)
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Specified by:
getEventIdsin interfaceAdTotalsRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The eventIds at the given index.
-
setEventIds
public AdTotalsRequestFilter.Builder setEventIds(int index, long value)
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
value- The eventIds to set.- Returns:
- This builder for chaining.
-
addEventIds
public AdTotalsRequestFilter.Builder addEventIds(long value)
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
value- The eventIds to add.- Returns:
- This builder for chaining.
-
addAllEventIds
public AdTotalsRequestFilter.Builder addAllEventIds(java.lang.Iterable<? extends java.lang.Long> values)
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Parameters:
values- The eventIds to add.- Returns:
- This builder for chaining.
-
clearEventIds
public AdTotalsRequestFilter.Builder clearEventIds()
repeated uint64 event_ids = 2 [json_name = "eventIds"];- Returns:
- This builder for chaining.
-
getTopicIdsList
public java.util.List<java.lang.String> getTopicIdsList()
question ids
repeated string topic_ids = 3 [json_name = "topicIds"];- Specified by:
getTopicIdsListin interfaceAdTotalsRequestFilterOrBuilder- Returns:
- A list containing the topicIds.
-
getTopicIdsCount
public int getTopicIdsCount()
question ids
repeated string topic_ids = 3 [json_name = "topicIds"];- Specified by:
getTopicIdsCountin interfaceAdTotalsRequestFilterOrBuilder- Returns:
- The count of topicIds.
-
getTopicIds
public java.lang.String getTopicIds(int index)
question ids
repeated string topic_ids = 3 [json_name = "topicIds"];- Specified by:
getTopicIdsin interfaceAdTotalsRequestFilterOrBuilder- 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 ids
repeated string topic_ids = 3 [json_name = "topicIds"];- Specified by:
getTopicIdsBytesin interfaceAdTotalsRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the topicIds at the given index.
-
setTopicIds
public AdTotalsRequestFilter.Builder setTopicIds(int index, java.lang.String value)
question ids
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 AdTotalsRequestFilter.Builder addTopicIds(java.lang.String value)
question ids
repeated string topic_ids = 3 [json_name = "topicIds"];- Parameters:
value- The topicIds to add.- Returns:
- This builder for chaining.
-
addAllTopicIds
public AdTotalsRequestFilter.Builder addAllTopicIds(java.lang.Iterable<java.lang.String> values)
question ids
repeated string topic_ids = 3 [json_name = "topicIds"];- Parameters:
values- The topicIds to add.- Returns:
- This builder for chaining.
-
clearTopicIds
public AdTotalsRequestFilter.Builder clearTopicIds()
question ids
repeated string topic_ids = 3 [json_name = "topicIds"];- Returns:
- This builder for chaining.
-
addTopicIdsBytes
public AdTotalsRequestFilter.Builder addTopicIdsBytes(com.google.protobuf.ByteString value)
question ids
repeated string topic_ids = 3 [json_name = "topicIds"];- Parameters:
value- The bytes of the topicIds to add.- Returns:
- This builder for chaining.
-
getBreakdownValue
public int getBreakdownValue()
.streamlayer.analytics.v2.studio.MetricBreakdown breakdown = 4 [json_name = "breakdown"];- Specified by:
getBreakdownValuein interfaceAdTotalsRequestFilterOrBuilder- Returns:
- The enum numeric value on the wire for breakdown.
-
setBreakdownValue
public AdTotalsRequestFilter.Builder setBreakdownValue(int value)
.streamlayer.analytics.v2.studio.MetricBreakdown breakdown = 4 [json_name = "breakdown"];- Parameters:
value- The breakdown to set.- Returns:
- This builder for chaining.
-
getBreakdown
public MetricBreakdown getBreakdown()
.streamlayer.analytics.v2.studio.MetricBreakdown breakdown = 4 [json_name = "breakdown"];- Specified by:
getBreakdownin interfaceAdTotalsRequestFilterOrBuilder- Returns:
- The breakdown.
-
setBreakdown
public AdTotalsRequestFilter.Builder setBreakdown(MetricBreakdown value)
.streamlayer.analytics.v2.studio.MetricBreakdown breakdown = 4 [json_name = "breakdown"];- Parameters:
value- The enum numeric value on the wire for breakdown to set.- Returns:
- This builder for chaining.
-
clearBreakdown
public AdTotalsRequestFilter.Builder clearBreakdown()
.streamlayer.analytics.v2.studio.MetricBreakdown breakdown = 4 [json_name = "breakdown"];- Returns:
- This builder for chaining.
-
-