Home | History | Annotate | Download | only in v1
      1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
      2 // source: grpc/lb/v1/load_balancer.proto
      3 
      4 package io.grpc.lb.v1;
      5 
      6 public interface ClientStatsOrBuilder extends
      7     // @@protoc_insertion_point(interface_extends:grpc.lb.v1.ClientStats)
      8     com.google.protobuf.MessageOrBuilder {
      9 
     10   /**
     11    * <pre>
     12    * The timestamp of generating the report.
     13    * </pre>
     14    *
     15    * <code>.google.protobuf.Timestamp timestamp = 1;</code>
     16    */
     17   boolean hasTimestamp();
     18   /**
     19    * <pre>
     20    * The timestamp of generating the report.
     21    * </pre>
     22    *
     23    * <code>.google.protobuf.Timestamp timestamp = 1;</code>
     24    */
     25   com.google.protobuf.Timestamp getTimestamp();
     26   /**
     27    * <pre>
     28    * The timestamp of generating the report.
     29    * </pre>
     30    *
     31    * <code>.google.protobuf.Timestamp timestamp = 1;</code>
     32    */
     33   com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder();
     34 
     35   /**
     36    * <pre>
     37    * The total number of RPCs that started.
     38    * </pre>
     39    *
     40    * <code>int64 num_calls_started = 2;</code>
     41    */
     42   long getNumCallsStarted();
     43 
     44   /**
     45    * <pre>
     46    * The total number of RPCs that finished.
     47    * </pre>
     48    *
     49    * <code>int64 num_calls_finished = 3;</code>
     50    */
     51   long getNumCallsFinished();
     52 
     53   /**
     54    * <pre>
     55    * The total number of RPCs that failed to reach a server except dropped RPCs.
     56    * </pre>
     57    *
     58    * <code>int64 num_calls_finished_with_client_failed_to_send = 6;</code>
     59    */
     60   long getNumCallsFinishedWithClientFailedToSend();
     61 
     62   /**
     63    * <pre>
     64    * The total number of RPCs that finished and are known to have been received
     65    * by a server.
     66    * </pre>
     67    *
     68    * <code>int64 num_calls_finished_known_received = 7;</code>
     69    */
     70   long getNumCallsFinishedKnownReceived();
     71 
     72   /**
     73    * <pre>
     74    * The list of dropped calls.
     75    * </pre>
     76    *
     77    * <code>repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;</code>
     78    */
     79   java.util.List<io.grpc.lb.v1.ClientStatsPerToken>
     80       getCallsFinishedWithDropList();
     81   /**
     82    * <pre>
     83    * The list of dropped calls.
     84    * </pre>
     85    *
     86    * <code>repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;</code>
     87    */
     88   io.grpc.lb.v1.ClientStatsPerToken getCallsFinishedWithDrop(int index);
     89   /**
     90    * <pre>
     91    * The list of dropped calls.
     92    * </pre>
     93    *
     94    * <code>repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;</code>
     95    */
     96   int getCallsFinishedWithDropCount();
     97   /**
     98    * <pre>
     99    * The list of dropped calls.
    100    * </pre>
    101    *
    102    * <code>repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;</code>
    103    */
    104   java.util.List<? extends io.grpc.lb.v1.ClientStatsPerTokenOrBuilder>
    105       getCallsFinishedWithDropOrBuilderList();
    106   /**
    107    * <pre>
    108    * The list of dropped calls.
    109    * </pre>
    110    *
    111    * <code>repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;</code>
    112    */
    113   io.grpc.lb.v1.ClientStatsPerTokenOrBuilder getCallsFinishedWithDropOrBuilder(
    114       int index);
    115 }
    116