Class AdTotalsRequestFilter.Builder

    • Method Detail

      • hasOrganizationId

        public boolean hasOrganizationId()
        optional string organization_id = 1 [json_name = "organizationId"];
        Specified by:
        hasOrganizationId in interface AdTotalsRequestFilterOrBuilder
        Returns:
        Whether the organizationId field is set.
      • getOrganizationId

        public java.lang.String getOrganizationId()
        optional string organization_id = 1 [json_name = "organizationId"];
        Specified by:
        getOrganizationId in interface AdTotalsRequestFilterOrBuilder
        Returns:
        The organizationId.
      • getOrganizationIdBytes

        public com.google.protobuf.ByteString getOrganizationIdBytes()
        optional string organization_id = 1 [json_name = "organizationId"];
        Specified by:
        getOrganizationIdBytes in interface AdTotalsRequestFilterOrBuilder
        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:
        getEventIdsList in interface AdTotalsRequestFilterOrBuilder
        Returns:
        A list containing the eventIds.
      • getEventIds

        public long getEventIds​(int index)
        repeated uint64 event_ids = 2 [json_name = "eventIds"];
        Specified by:
        getEventIds in interface AdTotalsRequestFilterOrBuilder
        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:
        getTopicIdsList in interface AdTotalsRequestFilterOrBuilder
        Returns:
        A list containing the topicIds.
      • getTopicIds

        public java.lang.String getTopicIds​(int index)
         question ids
         
        repeated string topic_ids = 3 [json_name = "topicIds"];
        Specified by:
        getTopicIds in interface AdTotalsRequestFilterOrBuilder
        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:
        getTopicIdsBytes in interface AdTotalsRequestFilterOrBuilder
        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:
        getBreakdownValue in interface AdTotalsRequestFilterOrBuilder
        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.
      • 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.