Class ExportMetricsRequestFilter.Builder

    • Method Detail

      • setOrganizationId

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

        public ExportMetricsRequestFilter.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 ExportMetricsRequestFilterOrBuilder
        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 ExportMetricsRequestFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The eventIds at the given index.
      • setEventIds

        public ExportMetricsRequestFilter.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 ExportMetricsRequestFilter.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 ExportMetricsRequestFilter.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.
      • hasPeriod

        public boolean hasPeriod()
        .streamlayer.analytics.v1.common.Period period = 3 [json_name = "period"];
        Specified by:
        hasPeriod in interface ExportMetricsRequestFilterOrBuilder
        Returns:
        Whether the period field is set.
      • getMetricsList

        public java.util.List<java.lang.String> getMetricsList()
        repeated string metrics = 4 [json_name = "metrics"];
        Specified by:
        getMetricsList in interface ExportMetricsRequestFilterOrBuilder
        Returns:
        A list containing the metrics.
      • getMetrics

        public java.lang.String getMetrics​(int index)
        repeated string metrics = 4 [json_name = "metrics"];
        Specified by:
        getMetrics in interface ExportMetricsRequestFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The metrics at the given index.
      • getMetricsBytes

        public com.google.protobuf.ByteString getMetricsBytes​(int index)
        repeated string metrics = 4 [json_name = "metrics"];
        Specified by:
        getMetricsBytes in interface ExportMetricsRequestFilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the metrics at the given index.
      • setMetrics

        public ExportMetricsRequestFilter.Builder setMetrics​(int index,
                                                             java.lang.String value)
        repeated string metrics = 4 [json_name = "metrics"];
        Parameters:
        index - The index to set the value at.
        value - The metrics to set.
        Returns:
        This builder for chaining.
      • addMetrics

        public ExportMetricsRequestFilter.Builder addMetrics​(java.lang.String value)
        repeated string metrics = 4 [json_name = "metrics"];
        Parameters:
        value - The metrics to add.
        Returns:
        This builder for chaining.
      • addAllMetrics

        public ExportMetricsRequestFilter.Builder addAllMetrics​(java.lang.Iterable<java.lang.String> values)
        repeated string metrics = 4 [json_name = "metrics"];
        Parameters:
        values - The metrics to add.
        Returns:
        This builder for chaining.
      • addMetricsBytes

        public ExportMetricsRequestFilter.Builder addMetricsBytes​(com.google.protobuf.ByteString value)
        repeated string metrics = 4 [json_name = "metrics"];
        Parameters:
        value - The bytes of the metrics to add.
        Returns:
        This builder for chaining.
      • setTz

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

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