// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/channelz/v1/channelz.proto
// Protobuf Java Version: 3.25.1
package io.grpc.channelz.v1;
public interface ChannelDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.channelz.v1.ChannelData)
com.google.protobuf.MessageOrBuilder {
/**
*
* The connectivity state of the channel or subchannel. Implementations
* should always set this.
*
*
* .grpc.channelz.v1.ChannelConnectivityState state = 1;
* @return Whether the state field is set.
*/
boolean hasState();
/**
*
* The connectivity state of the channel or subchannel. Implementations
* should always set this.
*
*
* .grpc.channelz.v1.ChannelConnectivityState state = 1;
* @return The state.
*/
io.grpc.channelz.v1.ChannelConnectivityState getState();
/**
*
* The connectivity state of the channel or subchannel. Implementations
* should always set this.
*
*
* .grpc.channelz.v1.ChannelConnectivityState state = 1;
*/
io.grpc.channelz.v1.ChannelConnectivityStateOrBuilder getStateOrBuilder();
/**
*
* The target this channel originally tried to connect to. May be absent
*
*
* string target = 2;
* @return The target.
*/
java.lang.String getTarget();
/**
*
* The target this channel originally tried to connect to. May be absent
*
*
* string target = 2;
* @return The bytes for target.
*/
com.google.protobuf.ByteString
getTargetBytes();
/**
*
* A trace of recent events on the channel. May be absent.
*
*
* .grpc.channelz.v1.ChannelTrace trace = 3;
* @return Whether the trace field is set.
*/
boolean hasTrace();
/**
*
* A trace of recent events on the channel. May be absent.
*
*
* .grpc.channelz.v1.ChannelTrace trace = 3;
* @return The trace.
*/
io.grpc.channelz.v1.ChannelTrace getTrace();
/**
*
* A trace of recent events on the channel. May be absent.
*
*
* .grpc.channelz.v1.ChannelTrace trace = 3;
*/
io.grpc.channelz.v1.ChannelTraceOrBuilder getTraceOrBuilder();
/**
*
* The number of calls started on the channel
*
*
* int64 calls_started = 4;
* @return The callsStarted.
*/
long getCallsStarted();
/**
*
* The number of calls that have completed with an OK status
*
*
* int64 calls_succeeded = 5;
* @return The callsSucceeded.
*/
long getCallsSucceeded();
/**
*
* The number of calls that have completed with a non-OK status
*
*
* int64 calls_failed = 6;
* @return The callsFailed.
*/
long getCallsFailed();
/**
*
* The last time a call was started on the channel.
*
*
* .google.protobuf.Timestamp last_call_started_timestamp = 7;
* @return Whether the lastCallStartedTimestamp field is set.
*/
boolean hasLastCallStartedTimestamp();
/**
*
* The last time a call was started on the channel.
*
*
* .google.protobuf.Timestamp last_call_started_timestamp = 7;
* @return The lastCallStartedTimestamp.
*/
com.google.protobuf.Timestamp getLastCallStartedTimestamp();
/**
*
* The last time a call was started on the channel.
*
*
* .google.protobuf.Timestamp last_call_started_timestamp = 7;
*/
com.google.protobuf.TimestampOrBuilder getLastCallStartedTimestampOrBuilder();
}