1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: grpc/channelz/v1/channelz.proto 3 4 package io.grpc.channelz.v1; 5 6 public interface ChannelDataOrBuilder extends 7 // @@protoc_insertion_point(interface_extends:grpc.channelz.v1.ChannelData) 8 com.google.protobuf.MessageOrBuilder { 9 10 /** 11 * <pre> 12 * The connectivity state of the channel or subchannel. Implementations 13 * should always set this. 14 * </pre> 15 * 16 * <code>.grpc.channelz.v1.ChannelConnectivityState state = 1;</code> 17 */ hasState()18 boolean hasState(); 19 /** 20 * <pre> 21 * The connectivity state of the channel or subchannel. Implementations 22 * should always set this. 23 * </pre> 24 * 25 * <code>.grpc.channelz.v1.ChannelConnectivityState state = 1;</code> 26 */ getState()27 io.grpc.channelz.v1.ChannelConnectivityState getState(); 28 /** 29 * <pre> 30 * The connectivity state of the channel or subchannel. Implementations 31 * should always set this. 32 * </pre> 33 * 34 * <code>.grpc.channelz.v1.ChannelConnectivityState state = 1;</code> 35 */ getStateOrBuilder()36 io.grpc.channelz.v1.ChannelConnectivityStateOrBuilder getStateOrBuilder(); 37 38 /** 39 * <pre> 40 * The target this channel originally tried to connect to. May be absent 41 * </pre> 42 * 43 * <code>string target = 2;</code> 44 */ getTarget()45 java.lang.String getTarget(); 46 /** 47 * <pre> 48 * The target this channel originally tried to connect to. May be absent 49 * </pre> 50 * 51 * <code>string target = 2;</code> 52 */ 53 com.google.protobuf.ByteString getTargetBytes()54 getTargetBytes(); 55 56 /** 57 * <pre> 58 * A trace of recent events on the channel. May be absent. 59 * </pre> 60 * 61 * <code>.grpc.channelz.v1.ChannelTrace trace = 3;</code> 62 */ hasTrace()63 boolean hasTrace(); 64 /** 65 * <pre> 66 * A trace of recent events on the channel. May be absent. 67 * </pre> 68 * 69 * <code>.grpc.channelz.v1.ChannelTrace trace = 3;</code> 70 */ getTrace()71 io.grpc.channelz.v1.ChannelTrace getTrace(); 72 /** 73 * <pre> 74 * A trace of recent events on the channel. May be absent. 75 * </pre> 76 * 77 * <code>.grpc.channelz.v1.ChannelTrace trace = 3;</code> 78 */ getTraceOrBuilder()79 io.grpc.channelz.v1.ChannelTraceOrBuilder getTraceOrBuilder(); 80 81 /** 82 * <pre> 83 * The number of calls started on the channel 84 * </pre> 85 * 86 * <code>int64 calls_started = 4;</code> 87 */ getCallsStarted()88 long getCallsStarted(); 89 90 /** 91 * <pre> 92 * The number of calls that have completed with an OK status 93 * </pre> 94 * 95 * <code>int64 calls_succeeded = 5;</code> 96 */ getCallsSucceeded()97 long getCallsSucceeded(); 98 99 /** 100 * <pre> 101 * The number of calls that have completed with a non-OK status 102 * </pre> 103 * 104 * <code>int64 calls_failed = 6;</code> 105 */ getCallsFailed()106 long getCallsFailed(); 107 108 /** 109 * <pre> 110 * The last time a call was started on the channel. 111 * </pre> 112 * 113 * <code>.google.protobuf.Timestamp last_call_started_timestamp = 7;</code> 114 */ hasLastCallStartedTimestamp()115 boolean hasLastCallStartedTimestamp(); 116 /** 117 * <pre> 118 * The last time a call was started on the channel. 119 * </pre> 120 * 121 * <code>.google.protobuf.Timestamp last_call_started_timestamp = 7;</code> 122 */ getLastCallStartedTimestamp()123 com.google.protobuf.Timestamp getLastCallStartedTimestamp(); 124 /** 125 * <pre> 126 * The last time a call was started on the channel. 127 * </pre> 128 * 129 * <code>.google.protobuf.Timestamp last_call_started_timestamp = 7;</code> 130 */ getLastCallStartedTimestampOrBuilder()131 com.google.protobuf.TimestampOrBuilder getLastCallStartedTimestampOrBuilder(); 132 } 133