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:
  • 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

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

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields 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
    • 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:
      getStartTime in interface TCPServiceMeshMetricOrBuilder
      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:
      getEndTime in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The endTime.
    • getSourceServiceName

      public String getSourceServiceName()
      string sourceServiceName = 3;
      Specified by:
      getSourceServiceName in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The sourceServiceName.
    • getSourceServiceNameBytes

      public com.google.protobuf.ByteString getSourceServiceNameBytes()
      string sourceServiceName = 3;
      Specified by:
      getSourceServiceNameBytes in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The bytes for sourceServiceName.
    • getSourceServiceInstance

      public String getSourceServiceInstance()
      string sourceServiceInstance = 4;
      Specified by:
      getSourceServiceInstance in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The sourceServiceInstance.
    • getSourceServiceInstanceBytes

      public com.google.protobuf.ByteString getSourceServiceInstanceBytes()
      string sourceServiceInstance = 4;
      Specified by:
      getSourceServiceInstanceBytes in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The bytes for sourceServiceInstance.
    • getDestServiceName

      public String getDestServiceName()
      string destServiceName = 5;
      Specified by:
      getDestServiceName in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The destServiceName.
    • getDestServiceNameBytes

      public com.google.protobuf.ByteString getDestServiceNameBytes()
      string destServiceName = 5;
      Specified by:
      getDestServiceNameBytes in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The bytes for destServiceName.
    • getDestServiceInstance

      public String getDestServiceInstance()
      string destServiceInstance = 6;
      Specified by:
      getDestServiceInstance in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The destServiceInstance.
    • getDestServiceInstanceBytes

      public com.google.protobuf.ByteString getDestServiceInstanceBytes()
      string destServiceInstance = 6;
      Specified by:
      getDestServiceInstanceBytes in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The bytes for destServiceInstance.
    • getDetectPointValue

      public int getDetectPointValue()
      .skywalking.v3.DetectPoint detectPoint = 7;
      Specified by:
      getDetectPointValue in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The enum numeric value on the wire for detectPoint.
    • getDetectPoint

      public DetectPoint getDetectPoint()
      .skywalking.v3.DetectPoint detectPoint = 7;
      Specified by:
      getDetectPoint in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The detectPoint.
    • getTlsMode

      public String getTlsMode()
       NONE, mTLS, or TLS
       
      string tlsMode = 8;
      Specified by:
      getTlsMode in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The tlsMode.
    • getTlsModeBytes

      public com.google.protobuf.ByteString getTlsModeBytes()
       NONE, mTLS, or TLS
       
      string tlsMode = 8;
      Specified by:
      getTlsModeBytes in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The bytes for tlsMode.
    • getInternalErrorCode

      public String 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:
      getInternalErrorCode in interface TCPServiceMeshMetricOrBuilder
      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:
      getInternalErrorCodeBytes in interface TCPServiceMeshMetricOrBuilder
      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:
      getInternalRequestLatencyNanos in interface TCPServiceMeshMetricOrBuilder
      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:
      getInternalResponseLatencyNanos in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The internalResponseLatencyNanos.
    • getSourceInstancePropertiesList

      public List<KeyStringValuePair> getSourceInstancePropertiesList()
      repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;
      Specified by:
      getSourceInstancePropertiesList in interface TCPServiceMeshMetricOrBuilder
    • getSourceInstancePropertiesOrBuilderList

      public List<? extends KeyStringValuePairOrBuilder> getSourceInstancePropertiesOrBuilderList()
      repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;
      Specified by:
      getSourceInstancePropertiesOrBuilderList in interface TCPServiceMeshMetricOrBuilder
    • getSourceInstancePropertiesCount

      public int getSourceInstancePropertiesCount()
      repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;
      Specified by:
      getSourceInstancePropertiesCount in interface TCPServiceMeshMetricOrBuilder
    • getSourceInstanceProperties

      public KeyStringValuePair getSourceInstanceProperties(int index)
      repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;
      Specified by:
      getSourceInstanceProperties in interface TCPServiceMeshMetricOrBuilder
    • getSourceInstancePropertiesOrBuilder

      public KeyStringValuePairOrBuilder getSourceInstancePropertiesOrBuilder(int index)
      repeated .skywalking.v3.KeyStringValuePair sourceInstanceProperties = 12;
      Specified by:
      getSourceInstancePropertiesOrBuilder in interface TCPServiceMeshMetricOrBuilder
    • getDestInstancePropertiesList

      public List<KeyStringValuePair> getDestInstancePropertiesList()
      repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;
      Specified by:
      getDestInstancePropertiesList in interface TCPServiceMeshMetricOrBuilder
    • getDestInstancePropertiesOrBuilderList

      public List<? extends KeyStringValuePairOrBuilder> getDestInstancePropertiesOrBuilderList()
      repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;
      Specified by:
      getDestInstancePropertiesOrBuilderList in interface TCPServiceMeshMetricOrBuilder
    • getDestInstancePropertiesCount

      public int getDestInstancePropertiesCount()
      repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;
      Specified by:
      getDestInstancePropertiesCount in interface TCPServiceMeshMetricOrBuilder
    • getDestInstanceProperties

      public KeyStringValuePair getDestInstanceProperties(int index)
      repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;
      Specified by:
      getDestInstanceProperties in interface TCPServiceMeshMetricOrBuilder
    • getDestInstancePropertiesOrBuilder

      public KeyStringValuePairOrBuilder getDestInstancePropertiesOrBuilder(int index)
      repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 13;
      Specified by:
      getDestInstancePropertiesOrBuilder in interface TCPServiceMeshMetricOrBuilder
    • getReceivedBytes

      public long getReceivedBytes()
       The received data in bytes
       
      int64 receivedBytes = 14;
      Specified by:
      getReceivedBytes in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The receivedBytes.
    • getSentBytes

      public long getSentBytes()
       The sent data in bytes
       
      int64 sentBytes = 15;
      Specified by:
      getSentBytes in interface TCPServiceMeshMetricOrBuilder
      Returns:
      The sentBytes.
    • 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 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

      public static TCPServiceMeshMetric parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TCPServiceMeshMetric parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TCPServiceMeshMetric parseDelimitedFrom(InputStream input) throws IOException
      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

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

      public static TCPServiceMeshMetric.Builder newBuilder()
    • newBuilder

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

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

      protected TCPServiceMeshMetric.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static TCPServiceMeshMetric getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TCPServiceMeshMetric> parser()
    • getParserForType

      public com.google.protobuf.Parser<TCPServiceMeshMetric> 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 TCPServiceMeshMetric getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder