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

com.clarifai.grpc.api.StatValueOrBuilder 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 StatValueOrBuilder extends
    // @@protoc_insertion_point(interface_extends:clarifai.api.StatValue)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * The time of the event. Defaults to now().
   * 
* * .google.protobuf.Timestamp time = 1; * @return Whether the time field is set. */ boolean hasTime(); /** *
   * The time of the event. Defaults to now().
   * 
* * .google.protobuf.Timestamp time = 1; * @return The time. */ com.google.protobuf.Timestamp getTime(); /** *
   * The time of the event. Defaults to now().
   * 
* * .google.protobuf.Timestamp time = 1; */ com.google.protobuf.TimestampOrBuilder getTimeOrBuilder(); /** *
   * A value for the metric you're recording.
   * 
* * float value = 2; * @return The value. */ float getValue(); /** *
   * List of tags to attach to this stat. Each should contain one colon so that the first part will
   * be used as a tag group while the second being the tag itself. For example: ["task_id:a",
   * "worker_id:1"]. These tag groups like "task_id" or "worker_id" are important for aggregating
   * values in the StatValueAggregateQuery.
   * 
* * repeated string tags = 3; * @return A list containing the tags. */ java.util.List getTagsList(); /** *
   * List of tags to attach to this stat. Each should contain one colon so that the first part will
   * be used as a tag group while the second being the tag itself. For example: ["task_id:a",
   * "worker_id:1"]. These tag groups like "task_id" or "worker_id" are important for aggregating
   * values in the StatValueAggregateQuery.
   * 
* * repeated string tags = 3; * @return The count of tags. */ int getTagsCount(); /** *
   * List of tags to attach to this stat. Each should contain one colon so that the first part will
   * be used as a tag group while the second being the tag itself. For example: ["task_id:a",
   * "worker_id:1"]. These tag groups like "task_id" or "worker_id" are important for aggregating
   * values in the StatValueAggregateQuery.
   * 
* * repeated string tags = 3; * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** *
   * List of tags to attach to this stat. Each should contain one colon so that the first part will
   * be used as a tag group while the second being the tag itself. For example: ["task_id:a",
   * "worker_id:1"]. These tag groups like "task_id" or "worker_id" are important for aggregating
   * values in the StatValueAggregateQuery.
   * 
* * repeated string tags = 3; * @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