public final class SocketData extends 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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static SocketData |
getDefaultInstance() |
SocketData |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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.
|
Parser<SocketData> |
getParserForType() |
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.
|
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.
|
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SocketData.Builder |
newBuilder() |
static SocketData.Builder |
newBuilder(SocketData prototype) |
SocketData.Builder |
newBuilderForType() |
protected SocketData.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static SocketData |
parseDelimitedFrom(InputStream input) |
static SocketData |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static SocketData |
parseFrom(byte[] data) |
static SocketData |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static SocketData |
parseFrom(ByteBuffer data) |
static SocketData |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static SocketData |
parseFrom(ByteString data) |
static SocketData |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static SocketData |
parseFrom(CodedInputStream input) |
static SocketData |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static SocketData |
parseFrom(InputStream input) |
static SocketData |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<SocketData> |
parser() |
SocketData.Builder |
toBuilder() |
void |
writeTo(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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class 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 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 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 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 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 Timestamp getLastMessageSentTimestamp()
The last time a message was sent by this endpoint.
.google.protobuf.Timestamp last_message_sent_timestamp = 9;getLastMessageSentTimestamp in interface SocketDataOrBuilderpublic 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 Timestamp getLastMessageReceivedTimestamp()
The last time a message was received by this endpoint.
.google.protobuf.Timestamp last_message_received_timestamp = 10;getLastMessageReceivedTimestamp in interface SocketDataOrBuilderpublic 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 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 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 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 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 MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static SocketData parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SocketData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SocketData parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SocketData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SocketData parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SocketData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SocketData parseFrom(InputStream input) throws IOException
IOExceptionpublic static SocketData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SocketData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SocketData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SocketData parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static SocketData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SocketData.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static SocketData.Builder newBuilder()
public static SocketData.Builder newBuilder(SocketData prototype)
public SocketData.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected SocketData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static SocketData getDefaultInstance()
public static Parser<SocketData> parser()
public Parser<SocketData> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public SocketData getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder