zpencer | 86fe318 | 2018-03-08 14:53:54 -0800 | [diff] [blame] | 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: io/grpc/channelz.proto |
| 3 | |
| 4 | package io.grpc.channelz.v1; |
| 5 | |
| 6 | public interface ChannelDataOrBuilder extends |
| 7 | // @@protoc_insertion_point(interface_extends:grpc.channelz.ChannelData) |
| 8 | com.google.protobuf.MessageOrBuilder { |
| 9 | |
| 10 | /** |
| 11 | * <code>.grpc.channelz.ChannelData.State state = 1;</code> |
| 12 | */ |
| 13 | int getStateValue(); |
| 14 | /** |
| 15 | * <code>.grpc.channelz.ChannelData.State state = 1;</code> |
| 16 | */ |
| 17 | io.grpc.channelz.v1.ChannelData.State getState(); |
| 18 | |
| 19 | /** |
| 20 | * <pre> |
| 21 | * The target this channel originally tried to connect to. May be absent |
| 22 | * </pre> |
| 23 | * |
| 24 | * <code>string target = 2;</code> |
| 25 | */ |
| 26 | java.lang.String getTarget(); |
| 27 | /** |
| 28 | * <pre> |
| 29 | * The target this channel originally tried to connect to. May be absent |
| 30 | * </pre> |
| 31 | * |
| 32 | * <code>string target = 2;</code> |
| 33 | */ |
| 34 | com.google.protobuf.ByteString |
| 35 | getTargetBytes(); |
| 36 | |
| 37 | /** |
| 38 | * <code>.grpc.channelz.ChannelTrace trace = 3;</code> |
| 39 | */ |
| 40 | boolean hasTrace(); |
| 41 | /** |
| 42 | * <code>.grpc.channelz.ChannelTrace trace = 3;</code> |
| 43 | */ |
| 44 | io.grpc.channelz.v1.ChannelTrace getTrace(); |
| 45 | /** |
| 46 | * <code>.grpc.channelz.ChannelTrace trace = 3;</code> |
| 47 | */ |
| 48 | io.grpc.channelz.v1.ChannelTraceOrBuilder getTraceOrBuilder(); |
| 49 | |
| 50 | /** |
| 51 | * <pre> |
| 52 | * The number of calls started on the channel |
| 53 | * </pre> |
| 54 | * |
| 55 | * <code>int64 calls_started = 4;</code> |
| 56 | */ |
| 57 | long getCallsStarted(); |
| 58 | |
| 59 | /** |
| 60 | * <pre> |
| 61 | * The number of calls that have completed with an OK status |
| 62 | * </pre> |
| 63 | * |
| 64 | * <code>int64 calls_succeeded = 5;</code> |
| 65 | */ |
| 66 | long getCallsSucceeded(); |
| 67 | |
| 68 | /** |
| 69 | * <pre> |
| 70 | * The number of calls that have a completed with a non-OK status |
| 71 | * </pre> |
| 72 | * |
| 73 | * <code>int64 calls_failed = 6;</code> |
| 74 | */ |
| 75 | long getCallsFailed(); |
| 76 | |
| 77 | /** |
| 78 | * <pre> |
| 79 | * The last time a call was started on the channel. |
| 80 | * </pre> |
| 81 | * |
| 82 | * <code>.google.protobuf.Timestamp last_call_started_timestamp = 7;</code> |
| 83 | */ |
| 84 | boolean hasLastCallStartedTimestamp(); |
| 85 | /** |
| 86 | * <pre> |
| 87 | * The last time a call was started on the channel. |
| 88 | * </pre> |
| 89 | * |
| 90 | * <code>.google.protobuf.Timestamp last_call_started_timestamp = 7;</code> |
| 91 | */ |
| 92 | com.google.protobuf.Timestamp getLastCallStartedTimestamp(); |
| 93 | /** |
| 94 | * <pre> |
| 95 | * The last time a call was started on the channel. |
| 96 | * </pre> |
| 97 | * |
| 98 | * <code>.google.protobuf.Timestamp last_call_started_timestamp = 7;</code> |
| 99 | */ |
| 100 | com.google.protobuf.TimestampOrBuilder getLastCallStartedTimestampOrBuilder(); |
| 101 | } |