Class TCPServiceMeshMetric
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.skywalking.apm.network.servicemesh.v3.TCPServiceMeshMetric
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,TCPServiceMeshMetricOrBuilder
public final class TCPServiceMeshMetric
extends com.google.protobuf.GeneratedMessageV3
implements TCPServiceMeshMetricOrBuilder
Protobuf type
skywalking.v3.TCPServiceMeshMetric- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeskywalking.v3.TCPServiceMeshMetricNested 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 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 intstatic final intstatic final intstatic final intstatic 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 TypeMethodDescriptionbooleanstatic TCPServiceMeshMetricstatic final com.google.protobuf.Descriptors.DescriptorgetDestInstanceProperties(int index) repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;intrepeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;getDestInstancePropertiesOrBuilder(int index) repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;List<? extends KeyStringValuePairOrBuilder>repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;string destServiceInstance = 6;com.google.protobuf.ByteStringstring destServiceInstance = 6;string destServiceName = 5;com.google.protobuf.ByteStringstring destServiceName = 5;.skywalking.v3.DetectPoint detectPoint = 7;int.skywalking.v3.DetectPoint detectPoint = 7;longEnd timestamp in milliseconds of this RPC, measured between the current time and midnight, January 1, 1970 UTC.The sidecar/proxy internal error code, the value bases on the implementation.com.google.protobuf.ByteStringThe sidecar/proxy internal error code, the value bases on the implementation.longInternal request(response) latency is the time cost inside the Envoy sidecar proxy.longinternalResponseLatencyNanos = time_to_first_downstream_tx_byte - time_to_first_upstream_rx_byte; | ...com.google.protobuf.Parser<TCPServiceMeshMetric>longThe received data in byteslongThe sent data in bytesintgetSourceInstanceProperties(int index) repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;intrepeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;getSourceInstancePropertiesOrBuilder(int index) repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;List<? extends KeyStringValuePairOrBuilder>repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;string sourceServiceInstance = 4;com.google.protobuf.ByteStringstring sourceServiceInstance = 4;string sourceServiceName = 3;com.google.protobuf.ByteStringstring sourceServiceName = 3;longStart timestamp in milliseconds of this RPC, measured between the current time and midnight, January 1, 1970 UTC.NONE, mTLS, or TLScom.google.protobuf.ByteStringNONE, mTLS, or TLSfinal com.google.protobuf.UnknownFieldSetinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic TCPServiceMeshMetric.Builderstatic TCPServiceMeshMetric.BuildernewBuilder(TCPServiceMeshMetric prototype) protected TCPServiceMeshMetric.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static TCPServiceMeshMetricparseDelimitedFrom(InputStream input) static TCPServiceMeshMetricparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TCPServiceMeshMetricparseFrom(byte[] data) static TCPServiceMeshMetricparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TCPServiceMeshMetricparseFrom(com.google.protobuf.ByteString data) static TCPServiceMeshMetricparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TCPServiceMeshMetricparseFrom(com.google.protobuf.CodedInputStream input) static TCPServiceMeshMetricparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TCPServiceMeshMetricparseFrom(InputStream input) static TCPServiceMeshMetricparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TCPServiceMeshMetricparseFrom(ByteBuffer data) static TCPServiceMeshMetricparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TCPServiceMeshMetric>parser()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, 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, hasField, hasOneof
-
Field Details
-
STARTTIME_FIELD_NUMBER
public static final int STARTTIME_FIELD_NUMBER- See Also:
-
ENDTIME_FIELD_NUMBER
public static final int ENDTIME_FIELD_NUMBER- See Also:
-
SOURCESERVICENAME_FIELD_NUMBER
public static final int SOURCESERVICENAME_FIELD_NUMBER- See Also:
-
SOURCESERVICEINSTANCE_FIELD_NUMBER
public static final int SOURCESERVICEINSTANCE_FIELD_NUMBER- See Also:
-
DESTSERVICENAME_FIELD_NUMBER
public static final int DESTSERVICENAME_FIELD_NUMBER- See Also:
-
DESTSERVICEINSTANCE_FIELD_NUMBER
public static final int DESTSERVICEINSTANCE_FIELD_NUMBER- See Also:
-
DETECTPOINT_FIELD_NUMBER
public static final int DETECTPOINT_FIELD_NUMBER- See Also:
-
TLSMODE_FIELD_NUMBER
public static final int TLSMODE_FIELD_NUMBER- See Also:
-
INTERNALERRORCODE_FIELD_NUMBER
public static final int INTERNALERRORCODE_FIELD_NUMBER- See Also:
-
INTERNALREQUESTLATENCYNANOS_FIELD_NUMBER
public static final int INTERNALREQUESTLATENCYNANOS_FIELD_NUMBER- See Also:
-
INTERNALRESPONSELATENCYNANOS_FIELD_NUMBER
public static final int INTERNALRESPONSELATENCYNANOS_FIELD_NUMBER- See Also:
-
SOURCEINSTANCEPROPERTIES_FIELD_NUMBER
public static final int SOURCEINSTANCEPROPERTIES_FIELD_NUMBER- See Also:
-
DESTINSTANCEPROPERTIES_FIELD_NUMBER
public static final int DESTINSTANCEPROPERTIES_FIELD_NUMBER- See Also:
-
RECEIVEDBYTES_FIELD_NUMBER
public static final int RECEIVEDBYTES_FIELD_NUMBER- See Also:
-
SENTBYTES_FIELD_NUMBER
public static final int SENTBYTES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- 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
-
getStartTime
public long getStartTime()Start timestamp in milliseconds of this RPC, measured between the current time and midnight, January 1, 1970 UTC.
int64 startTime = 1;- Specified by:
getStartTimein interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The startTime.
-
getEndTime
public long getEndTime()End timestamp in milliseconds of this RPC, measured between the current time and midnight, January 1, 1970 UTC.
int64 endTime = 2;- Specified by:
getEndTimein interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The endTime.
-
getSourceServiceName
string sourceServiceName = 3;- Specified by:
getSourceServiceNamein interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The sourceServiceName.
-
getSourceServiceNameBytes
public com.google.protobuf.ByteString getSourceServiceNameBytes()string sourceServiceName = 3;- Specified by:
getSourceServiceNameBytesin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The bytes for sourceServiceName.
-
getSourceServiceInstance
string sourceServiceInstance = 4;- Specified by:
getSourceServiceInstancein interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The sourceServiceInstance.
-
getSourceServiceInstanceBytes
public com.google.protobuf.ByteString getSourceServiceInstanceBytes()string sourceServiceInstance = 4;- Specified by:
getSourceServiceInstanceBytesin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The bytes for sourceServiceInstance.
-
getDestServiceName
string destServiceName = 5;- Specified by:
getDestServiceNamein interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The destServiceName.
-
getDestServiceNameBytes
public com.google.protobuf.ByteString getDestServiceNameBytes()string destServiceName = 5;- Specified by:
getDestServiceNameBytesin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The bytes for destServiceName.
-
getDestServiceInstance
string destServiceInstance = 6;- Specified by:
getDestServiceInstancein interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The destServiceInstance.
-
getDestServiceInstanceBytes
public com.google.protobuf.ByteString getDestServiceInstanceBytes()string destServiceInstance = 6;- Specified by:
getDestServiceInstanceBytesin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The bytes for destServiceInstance.
-
getDetectPointValue
public int getDetectPointValue().skywalking.v3.DetectPoint detectPoint = 7;- Specified by:
getDetectPointValuein interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The enum numeric value on the wire for detectPoint.
-
getDetectPoint
.skywalking.v3.DetectPoint detectPoint = 7;- Specified by:
getDetectPointin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The detectPoint.
-
getTlsMode
NONE, mTLS, or TLS
string tlsMode = 8;- Specified by:
getTlsModein interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The tlsMode.
-
getTlsModeBytes
public com.google.protobuf.ByteString getTlsModeBytes()NONE, mTLS, or TLS
string tlsMode = 8;- Specified by:
getTlsModeBytesin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The bytes for tlsMode.
-
getInternalErrorCode
The sidecar/proxy internal error code, the value bases on the implementation. The envoy internal error codes are listed here, https://www.envoyproxy.io/docs/envoy/latest/api-v2/data/accesslog/v2/accesslog.proto#data-accesslog-v2-responseflags
string internalErrorCode = 9;- Specified by:
getInternalErrorCodein interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The internalErrorCode.
-
getInternalErrorCodeBytes
public com.google.protobuf.ByteString getInternalErrorCodeBytes()The sidecar/proxy internal error code, the value bases on the implementation. The envoy internal error codes are listed here, https://www.envoyproxy.io/docs/envoy/latest/api-v2/data/accesslog/v2/accesslog.proto#data-accesslog-v2-responseflags
string internalErrorCode = 9;- Specified by:
getInternalErrorCodeBytesin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The bytes for internalErrorCode.
-
getInternalRequestLatencyNanos
public long getInternalRequestLatencyNanos()Internal request(response) latency is the time cost inside the Envoy sidecar proxy. For more details, check https://www.envoyproxy.io/docs/envoy/v1.22.0/api-v3/data/accesslog/v3/accesslog.proto.html#data-accesslog-v3-accesslogcommon. internalRequestLatencyNanos is the interval between the first downstream byte received and the first upstream byte sent
int64 internalRequestLatencyNanos = 10;- Specified by:
getInternalRequestLatencyNanosin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The internalRequestLatencyNanos.
-
getInternalResponseLatencyNanos
public long getInternalResponseLatencyNanos()internalResponseLatencyNanos = time_to_first_downstream_tx_byte - time_to_first_upstream_rx_byte; | ... request workflow ... | upstream | ----- response -----> | proxy | ------- response -------> | client | | time_to_first_upstream_rx_byte | | time_to_last_downstream_tx_byte | | internalResponseLatencyNanos |int64 internalResponseLatencyNanos = 11;- Specified by:
getInternalResponseLatencyNanosin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The internalResponseLatencyNanos.
-
getSourceInstancePropertiesList
repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;- Specified by:
getSourceInstancePropertiesListin interfaceTCPServiceMeshMetricOrBuilder
-
getSourceInstancePropertiesOrBuilderList
repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;- Specified by:
getSourceInstancePropertiesOrBuilderListin interfaceTCPServiceMeshMetricOrBuilder
-
getSourceInstancePropertiesCount
public int getSourceInstancePropertiesCount()repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;- Specified by:
getSourceInstancePropertiesCountin interfaceTCPServiceMeshMetricOrBuilder
-
getSourceInstanceProperties
repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;- Specified by:
getSourceInstancePropertiesin interfaceTCPServiceMeshMetricOrBuilder
-
getSourceInstancePropertiesOrBuilder
repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;- Specified by:
getSourceInstancePropertiesOrBuilderin interfaceTCPServiceMeshMetricOrBuilder
-
getDestInstancePropertiesList
repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;- Specified by:
getDestInstancePropertiesListin interfaceTCPServiceMeshMetricOrBuilder
-
getDestInstancePropertiesOrBuilderList
repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;- Specified by:
getDestInstancePropertiesOrBuilderListin interfaceTCPServiceMeshMetricOrBuilder
-
getDestInstancePropertiesCount
public int getDestInstancePropertiesCount()repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;- Specified by:
getDestInstancePropertiesCountin interfaceTCPServiceMeshMetricOrBuilder
-
getDestInstanceProperties
repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;- Specified by:
getDestInstancePropertiesin interfaceTCPServiceMeshMetricOrBuilder
-
getDestInstancePropertiesOrBuilder
repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;- Specified by:
getDestInstancePropertiesOrBuilderin interfaceTCPServiceMeshMetricOrBuilder
-
getReceivedBytes
public long getReceivedBytes()The received data in bytes
int64 receivedBytes = 14;- Specified by:
getReceivedBytesin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The receivedBytes.
-
getSentBytes
public long getSentBytes()The sent data in bytes
int64 sentBytes = 15;- Specified by:
getSentBytesin interfaceTCPServiceMeshMetricOrBuilder- Returns:
- The sentBytes.
-
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 TCPServiceMeshMetric parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TCPServiceMeshMetric parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TCPServiceMeshMetric parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TCPServiceMeshMetric parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TCPServiceMeshMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TCPServiceMeshMetric parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TCPServiceMeshMetric parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TCPServiceMeshMetric parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TCPServiceMeshMetric parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TCPServiceMeshMetric 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 TCPServiceMeshMetric.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
-