Class MetricsByTimeLineRequestFilter.Builder

    • Method Detail

      • setOrganizationId

        public MetricsByTimeLineRequestFilter.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 MetricsByTimeLineRequestFilter.Builder clearOrganizationId()
        optional string organization_id = 1 [json_name = "organizationId"];
        Returns:
        This builder for chaining.
      • setOrganizationIdBytes

        public MetricsByTimeLineRequestFilter.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.
      • getEventIds

        public long getEventIds​(int index)
        repeated uint64 event_ids = 2 [json_name = "eventIds"];
        Specified by:
        getEventIds in interface MetricsByTimeLineRequestFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The eventIds at the given index.
      • setEventIds

        public MetricsByTimeLineRequestFilter.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 MetricsByTimeLineRequestFilter.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 MetricsByTimeLineRequestFilter.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.
      • getCountries

        public java.lang.String getCountries​(int index)
        repeated string countries = 3 [json_name = "countries"];
        Specified by:
        getCountries in interface MetricsByTimeLineRequestFilterOrBuilder
        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:
        getCountriesBytes in interface MetricsByTimeLineRequestFilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the countries at the given index.
      • setCountries

        public MetricsByTimeLineRequestFilter.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 MetricsByTimeLineRequestFilter.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 MetricsByTimeLineRequestFilter.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.
      • addCountriesBytes

        public MetricsByTimeLineRequestFilter.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()
        optional .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
        Specified by:
        hasPeriod in interface MetricsByTimeLineRequestFilterOrBuilder
        Returns:
        Whether the period field is set.
      • hasDate

        @Deprecated
        public boolean hasDate()
        Deprecated.
        streamlayer.analytics.v2.studio.MetricsByTimeLineRequestFilter.date is deprecated. See streamlayer/analytics/v2/studio/dashboard.proto;l=147
        optional string date = 5 [json_name = "date", deprecated = true];
        Specified by:
        hasDate in interface MetricsByTimeLineRequestFilterOrBuilder
        Returns:
        Whether the date field is set.
      • getDate

        @Deprecated
        public java.lang.String getDate()
        Deprecated.
        streamlayer.analytics.v2.studio.MetricsByTimeLineRequestFilter.date is deprecated. See streamlayer/analytics/v2/studio/dashboard.proto;l=147
        optional string date = 5 [json_name = "date", deprecated = true];
        Specified by:
        getDate in interface MetricsByTimeLineRequestFilterOrBuilder
        Returns:
        The date.
      • getDateBytes

        @Deprecated
        public com.google.protobuf.ByteString getDateBytes()
        Deprecated.
        streamlayer.analytics.v2.studio.MetricsByTimeLineRequestFilter.date is deprecated. See streamlayer/analytics/v2/studio/dashboard.proto;l=147
        optional string date = 5 [json_name = "date", deprecated = true];
        Specified by:
        getDateBytes in interface MetricsByTimeLineRequestFilterOrBuilder
        Returns:
        The bytes for date.
      • setDate

        @Deprecated
        public MetricsByTimeLineRequestFilter.Builder setDate​(java.lang.String value)
        Deprecated.
        streamlayer.analytics.v2.studio.MetricsByTimeLineRequestFilter.date is deprecated. See streamlayer/analytics/v2/studio/dashboard.proto;l=147
        optional string date = 5 [json_name = "date", deprecated = true];
        Parameters:
        value - The date to set.
        Returns:
        This builder for chaining.
      • clearDate

        @Deprecated
        public MetricsByTimeLineRequestFilter.Builder clearDate()
        Deprecated.
        streamlayer.analytics.v2.studio.MetricsByTimeLineRequestFilter.date is deprecated. See streamlayer/analytics/v2/studio/dashboard.proto;l=147
        optional string date = 5 [json_name = "date", deprecated = true];
        Returns:
        This builder for chaining.
      • setDateBytes

        @Deprecated
        public MetricsByTimeLineRequestFilter.Builder setDateBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        streamlayer.analytics.v2.studio.MetricsByTimeLineRequestFilter.date is deprecated. See streamlayer/analytics/v2/studio/dashboard.proto;l=147
        optional string date = 5 [json_name = "date", deprecated = true];
        Parameters:
        value - The bytes for date to set.
        Returns:
        This builder for chaining.
      • getAggPeriodValue

        public int getAggPeriodValue()
        .streamlayer.analytics.v2.studio.AggPeriod agg_period = 6 [json_name = "aggPeriod"];
        Specified by:
        getAggPeriodValue in interface MetricsByTimeLineRequestFilterOrBuilder
        Returns:
        The enum numeric value on the wire for aggPeriod.
      • setAggPeriodValue

        public MetricsByTimeLineRequestFilter.Builder setAggPeriodValue​(int value)
        .streamlayer.analytics.v2.studio.AggPeriod agg_period = 6 [json_name = "aggPeriod"];
        Parameters:
        value - The aggPeriod to set.
        Returns:
        This builder for chaining.
      • setAggPeriod

        public MetricsByTimeLineRequestFilter.Builder setAggPeriod​(AggPeriod value)
        .streamlayer.analytics.v2.studio.AggPeriod agg_period = 6 [json_name = "aggPeriod"];
        Parameters:
        value - The enum numeric value on the wire for aggPeriod to set.
        Returns:
        This builder for chaining.
      • clearAggPeriod

        public MetricsByTimeLineRequestFilter.Builder clearAggPeriod()
        .streamlayer.analytics.v2.studio.AggPeriod agg_period = 6 [json_name = "aggPeriod"];
        Returns:
        This builder for chaining.
      • hasWpType

        public boolean hasWpType()
         only WpMetricsByTimeLineRequest
         
        optional .streamlayer.analytics.v2.studio.WpType wp_type = 7 [json_name = "wpType"];
        Specified by:
        hasWpType in interface MetricsByTimeLineRequestFilterOrBuilder
        Returns:
        Whether the wpType field is set.
      • getWpTypeValue

        public int getWpTypeValue()
         only WpMetricsByTimeLineRequest
         
        optional .streamlayer.analytics.v2.studio.WpType wp_type = 7 [json_name = "wpType"];
        Specified by:
        getWpTypeValue in interface MetricsByTimeLineRequestFilterOrBuilder
        Returns:
        The enum numeric value on the wire for wpType.
      • setWpTypeValue

        public MetricsByTimeLineRequestFilter.Builder setWpTypeValue​(int value)
         only WpMetricsByTimeLineRequest
         
        optional .streamlayer.analytics.v2.studio.WpType wp_type = 7 [json_name = "wpType"];
        Parameters:
        value - The wpType to set.
        Returns:
        This builder for chaining.
      • setWpType

        public MetricsByTimeLineRequestFilter.Builder setWpType​(WpType value)
         only WpMetricsByTimeLineRequest
         
        optional .streamlayer.analytics.v2.studio.WpType wp_type = 7 [json_name = "wpType"];
        Parameters:
        value - The enum numeric value on the wire for wpType to set.
        Returns:
        This builder for chaining.
      • clearWpType

        public MetricsByTimeLineRequestFilter.Builder clearWpType()
         only WpMetricsByTimeLineRequest
         
        optional .streamlayer.analytics.v2.studio.WpType wp_type = 7 [json_name = "wpType"];
        Returns:
        This builder for chaining.
      • setTz

        public MetricsByTimeLineRequestFilter.Builder setTz​(java.lang.String value)
         'America/New_York'
         
        optional string tz = 8 [json_name = "tz"];
        Parameters:
        value - The tz to set.
        Returns:
        This builder for chaining.
      • setTzBytes

        public MetricsByTimeLineRequestFilter.Builder setTzBytes​(com.google.protobuf.ByteString value)
         'America/New_York'
         
        optional string tz = 8 [json_name = "tz"];
        Parameters:
        value - The bytes for tz to set.
        Returns:
        This builder for chaining.