Package com.exactpro.th2.common.grpc
Class MessageID
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.exactpro.th2.common.grpc.MessageID
-
- All Implemented Interfaces:
MessageIDOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class MessageID extends com.google.protobuf.GeneratedMessageV3 implements MessageIDOrBuilder
Protobuf typeMessageID- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessageID.BuilderProtobuf typeMessageID-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intCONNECTION_ID_FIELD_NUMBERstatic intDIRECTION_FIELD_NUMBERstatic intSEQUENCE_FIELD_NUMBERstatic intSUBSEQUENCE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)ConnectionIDgetConnectionId().ConnectionID connection_id = 1;ConnectionIDOrBuildergetConnectionIdOrBuilder().ConnectionID connection_id = 1;static MessageIDgetDefaultInstance()MessageIDgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DirectiongetDirection()Transport direction.intgetDirectionValue()Transport direction.com.google.protobuf.Parser<MessageID>getParserForType()longgetSequence()Unique sequence number in sessionintgetSerializedSize()intgetSubsequence(int index)List of nested sequences in addition to the main oneintgetSubsequenceCount()List of nested sequences in addition to the main onejava.util.List<java.lang.Integer>getSubsequenceList()List of nested sequences in addition to the main onecom.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasConnectionId().ConnectionID connection_id = 1;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MessageID.BuildernewBuilder()static MessageID.BuildernewBuilder(MessageID prototype)MessageID.BuildernewBuilderForType()protected MessageID.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MessageIDparseDelimitedFrom(java.io.InputStream input)static MessageIDparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MessageIDparseFrom(byte[] data)static MessageIDparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MessageIDparseFrom(com.google.protobuf.ByteString data)static MessageIDparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MessageIDparseFrom(com.google.protobuf.CodedInputStream input)static MessageIDparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MessageIDparseFrom(java.io.InputStream input)static MessageIDparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MessageIDparseFrom(java.nio.ByteBuffer data)static MessageIDparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MessageID>parser()MessageID.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CONNECTION_ID_FIELD_NUMBER
public static final int CONNECTION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQUENCE_FIELD_NUMBER
public static final int SEQUENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBSEQUENCE_FIELD_NUMBER
public static final int SUBSEQUENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
hasConnectionId
public boolean hasConnectionId()
.ConnectionID connection_id = 1;- Specified by:
hasConnectionIdin interfaceMessageIDOrBuilder- Returns:
- Whether the connectionId field is set.
-
getConnectionId
public ConnectionID getConnectionId()
.ConnectionID connection_id = 1;- Specified by:
getConnectionIdin interfaceMessageIDOrBuilder- Returns:
- The connectionId.
-
getConnectionIdOrBuilder
public ConnectionIDOrBuilder getConnectionIdOrBuilder()
.ConnectionID connection_id = 1;- Specified by:
getConnectionIdOrBuilderin interfaceMessageIDOrBuilder
-
getDirectionValue
public int getDirectionValue()
Transport direction.
.Direction direction = 2;- Specified by:
getDirectionValuein interfaceMessageIDOrBuilder- Returns:
- The enum numeric value on the wire for direction.
-
getDirection
public Direction getDirection()
Transport direction.
.Direction direction = 2;- Specified by:
getDirectionin interfaceMessageIDOrBuilder- Returns:
- The direction.
-
getSequence
public long getSequence()
Unique sequence number in session
int64 sequence = 3;- Specified by:
getSequencein interfaceMessageIDOrBuilder- Returns:
- The sequence.
-
getSubsequenceList
public java.util.List<java.lang.Integer> getSubsequenceList()
List of nested sequences in addition to the main one
repeated uint32 subsequence = 4;- Specified by:
getSubsequenceListin interfaceMessageIDOrBuilder- Returns:
- A list containing the subsequence.
-
getSubsequenceCount
public int getSubsequenceCount()
List of nested sequences in addition to the main one
repeated uint32 subsequence = 4;- Specified by:
getSubsequenceCountin interfaceMessageIDOrBuilder- Returns:
- The count of subsequence.
-
getSubsequence
public int getSubsequence(int index)
List of nested sequences in addition to the main one
repeated uint32 subsequence = 4;- Specified by:
getSubsequencein interfaceMessageIDOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The subsequence at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 MessageID parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MessageID parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MessageID parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MessageID parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MessageID parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MessageID parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MessageID parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageID parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MessageID parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MessageID parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageID parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageID parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public MessageID.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MessageID.Builder newBuilder()
-
newBuilder
public static MessageID.Builder newBuilder(MessageID prototype)
-
toBuilder
public MessageID.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MessageID.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MessageID getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MessageID> parser()
-
getParserForType
public com.google.protobuf.Parser<MessageID> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MessageID getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-