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 type org.hansken.extraction.plugin.grpc.RpcTrace
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A 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<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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static RpcTrace
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    string id = 1;
    com.google.protobuf.ByteString
    string id = 1;
    com.google.protobuf.Parser<RpcTrace>
     
    getProperties(int index)
    repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;
    int
    repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;
    repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;
    repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;
    repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;
    int
     
    getTracelets(int index)
    repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;
    int
    repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;
    repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;
    repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;
    repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;
    getTransformations(int index)
    repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;
    int
    repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;
    repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;
    repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;
    repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;
    getTypes(int index)
    repeated string types = 2;
    com.google.protobuf.ByteString
    getTypesBytes(int index)
    repeated string types = 2;
    int
    repeated string types = 2;
    com.google.protobuf.ProtocolStringList
    repeated string types = 2;
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(RpcTrace prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static RpcTrace
     
    static RpcTrace
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static RpcTrace
    parseFrom(byte[] data)
     
    static RpcTrace
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static RpcTrace
    parseFrom(com.google.protobuf.ByteString data)
     
    static RpcTrace
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static RpcTrace
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static RpcTrace
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static RpcTrace
     
    static RpcTrace
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static RpcTrace
     
    static RpcTrace
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<RpcTrace>
     
     
    void
    writeTo(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, 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

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getId

      public String getId()
      string id = 1;
      Specified by:
      getId in interface RpcTraceOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1;
      Specified by:
      getIdBytes in interface RpcTraceOrBuilder
      Returns:
      The bytes for id.
    • getTypesList

      public com.google.protobuf.ProtocolStringList getTypesList()
      repeated string types = 2;
      Specified by:
      getTypesList in interface RpcTraceOrBuilder
      Returns:
      A list containing the types.
    • getTypesCount

      public int getTypesCount()
      repeated string types = 2;
      Specified by:
      getTypesCount in interface RpcTraceOrBuilder
      Returns:
      The count of types.
    • getTypes

      public String getTypes(int index)
      repeated string types = 2;
      Specified by:
      getTypes in interface RpcTraceOrBuilder
      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:
      getTypesBytes in interface RpcTraceOrBuilder
      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:
      getPropertiesList in interface RpcTraceOrBuilder
    • getPropertiesOrBuilderList

      public List<? extends RpcTracePropertyOrBuilder> getPropertiesOrBuilderList()
      repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;
      Specified by:
      getPropertiesOrBuilderList in interface RpcTraceOrBuilder
    • getPropertiesCount

      public int getPropertiesCount()
      repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;
      Specified by:
      getPropertiesCount in interface RpcTraceOrBuilder
    • getProperties

      public RpcTraceProperty getProperties(int index)
      repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;
      Specified by:
      getProperties in interface RpcTraceOrBuilder
    • getPropertiesOrBuilder

      public RpcTracePropertyOrBuilder getPropertiesOrBuilder(int index)
      repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;
      Specified by:
      getPropertiesOrBuilder in interface RpcTraceOrBuilder
    • getTraceletsList

      public List<RpcTracelet> getTraceletsList()
      repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;
      Specified by:
      getTraceletsList in interface RpcTraceOrBuilder
    • getTraceletsOrBuilderList

      public List<? extends RpcTraceletOrBuilder> getTraceletsOrBuilderList()
      repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;
      Specified by:
      getTraceletsOrBuilderList in interface RpcTraceOrBuilder
    • getTraceletsCount

      public int getTraceletsCount()
      repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;
      Specified by:
      getTraceletsCount in interface RpcTraceOrBuilder
    • getTracelets

      public RpcTracelet getTracelets(int index)
      repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;
      Specified by:
      getTracelets in interface RpcTraceOrBuilder
    • getTraceletsOrBuilder

      public RpcTraceletOrBuilder getTraceletsOrBuilder(int index)
      repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;
      Specified by:
      getTraceletsOrBuilder in interface RpcTraceOrBuilder
    • getTransformationsList

      public List<RpcDataStreamTransformation> getTransformationsList()
      repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;
      Specified by:
      getTransformationsList in interface RpcTraceOrBuilder
    • getTransformationsOrBuilderList

      public List<? extends RpcDataStreamTransformationOrBuilder> getTransformationsOrBuilderList()
      repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;
      Specified by:
      getTransformationsOrBuilderList in interface RpcTraceOrBuilder
    • getTransformationsCount

      public int getTransformationsCount()
      repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;
      Specified by:
      getTransformationsCount in interface RpcTraceOrBuilder
    • getTransformations

      public RpcDataStreamTransformation getTransformations(int index)
      repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;
      Specified by:
      getTransformations in interface RpcTraceOrBuilder
    • getTransformationsOrBuilder

      public RpcDataStreamTransformationOrBuilder getTransformationsOrBuilder(int index)
      repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;
      Specified by:
      getTransformationsOrBuilder in interface RpcTraceOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RpcTrace.Builder newBuilder()
    • newBuilder

      public static RpcTrace.Builder newBuilder(RpcTrace prototype)
    • toBuilder

      public RpcTrace.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RpcTrace.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public RpcTrace getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder