aboutsummaryrefslogtreecommitdiff
path: root/services/src/generated/main/java/io/grpc/channelz/v1/ChannelDataOrBuilder.java
blob: 5186df1fabf946171f13178946ddc1684ce5bab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: io/grpc/channelz.proto

package io.grpc.channelz.v1;

public interface ChannelDataOrBuilder extends
    // @@protoc_insertion_point(interface_extends:grpc.channelz.ChannelData)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <code>.grpc.channelz.ChannelData.State state = 1;</code>
   */
  int getStateValue();
  /**
   * <code>.grpc.channelz.ChannelData.State state = 1;</code>
   */
  io.grpc.channelz.v1.ChannelData.State getState();

  /**
   * <pre>
   * The target this channel originally tried to connect to.  May be absent
   * </pre>
   *
   * <code>string target = 2;</code>
   */
  java.lang.String getTarget();
  /**
   * <pre>
   * The target this channel originally tried to connect to.  May be absent
   * </pre>
   *
   * <code>string target = 2;</code>
   */
  com.google.protobuf.ByteString
      getTargetBytes();

  /**
   * <code>.grpc.channelz.ChannelTrace trace = 3;</code>
   */
  boolean hasTrace();
  /**
   * <code>.grpc.channelz.ChannelTrace trace = 3;</code>
   */
  io.grpc.channelz.v1.ChannelTrace getTrace();
  /**
   * <code>.grpc.channelz.ChannelTrace trace = 3;</code>
   */
  io.grpc.channelz.v1.ChannelTraceOrBuilder getTraceOrBuilder();

  /**
   * <pre>
   * The number of calls started on the channel
   * </pre>
   *
   * <code>int64 calls_started = 4;</code>
   */
  long getCallsStarted();

  /**
   * <pre>
   * The number of calls that have completed with an OK status
   * </pre>
   *
   * <code>int64 calls_succeeded = 5;</code>
   */
  long getCallsSucceeded();

  /**
   * <pre>
   * The number of calls that have a completed with a non-OK status
   * </pre>
   *
   * <code>int64 calls_failed = 6;</code>
   */
  long getCallsFailed();

  /**
   * <pre>
   * The last time a call was started on the channel.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp last_call_started_timestamp = 7;</code>
   */
  boolean hasLastCallStartedTimestamp();
  /**
   * <pre>
   * The last time a call was started on the channel.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp last_call_started_timestamp = 7;</code>
   */
  com.google.protobuf.Timestamp getLastCallStartedTimestamp();
  /**
   * <pre>
   * The last time a call was started on the channel.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp last_call_started_timestamp = 7;</code>
   */
  com.google.protobuf.TimestampOrBuilder getLastCallStartedTimestampOrBuilder();
}