Class DashboardRequestOptions.Builder

    • Method Detail

      • setSummaryCount

        public DashboardRequestOptions.Builder setSummaryCount​(boolean value)
        bool summary_count = 1;
        Parameters:
        value - The summaryCount to set.
        Returns:
        This builder for chaining.
      • getMetrics

        public java.lang.String getMetrics​(int index)
        repeated string metrics = 2;
        Specified by:
        getMetrics in interface DashboardRequestOptionsOrBuilder
        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 = 2;
        Specified by:
        getMetricsBytes in interface DashboardRequestOptionsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the metrics at the given index.
      • setMetrics

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

        public DashboardRequestOptions.Builder addMetrics​(java.lang.String value)
        repeated string metrics = 2;
        Parameters:
        value - The metrics to add.
        Returns:
        This builder for chaining.
      • addAllMetrics

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

        public DashboardRequestOptions.Builder addMetricsBytes​(com.google.protobuf.ByteString value)
        repeated string metrics = 2;
        Parameters:
        value - The bytes of the metrics to add.
        Returns:
        This builder for chaining.