public final class SocketData extends com.google.protobuf.GeneratedMessageV3 implements SocketDataOrBuilder
SocketData is data associated for a specific Socket. The fields present are specific to the implementation, so there may be minor differences in the semantics. (e.g. flow control windows)Protobuf type
grpc.channelz.v1.SocketData| Modifier and Type | Class and Description |
|---|---|
static class |
SocketData.Builder
SocketData is data associated for a specific Socket.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
KEEP_ALIVES_SENT_FIELD_NUMBER |
static int |
LAST_LOCAL_STREAM_CREATED_TIMESTAMP_FIELD_NUMBER |
static int |
LAST_MESSAGE_RECEIVED_TIMESTAMP_FIELD_NUMBER |
static int |
LAST_MESSAGE_SENT_TIMESTAMP_FIELD_NUMBER |
static int |
LAST_REMOTE_STREAM_CREATED_TIMESTAMP_FIELD_NUMBER |
static int |
LOCAL_FLOW_CONTROL_WINDOW_FIELD_NUMBER |
static int |
MESSAGES_RECEIVED_FIELD_NUMBER |
static int |
MESSAGES_SENT_FIELD_NUMBER |
static int |
OPTION_FIELD_NUMBER |
static int |
REMOTE_FLOW_CONTROL_WINDOW_FIELD_NUMBER |
static int |
STREAMS_FAILED_FIELD_NUMBER |
static int |
STREAMS_STARTED_FIELD_NUMBER |
static int |
STREAMS_SUCCEEDED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static SocketData |
getDefaultInstance() |
SocketData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getKeepAlivesSent()
The number of keep alives sent.
|
com.google.protobuf.Timestamp |
getLastLocalStreamCreatedTimestamp()
The last time a stream was created by this endpoint.
|
com.google.protobuf.TimestampOrBuilder |
getLastLocalStreamCreatedTimestampOrBuilder()
The last time a stream was created by this endpoint.
|
com.google.protobuf.Timestamp |
getLastMessageReceivedTimestamp()
The last time a message was received by this endpoint.
|
com.google.protobuf.TimestampOrBuilder |
getLastMessageReceivedTimestampOrBuilder()
The last time a message was received by this endpoint.
|
com.google.protobuf.Timestamp |
getLastMessageSentTimestamp()
The last time a message was sent by this endpoint.
|
com.google.protobuf.TimestampOrBuilder |
getLastMessageSentTimestampOrBuilder()
The last time a message was sent by this endpoint.
|
com.google.protobuf.Timestamp |
getLastRemoteStreamCreatedTimestamp()
The last time a stream was created by the remote endpoint.
|
com.google.protobuf.TimestampOrBuilder |
getLastRemoteStreamCreatedTimestampOrBuilder()
The last time a stream was created by the remote endpoint.
|
com.google.protobuf.Int64Value |
getLocalFlowControlWindow()
The amount of window, granted to the local endpoint by the remote endpoint.
|
com.google.protobuf.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.
|
com.google.protobuf.Parser<SocketData> |
getParserForType() |
com.google.protobuf.Int64Value |
getRemoteFlowControlWindow()
The amount of window, granted to the remote endpoint by the local endpoint.
|
com.google.protobuf.Int64ValueOrBuilder |
getRemoteFlowControlWindowOrBuilder()
The amount of window, granted to the remote endpoint by the local endpoint.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SocketData.Builder |
newBuilder() |
static SocketData.Builder |
newBuilder(SocketData prototype) |
SocketData.Builder |
newBuilderForType() |
protected SocketData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SocketData |
parseDelimitedFrom(InputStream input) |
static SocketData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SocketData |
parseFrom(byte[] data) |
static SocketData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SocketData |
parseFrom(ByteBuffer data) |
static SocketData |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SocketData |
parseFrom(com.google.protobuf.ByteString data) |
static SocketData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SocketData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SocketData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SocketData |
parseFrom(InputStream input) |
static SocketData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SocketData> |
parser() |
SocketData.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STREAMS_STARTED_FIELD_NUMBER
public static final int STREAMS_SUCCEEDED_FIELD_NUMBER
public static final int STREAMS_FAILED_FIELD_NUMBER
public static final int MESSAGES_SENT_FIELD_NUMBER
public static final int MESSAGES_RECEIVED_FIELD_NUMBER
public static final int KEEP_ALIVES_SENT_FIELD_NUMBER
public static final int LAST_LOCAL_STREAM_CREATED_TIMESTAMP_FIELD_NUMBER
public static final int LAST_REMOTE_STREAM_CREATED_TIMESTAMP_FIELD_NUMBER
public static final int LAST_MESSAGE_SENT_TIMESTAMP_FIELD_NUMBER
public static final int LAST_MESSAGE_RECEIVED_TIMESTAMP_FIELD_NUMBER
public static final int LOCAL_FLOW_CONTROL_WINDOW_FIELD_NUMBER
public static final int REMOTE_FLOW_CONTROL_WINDOW_FIELD_NUMBER
public static final int OPTION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public long getStreamsStarted()
The number of streams that have been started.
int64 streams_started = 1;getStreamsStarted in interface SocketDataOrBuilderpublic 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;getStreamsSucceeded in interface SocketDataOrBuilderpublic 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;getStreamsFailed in interface SocketDataOrBuilderpublic long getMessagesSent()
The number of grpc messages successfully sent on this socket.
int64 messages_sent = 4;getMessagesSent in interface SocketDataOrBuilderpublic long getMessagesReceived()
The number of grpc messages received on this socket.
int64 messages_received = 5;getMessagesReceived in interface SocketDataOrBuilderpublic long getKeepAlivesSent()
The number of keep alives sent. This is typically implemented with HTTP/2 ping messages.
int64 keep_alives_sent = 6;getKeepAlivesSent in interface SocketDataOrBuilderpublic 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;hasLastLocalStreamCreatedTimestamp in interface SocketDataOrBuilderpublic com.google.protobuf.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;getLastLocalStreamCreatedTimestamp in interface SocketDataOrBuilderpublic com.google.protobuf.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;getLastLocalStreamCreatedTimestampOrBuilder in interface SocketDataOrBuilderpublic 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;hasLastRemoteStreamCreatedTimestamp in interface SocketDataOrBuilderpublic com.google.protobuf.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;getLastRemoteStreamCreatedTimestamp in interface SocketDataOrBuilderpublic com.google.protobuf.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;getLastRemoteStreamCreatedTimestampOrBuilder in interface SocketDataOrBuilderpublic boolean hasLastMessageSentTimestamp()
The last time a message was sent by this endpoint.
.google.protobuf.Timestamp last_message_sent_timestamp = 9;hasLastMessageSentTimestamp in interface SocketDataOrBuilderpublic com.google.protobuf.Timestamp getLastMessageSentTimestamp()
The last time a message was sent by this endpoint.
.google.protobuf.Timestamp last_message_sent_timestamp = 9;getLastMessageSentTimestamp in interface SocketDataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLastMessageSentTimestampOrBuilder()
The last time a message was sent by this endpoint.
.google.protobuf.Timestamp last_message_sent_timestamp = 9;getLastMessageSentTimestampOrBuilder in interface SocketDataOrBuilderpublic boolean hasLastMessageReceivedTimestamp()
The last time a message was received by this endpoint.
.google.protobuf.Timestamp last_message_received_timestamp = 10;hasLastMessageReceivedTimestamp in interface SocketDataOrBuilderpublic com.google.protobuf.Timestamp getLastMessageReceivedTimestamp()
The last time a message was received by this endpoint.
.google.protobuf.Timestamp last_message_received_timestamp = 10;getLastMessageReceivedTimestamp in interface SocketDataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLastMessageReceivedTimestampOrBuilder()
The last time a message was received by this endpoint.
.google.protobuf.Timestamp last_message_received_timestamp = 10;getLastMessageReceivedTimestampOrBuilder in interface SocketDataOrBuilderpublic 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;hasLocalFlowControlWindow in interface SocketDataOrBuilderpublic com.google.protobuf.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;getLocalFlowControlWindow in interface SocketDataOrBuilderpublic com.google.protobuf.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;getLocalFlowControlWindowOrBuilder in interface SocketDataOrBuilderpublic 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;hasRemoteFlowControlWindow in interface SocketDataOrBuilderpublic com.google.protobuf.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;getRemoteFlowControlWindow in interface SocketDataOrBuilderpublic com.google.protobuf.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;getRemoteFlowControlWindowOrBuilder in interface SocketDataOrBuilderpublic 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;getOptionList in interface SocketDataOrBuilderpublic 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;getOptionOrBuilderList in interface SocketDataOrBuilderpublic int getOptionCount()
Socket options set on this socket. May be absent if 'summary' is set on GetSocketRequest.
repeated .grpc.channelz.v1.SocketOption option = 13;getOptionCount in interface SocketDataOrBuilderpublic 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;getOption in interface SocketDataOrBuilderpublic 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;getOptionOrBuilder in interface SocketDataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SocketData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SocketData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SocketData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SocketData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SocketData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SocketData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SocketData parseFrom(InputStream input) throws IOException
IOExceptionpublic static SocketData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SocketData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SocketData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SocketData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SocketData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SocketData.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SocketData.Builder newBuilder()
public static SocketData.Builder newBuilder(SocketData prototype)
public SocketData.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SocketData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SocketData getDefaultInstance()
public static com.google.protobuf.Parser<SocketData> parser()
public com.google.protobuf.Parser<SocketData> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SocketData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder