Package io.grpc.channelz.v1
Interface ServerDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerData
,ServerData.Builder
public interface ServerDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong
The number of incoming calls that have a completed with a non-OK statuslong
The number of incoming calls started on the serverlong
The number of incoming calls that have completed with an OK statuscom.google.protobuf.Timestamp
The last time a call was started on the server.com.google.protobuf.TimestampOrBuilder
The last time a call was started on the server.getTrace()
A trace of recent events on the server.A trace of recent events on the server.boolean
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 Details
-
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
com.google.protobuf.Timestamp getLastCallStartedTimestamp()The last time a call was started on the server.
.google.protobuf.Timestamp last_call_started_timestamp = 5;
- Returns:
- The lastCallStartedTimestamp.
-
getLastCallStartedTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getLastCallStartedTimestampOrBuilder()The last time a call was started on the server.
.google.protobuf.Timestamp last_call_started_timestamp = 5;
-