Package io.envoyproxy.envoy.data.tap.v3
Class SocketEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.data.tap.v3.SocketEvent
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SocketEventOrBuilder,Serializable
public final class SocketEvent
extends com.google.protobuf.GeneratedMessageV3
implements SocketEventOrBuilder
Event in a socket trace. [#next-free-field: 7]Protobuf type
envoy.data.tap.v3.SocketEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEvent in a socket trace.static final classThe connection was closed.static interfacestatic enumstatic final classData read by Envoy from the transport socket.static interfacestatic final classData written by Envoy to the transport socket.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean.envoy.data.tap.v3.SocketEvent.Closed closed = 4;.envoy.data.tap.v3.SocketEvent.Closed closed = 4;Connection information per eventConnection information per eventstatic SocketEventstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<SocketEvent>getRead().envoy.data.tap.v3.SocketEvent.Read read = 2;.envoy.data.tap.v3.SocketEvent.Read read = 2;longData sequence numberintcom.google.protobuf.TimestampTimestamp for event.com.google.protobuf.TimestampOrBuilderTimestamp for event.getWrite().envoy.data.tap.v3.SocketEvent.Write write = 3;.envoy.data.tap.v3.SocketEvent.Write write = 3;boolean.envoy.data.tap.v3.SocketEvent.Closed closed = 4;booleanConnection information per eventinthashCode()booleanhasRead().envoy.data.tap.v3.SocketEvent.Read read = 2;booleanTimestamp for event.booleanhasWrite().envoy.data.tap.v3.SocketEvent.Write write = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic SocketEvent.Builderstatic SocketEvent.BuildernewBuilder(SocketEvent prototype) protected SocketEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SocketEventparseDelimitedFrom(InputStream input) static SocketEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SocketEventparseFrom(byte[] data) static SocketEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SocketEventparseFrom(com.google.protobuf.ByteString data) static SocketEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SocketEventparseFrom(com.google.protobuf.CodedInputStream input) static SocketEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SocketEventparseFrom(InputStream input) static SocketEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SocketEventparseFrom(ByteBuffer data) static SocketEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SocketEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
READ_FIELD_NUMBER
public static final int READ_FIELD_NUMBER- See Also:
-
WRITE_FIELD_NUMBER
public static final int WRITE_FIELD_NUMBER- See Also:
-
CLOSED_FIELD_NUMBER
public static final int CLOSED_FIELD_NUMBER- See Also:
-
CONNECTION_FIELD_NUMBER
public static final int CONNECTION_FIELD_NUMBER- See Also:
-
SEQ_NUM_FIELD_NUMBER
public static final int SEQ_NUM_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getEventSelectorCase
- Specified by:
getEventSelectorCasein interfaceSocketEventOrBuilder
-
hasTimestamp
public boolean hasTimestamp()Timestamp for event.
.google.protobuf.Timestamp timestamp = 1;- Specified by:
hasTimestampin interfaceSocketEventOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()Timestamp for event.
.google.protobuf.Timestamp timestamp = 1;- Specified by:
getTimestampin interfaceSocketEventOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()Timestamp for event.
.google.protobuf.Timestamp timestamp = 1;- Specified by:
getTimestampOrBuilderin interfaceSocketEventOrBuilder
-
hasRead
public boolean hasRead().envoy.data.tap.v3.SocketEvent.Read read = 2;- Specified by:
hasReadin interfaceSocketEventOrBuilder- Returns:
- Whether the read field is set.
-
getRead
.envoy.data.tap.v3.SocketEvent.Read read = 2;- Specified by:
getReadin interfaceSocketEventOrBuilder- Returns:
- The read.
-
getReadOrBuilder
.envoy.data.tap.v3.SocketEvent.Read read = 2;- Specified by:
getReadOrBuilderin interfaceSocketEventOrBuilder
-
hasWrite
public boolean hasWrite().envoy.data.tap.v3.SocketEvent.Write write = 3;- Specified by:
hasWritein interfaceSocketEventOrBuilder- Returns:
- Whether the write field is set.
-
getWrite
.envoy.data.tap.v3.SocketEvent.Write write = 3;- Specified by:
getWritein interfaceSocketEventOrBuilder- Returns:
- The write.
-
getWriteOrBuilder
.envoy.data.tap.v3.SocketEvent.Write write = 3;- Specified by:
getWriteOrBuilderin interfaceSocketEventOrBuilder
-
hasClosed
public boolean hasClosed().envoy.data.tap.v3.SocketEvent.Closed closed = 4;- Specified by:
hasClosedin interfaceSocketEventOrBuilder- Returns:
- Whether the closed field is set.
-
getClosed
.envoy.data.tap.v3.SocketEvent.Closed closed = 4;- Specified by:
getClosedin interfaceSocketEventOrBuilder- Returns:
- The closed.
-
getClosedOrBuilder
.envoy.data.tap.v3.SocketEvent.Closed closed = 4;- Specified by:
getClosedOrBuilderin interfaceSocketEventOrBuilder
-
hasConnection
public boolean hasConnection()Connection information per event
.envoy.data.tap.v3.Connection connection = 5;- Specified by:
hasConnectionin interfaceSocketEventOrBuilder- Returns:
- Whether the connection field is set.
-
getConnection
Connection information per event
.envoy.data.tap.v3.Connection connection = 5;- Specified by:
getConnectionin interfaceSocketEventOrBuilder- Returns:
- The connection.
-
getConnectionOrBuilder
Connection information per event
.envoy.data.tap.v3.Connection connection = 5;- Specified by:
getConnectionOrBuilderin interfaceSocketEventOrBuilder
-
getSeqNum
public long getSeqNum()Data sequence number
uint64 seq_num = 6;- Specified by:
getSeqNumin interfaceSocketEventOrBuilder- Returns:
- The seqNum.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SocketEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SocketEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SocketEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SocketEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SocketEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SocketEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SocketEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SocketEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SocketEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SocketEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-