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 ClassesModifier and TypeClassDescriptionstatic final classA 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
FieldsModifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptionbooleanstatic RpcTracestatic final com.google.protobuf.Descriptors.DescriptorgetId()string id = 1;com.google.protobuf.ByteStringstring id = 1;com.google.protobuf.Parser<RpcTrace> getProperties(int index) repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;intrepeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;getPropertiesOrBuilder(int index) repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;List<? extends RpcTracePropertyOrBuilder> repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;intgetTracelets(int index) repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;intrepeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;getTraceletsOrBuilder(int index) repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;List<? extends RpcTraceletOrBuilder> repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;getTransformations(int index) repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;intrepeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;getTransformationsOrBuilder(int index) repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;List<? extends RpcDataStreamTransformationOrBuilder> repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;getTypes(int index) repeated string types = 2;com.google.protobuf.ByteStringgetTypesBytes(int index) repeated string types = 2;intrepeated string types = 2;com.google.protobuf.ProtocolStringListrepeated string types = 2;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic RpcTrace.Builderstatic RpcTrace.BuildernewBuilder(RpcTrace prototype) 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()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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
TYPES_FIELD_NUMBER
public static final int TYPES_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
TRACELETS_FIELD_NUMBER
public static final int TRACELETS_FIELD_NUMBER- See Also:
-
TRANSFORMATIONS_FIELD_NUMBER
public static final int TRANSFORMATIONS_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
-
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
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
repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;- Specified by:
getPropertiesListin interfaceRpcTraceOrBuilder
-
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
repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;- Specified by:
getPropertiesin interfaceRpcTraceOrBuilder
-
getPropertiesOrBuilder
repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3;- Specified by:
getPropertiesOrBuilderin interfaceRpcTraceOrBuilder
-
getTraceletsList
repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;- Specified by:
getTraceletsListin interfaceRpcTraceOrBuilder
-
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
repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;- Specified by:
getTraceletsin interfaceRpcTraceOrBuilder
-
getTraceletsOrBuilder
repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4;- Specified by:
getTraceletsOrBuilderin interfaceRpcTraceOrBuilder
-
getTransformationsList
repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;- Specified by:
getTransformationsListin interfaceRpcTraceOrBuilder
-
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
repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5;- Specified by:
getTransformationsin interfaceRpcTraceOrBuilder
-
getTransformationsOrBuilder
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
- 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 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
- Throws:
IOException
-
parseFrom
public static RpcTrace parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RpcTrace parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RpcTrace 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 RpcTrace.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
-