All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clarifai.grpc.api.StatValueAggregateOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: proto/clarifai/api/resources.proto

package com.clarifai.grpc.api;

public interface StatValueAggregateOrBuilder extends
    // @@protoc_insertion_point(interface_extends:clarifai.api.StatValueAggregate)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * The time of the aggregation. For example, if you aggregate over "HOUR" buckets then you can
   * expect each hour that has atleast one value (matching the rest of your query fields) will have
   * a StatValueAggregate with the time filled into that hour.
   * 
* * .google.protobuf.Timestamp time = 1; * @return Whether the time field is set. */ boolean hasTime(); /** *
   * The time of the aggregation. For example, if you aggregate over "HOUR" buckets then you can
   * expect each hour that has atleast one value (matching the rest of your query fields) will have
   * a StatValueAggregate with the time filled into that hour.
   * 
* * .google.protobuf.Timestamp time = 1; * @return The time. */ com.google.protobuf.Timestamp getTime(); /** *
   * The time of the aggregation. For example, if you aggregate over "HOUR" buckets then you can
   * expect each hour that has atleast one value (matching the rest of your query fields) will have
   * a StatValueAggregate with the time filled into that hour.
   * 
* * .google.protobuf.Timestamp time = 1; */ com.google.protobuf.TimestampOrBuilder getTimeOrBuilder(); /** *
   * The value aggregated according to the stat_value_agg_type
   * 
* * float aggregate_value = 2; * @return The aggregateValue. */ float getAggregateValue(); /** *
   * The count of the stat values that were used in this aggregation.
   * 
* * uint64 count = 3; * @return The count. */ long getCount(); /** *
   * The tags for this aggregated_value and count. This will be filled in if tag groups were used in
   * the query to group aggregations.
   * 
* * repeated string tags = 4; * @return A list containing the tags. */ java.util.List getTagsList(); /** *
   * The tags for this aggregated_value and count. This will be filled in if tag groups were used in
   * the query to group aggregations.
   * 
* * repeated string tags = 4; * @return The count of tags. */ int getTagsCount(); /** *
   * The tags for this aggregated_value and count. This will be filled in if tag groups were used in
   * the query to group aggregations.
   * 
* * repeated string tags = 4; * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** *
   * The tags for this aggregated_value and count. This will be filled in if tag groups were used in
   * the query to group aggregations.
   * 
* * repeated string tags = 4; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ com.google.protobuf.ByteString getTagsBytes(int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy