Package io.grpc.channelz.v1
Interface ServerDataOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
ServerData
,ServerData.Builder
public interface ServerDataOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCallsFailed()
The number of incoming calls that have a completed with a non-OK statuslong
getCallsStarted()
The number of incoming calls started on the serverlong
getCallsSucceeded()
The number of incoming calls that have completed with an OK statusTimestamp
getLastCallStartedTimestamp()
The last time a call was started on the server.TimestampOrBuilder
getLastCallStartedTimestampOrBuilder()
The last time a call was started on the server.ChannelTrace
getTrace()
A trace of recent events on the server.ChannelTraceOrBuilder
getTraceOrBuilder()
A trace of recent events on the server.boolean
hasLastCallStartedTimestamp()
The last time a call was started on the server.boolean
hasTrace()
A trace of recent events on the server.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTrace
boolean hasTrace()
A trace of recent events on the server. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 1;
- Returns:
- Whether the trace field is set.
-
getTrace
ChannelTrace getTrace()
A trace of recent events on the server. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 1;
- Returns:
- The trace.
-
getTraceOrBuilder
ChannelTraceOrBuilder getTraceOrBuilder()
A trace of recent events on the server. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 1;
-
getCallsStarted
long getCallsStarted()
The number of incoming calls started on the server
int64 calls_started = 2;
- Returns:
- The callsStarted.
-
getCallsSucceeded
long getCallsSucceeded()
The number of incoming calls that have completed with an OK status
int64 calls_succeeded = 3;
- Returns:
- The callsSucceeded.
-
getCallsFailed
long getCallsFailed()
The number of incoming calls that have a completed with a non-OK status
int64 calls_failed = 4;
- Returns:
- The callsFailed.
-
hasLastCallStartedTimestamp
boolean hasLastCallStartedTimestamp()
The last time a call was started on the server.
.google.protobuf.Timestamp last_call_started_timestamp = 5;
- Returns:
- Whether the lastCallStartedTimestamp field is set.
-
getLastCallStartedTimestamp
Timestamp getLastCallStartedTimestamp()
The last time a call was started on the server.
.google.protobuf.Timestamp last_call_started_timestamp = 5;
- Returns:
- The lastCallStartedTimestamp.
-
getLastCallStartedTimestampOrBuilder
TimestampOrBuilder getLastCallStartedTimestampOrBuilder()
The last time a call was started on the server.
.google.protobuf.Timestamp last_call_started_timestamp = 5;
-
-