Package io.grpc.channelz.v1
Interface SocketDataOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
SocketData
,SocketData.Builder
public interface SocketDataOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getKeepAlivesSent()
The number of keep alives sent.Timestamp
getLastLocalStreamCreatedTimestamp()
The last time a stream was created by this endpoint.TimestampOrBuilder
getLastLocalStreamCreatedTimestampOrBuilder()
The last time a stream was created by this endpoint.Timestamp
getLastMessageReceivedTimestamp()
The last time a message was received by this endpoint.TimestampOrBuilder
getLastMessageReceivedTimestampOrBuilder()
The last time a message was received by this endpoint.Timestamp
getLastMessageSentTimestamp()
The last time a message was sent by this endpoint.TimestampOrBuilder
getLastMessageSentTimestampOrBuilder()
The last time a message was sent by this endpoint.Timestamp
getLastRemoteStreamCreatedTimestamp()
The last time a stream was created by the remote endpoint.TimestampOrBuilder
getLastRemoteStreamCreatedTimestampOrBuilder()
The last time a stream was created by the remote endpoint.Int64Value
getLocalFlowControlWindow()
The amount of window, granted to the local endpoint by the remote endpoint.Int64ValueOrBuilder
getLocalFlowControlWindowOrBuilder()
The amount of window, granted to the local endpoint by the remote endpoint.long
getMessagesReceived()
The number of grpc messages received on this socket.long
getMessagesSent()
The number of grpc messages successfully sent on this socket.SocketOption
getOption(int index)
Socket options set on this socket.int
getOptionCount()
Socket options set on this socket.List<SocketOption>
getOptionList()
Socket options set on this socket.SocketOptionOrBuilder
getOptionOrBuilder(int index)
Socket options set on this socket.List<? extends SocketOptionOrBuilder>
getOptionOrBuilderList()
Socket options set on this socket.Int64Value
getRemoteFlowControlWindow()
The amount of window, granted to the remote endpoint by the local endpoint.Int64ValueOrBuilder
getRemoteFlowControlWindowOrBuilder()
The amount of window, granted to the remote endpoint by the local endpoint.long
getStreamsFailed()
The number of streams that have ended unsuccessfully: On client side, ended without receiving frame with eos bit set; On server side, ended without sending frame with eos bit set.long
getStreamsStarted()
The number of streams that have been started.long
getStreamsSucceeded()
The number of streams that have ended successfully: On client side, received frame with eos bit set; On server side, sent frame with eos bit set.boolean
hasLastLocalStreamCreatedTimestamp()
The last time a stream was created by this endpoint.boolean
hasLastMessageReceivedTimestamp()
The last time a message was received by this endpoint.boolean
hasLastMessageSentTimestamp()
The last time a message was sent by this endpoint.boolean
hasLastRemoteStreamCreatedTimestamp()
The last time a stream was created by the remote endpoint.boolean
hasLocalFlowControlWindow()
The amount of window, granted to the local endpoint by the remote endpoint.boolean
hasRemoteFlowControlWindow()
The amount of window, granted to the remote endpoint by the local endpoint.-
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
-
getStreamsStarted
long getStreamsStarted()
The number of streams that have been started.
int64 streams_started = 1;
- Returns:
- The streamsStarted.
-
getStreamsSucceeded
long getStreamsSucceeded()
The number of streams that have ended successfully: On client side, received frame with eos bit set; On server side, sent frame with eos bit set.
int64 streams_succeeded = 2;
- Returns:
- The streamsSucceeded.
-
getStreamsFailed
long getStreamsFailed()
The number of streams that have ended unsuccessfully: On client side, ended without receiving frame with eos bit set; On server side, ended without sending frame with eos bit set.
int64 streams_failed = 3;
- Returns:
- The streamsFailed.
-
getMessagesSent
long getMessagesSent()
The number of grpc messages successfully sent on this socket.
int64 messages_sent = 4;
- Returns:
- The messagesSent.
-
getMessagesReceived
long getMessagesReceived()
The number of grpc messages received on this socket.
int64 messages_received = 5;
- Returns:
- The messagesReceived.
-
getKeepAlivesSent
long getKeepAlivesSent()
The number of keep alives sent. This is typically implemented with HTTP/2 ping messages.
int64 keep_alives_sent = 6;
- Returns:
- The keepAlivesSent.
-
hasLastLocalStreamCreatedTimestamp
boolean hasLastLocalStreamCreatedTimestamp()
The last time a stream was created by this endpoint. Usually unset for servers.
.google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
- Returns:
- Whether the lastLocalStreamCreatedTimestamp field is set.
-
getLastLocalStreamCreatedTimestamp
Timestamp getLastLocalStreamCreatedTimestamp()
The last time a stream was created by this endpoint. Usually unset for servers.
.google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
- Returns:
- The lastLocalStreamCreatedTimestamp.
-
getLastLocalStreamCreatedTimestampOrBuilder
TimestampOrBuilder getLastLocalStreamCreatedTimestampOrBuilder()
The last time a stream was created by this endpoint. Usually unset for servers.
.google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
-
hasLastRemoteStreamCreatedTimestamp
boolean hasLastRemoteStreamCreatedTimestamp()
The last time a stream was created by the remote endpoint. Usually unset for clients.
.google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
- Returns:
- Whether the lastRemoteStreamCreatedTimestamp field is set.
-
getLastRemoteStreamCreatedTimestamp
Timestamp getLastRemoteStreamCreatedTimestamp()
The last time a stream was created by the remote endpoint. Usually unset for clients.
.google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
- Returns:
- The lastRemoteStreamCreatedTimestamp.
-
getLastRemoteStreamCreatedTimestampOrBuilder
TimestampOrBuilder getLastRemoteStreamCreatedTimestampOrBuilder()
The last time a stream was created by the remote endpoint. Usually unset for clients.
.google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
-
hasLastMessageSentTimestamp
boolean hasLastMessageSentTimestamp()
The last time a message was sent by this endpoint.
.google.protobuf.Timestamp last_message_sent_timestamp = 9;
- Returns:
- Whether the lastMessageSentTimestamp field is set.
-
getLastMessageSentTimestamp
Timestamp getLastMessageSentTimestamp()
The last time a message was sent by this endpoint.
.google.protobuf.Timestamp last_message_sent_timestamp = 9;
- Returns:
- The lastMessageSentTimestamp.
-
getLastMessageSentTimestampOrBuilder
TimestampOrBuilder getLastMessageSentTimestampOrBuilder()
The last time a message was sent by this endpoint.
.google.protobuf.Timestamp last_message_sent_timestamp = 9;
-
hasLastMessageReceivedTimestamp
boolean hasLastMessageReceivedTimestamp()
The last time a message was received by this endpoint.
.google.protobuf.Timestamp last_message_received_timestamp = 10;
- Returns:
- Whether the lastMessageReceivedTimestamp field is set.
-
getLastMessageReceivedTimestamp
Timestamp getLastMessageReceivedTimestamp()
The last time a message was received by this endpoint.
.google.protobuf.Timestamp last_message_received_timestamp = 10;
- Returns:
- The lastMessageReceivedTimestamp.
-
getLastMessageReceivedTimestampOrBuilder
TimestampOrBuilder getLastMessageReceivedTimestampOrBuilder()
The last time a message was received by this endpoint.
.google.protobuf.Timestamp last_message_received_timestamp = 10;
-
hasLocalFlowControlWindow
boolean hasLocalFlowControlWindow()
The amount of window, granted to the local endpoint by the remote endpoint. This may be slightly out of date due to network latency. This does NOT include stream level or TCP level flow control info.
.google.protobuf.Int64Value local_flow_control_window = 11;
- Returns:
- Whether the localFlowControlWindow field is set.
-
getLocalFlowControlWindow
Int64Value getLocalFlowControlWindow()
The amount of window, granted to the local endpoint by the remote endpoint. This may be slightly out of date due to network latency. This does NOT include stream level or TCP level flow control info.
.google.protobuf.Int64Value local_flow_control_window = 11;
- Returns:
- The localFlowControlWindow.
-
getLocalFlowControlWindowOrBuilder
Int64ValueOrBuilder getLocalFlowControlWindowOrBuilder()
The amount of window, granted to the local endpoint by the remote endpoint. This may be slightly out of date due to network latency. This does NOT include stream level or TCP level flow control info.
.google.protobuf.Int64Value local_flow_control_window = 11;
-
hasRemoteFlowControlWindow
boolean hasRemoteFlowControlWindow()
The amount of window, granted to the remote endpoint by the local endpoint. This may be slightly out of date due to network latency. This does NOT include stream level or TCP level flow control info.
.google.protobuf.Int64Value remote_flow_control_window = 12;
- Returns:
- Whether the remoteFlowControlWindow field is set.
-
getRemoteFlowControlWindow
Int64Value getRemoteFlowControlWindow()
The amount of window, granted to the remote endpoint by the local endpoint. This may be slightly out of date due to network latency. This does NOT include stream level or TCP level flow control info.
.google.protobuf.Int64Value remote_flow_control_window = 12;
- Returns:
- The remoteFlowControlWindow.
-
getRemoteFlowControlWindowOrBuilder
Int64ValueOrBuilder getRemoteFlowControlWindowOrBuilder()
The amount of window, granted to the remote endpoint by the local endpoint. This may be slightly out of date due to network latency. This does NOT include stream level or TCP level flow control info.
.google.protobuf.Int64Value remote_flow_control_window = 12;
-
getOptionList
List<SocketOption> getOptionList()
Socket options set on this socket. May be absent if 'summary' is set on GetSocketRequest.
repeated .grpc.channelz.v1.SocketOption option = 13;
-
getOption
SocketOption getOption(int index)
Socket options set on this socket. May be absent if 'summary' is set on GetSocketRequest.
repeated .grpc.channelz.v1.SocketOption option = 13;
-
getOptionCount
int getOptionCount()
Socket options set on this socket. May be absent if 'summary' is set on GetSocketRequest.
repeated .grpc.channelz.v1.SocketOption option = 13;
-
getOptionOrBuilderList
List<? extends SocketOptionOrBuilder> getOptionOrBuilderList()
Socket options set on this socket. May be absent if 'summary' is set on GetSocketRequest.
repeated .grpc.channelz.v1.SocketOption option = 13;
-
getOptionOrBuilder
SocketOptionOrBuilder getOptionOrBuilder(int index)
Socket options set on this socket. May be absent if 'summary' is set on GetSocketRequest.
repeated .grpc.channelz.v1.SocketOption option = 13;
-
-