Class RpcTrace
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.hansken.extraction.plugin.grpc.RpcTrace
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,RpcTraceOrBuilder
public final class RpcTrace extends com.google.protobuf.GeneratedMessageV3 implements RpcTraceOrBuilder
A description of a trace, containing the set of types and properties of that trace. It also contains an id. This is a String consisting of numbers separated with a dash, each consecutive numbers representing a level deeper in the trace tree. For example, if this trace has an id of {@code '0-0-1-2'}, the parent of this trace has an id of {@code '0-0-1'} and the root trace has an id of {@code '0'}. It is only used internally in order to verify that we are operating on the correct trace.Protobuf typeorg.hansken.extraction.plugin.grpc.RpcTrace- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRpcTrace.BuilderA description of a trace, containing the set of types and properties of that trace.-
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 intID_FIELD_NUMBERstatic intPROPERTIES_FIELD_NUMBERstatic intTRACELETS_FIELD_NUMBERstatic intTRANSFORMATIONS_FIELD_NUMBERstatic intTYPES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static RpcTracegetDefaultInstance()RpcTracegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetId()string id = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;com.google.protobuf.Parser<RpcTrace>getParserForType()RpcTracePropertygetProperties(int index)repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;intgetPropertiesCount()repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;List<RpcTraceProperty>getPropertiesList()repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;RpcTracePropertyOrBuildergetPropertiesOrBuilder(int index)repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;List<? extends RpcTracePropertyOrBuilder>getPropertiesOrBuilderList()repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;intgetSerializedSize()RpcTraceletgetTracelets(int index)repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;intgetTraceletsCount()repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;List<RpcTracelet>getTraceletsList()repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;RpcTraceletOrBuildergetTraceletsOrBuilder(int index)repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;List<? extends RpcTraceletOrBuilder>getTraceletsOrBuilderList()repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;RpcDataStreamTransformationgetTransformations(int index)repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;intgetTransformationsCount()repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;List<RpcDataStreamTransformation>getTransformationsList()repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;RpcDataStreamTransformationOrBuildergetTransformationsOrBuilder(int index)repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;List<? extends RpcDataStreamTransformationOrBuilder>getTransformationsOrBuilderList()repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;StringgetTypes(int index)repeated string types = 2;com.google.protobuf.ByteStringgetTypesBytes(int index)repeated string types = 2;intgetTypesCount()repeated string types = 2;com.google.protobuf.ProtocolStringListgetTypesList()repeated string types = 2;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RpcTrace.BuildernewBuilder()static RpcTrace.BuildernewBuilder(RpcTrace prototype)RpcTrace.BuildernewBuilderForType()protected RpcTrace.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RpcTraceparseDelimitedFrom(InputStream input)static RpcTraceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcTraceparseFrom(byte[] data)static RpcTraceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcTraceparseFrom(com.google.protobuf.ByteString data)static RpcTraceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcTraceparseFrom(com.google.protobuf.CodedInputStream input)static RpcTraceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcTraceparseFrom(InputStream input)static RpcTraceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcTraceparseFrom(ByteBuffer data)static RpcTraceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RpcTrace>parser()RpcTrace.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, 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, 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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPES_FIELD_NUMBER
public static final int TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACELETS_FIELD_NUMBER
public static final int TRACELETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSFORMATIONS_FIELD_NUMBER
public static final int TRANSFORMATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected 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
-
getId
public String getId()
string id = 1;- Specified by:
getIdin interfaceRpcTraceOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1;- Specified by:
getIdBytesin interfaceRpcTraceOrBuilder- Returns:
- The bytes for id.
-
getTypesList
public com.google.protobuf.ProtocolStringList getTypesList()
repeated string types = 2;- Specified by:
getTypesListin interfaceRpcTraceOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()
repeated string types = 2;- Specified by:
getTypesCountin interfaceRpcTraceOrBuilder- Returns:
- The count of types.
-
getTypes
public String getTypes(int index)
repeated string types = 2;- Specified by:
getTypesin interfaceRpcTraceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
getTypesBytes
public com.google.protobuf.ByteString getTypesBytes(int index)
repeated string types = 2;- Specified by:
getTypesBytesin interfaceRpcTraceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the types at the given index.
-
getPropertiesList
public List<RpcTraceProperty> getPropertiesList()
repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;- Specified by:
getPropertiesListin interfaceRpcTraceOrBuilder
-
getPropertiesOrBuilderList
public List<? extends RpcTracePropertyOrBuilder> getPropertiesOrBuilderList()
repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;- Specified by:
getPropertiesOrBuilderListin interfaceRpcTraceOrBuilder
-
getPropertiesCount
public int getPropertiesCount()
repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;- Specified by:
getPropertiesCountin interfaceRpcTraceOrBuilder
-
getProperties
public RpcTraceProperty getProperties(int index)
repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;- Specified by:
getPropertiesin interfaceRpcTraceOrBuilder
-
getPropertiesOrBuilder
public RpcTracePropertyOrBuilder getPropertiesOrBuilder(int index)
repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;- Specified by:
getPropertiesOrBuilderin interfaceRpcTraceOrBuilder
-
getTraceletsList
public List<RpcTracelet> getTraceletsList()
repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;- Specified by:
getTraceletsListin interfaceRpcTraceOrBuilder
-
getTraceletsOrBuilderList
public List<? extends RpcTraceletOrBuilder> getTraceletsOrBuilderList()
repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;- Specified by:
getTraceletsOrBuilderListin interfaceRpcTraceOrBuilder
-
getTraceletsCount
public int getTraceletsCount()
repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;- Specified by:
getTraceletsCountin interfaceRpcTraceOrBuilder
-
getTracelets
public RpcTracelet getTracelets(int index)
repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;- Specified by:
getTraceletsin interfaceRpcTraceOrBuilder
-
getTraceletsOrBuilder
public RpcTraceletOrBuilder getTraceletsOrBuilder(int index)
repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;- Specified by:
getTraceletsOrBuilderin interfaceRpcTraceOrBuilder
-
getTransformationsList
public List<RpcDataStreamTransformation> getTransformationsList()
repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;- Specified by:
getTransformationsListin interfaceRpcTraceOrBuilder
-
getTransformationsOrBuilderList
public List<? extends RpcDataStreamTransformationOrBuilder> getTransformationsOrBuilderList()
repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;- Specified by:
getTransformationsOrBuilderListin interfaceRpcTraceOrBuilder
-
getTransformationsCount
public int getTransformationsCount()
repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;- Specified by:
getTransformationsCountin interfaceRpcTraceOrBuilder
-
getTransformations
public RpcDataStreamTransformation getTransformations(int index)
repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;- Specified by:
getTransformationsin interfaceRpcTraceOrBuilder
-
getTransformationsOrBuilder
public RpcDataStreamTransformationOrBuilder getTransformationsOrBuilder(int index)
repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;- Specified by:
getTransformationsOrBuilderin interfaceRpcTraceOrBuilder
-
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 IOException- 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
public boolean equals(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 RpcTrace parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcTrace parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcTrace parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcTrace parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcTrace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcTrace parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcTrace parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RpcTrace parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RpcTrace parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RpcTrace parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RpcTrace parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RpcTrace parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RpcTrace.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RpcTrace.Builder newBuilder()
-
newBuilder
public static RpcTrace.Builder newBuilder(RpcTrace prototype)
-
toBuilder
public RpcTrace.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RpcTrace.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RpcTrace getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RpcTrace> parser()
-
getParserForType
public com.google.protobuf.Parser<RpcTrace> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RpcTrace getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-