Class HTTPServiceMeshMetric

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.skywalking.apm.network.servicemesh.v3.HTTPServiceMeshMetric
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, HTTPServiceMeshMetricOrBuilder

public final class HTTPServiceMeshMetric extends com.google.protobuf.GeneratedMessageV3 implements HTTPServiceMeshMetricOrBuilder
Protobuf type skywalking.v3.HTTPServiceMeshMetric
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:
    • ENDPOINT_FIELD_NUMBER

      public static final int ENDPOINT_FIELD_NUMBER
      See Also:
    • LATENCY_FIELD_NUMBER

      public static final int LATENCY_FIELD_NUMBER
      See Also:
    • RESPONSECODE_FIELD_NUMBER

      public static final int RESPONSECODE_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • PROTOCOL_FIELD_NUMBER

      public static final int PROTOCOL_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:
  • 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 HTTPServiceMeshMetricOrBuilder
      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 HTTPServiceMeshMetricOrBuilder
      Returns:
      The endTime.
    • getSourceServiceName

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

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

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

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

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

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

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

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

      public String getEndpoint()
      string endpoint = 7;
      Specified by:
      getEndpoint in interface HTTPServiceMeshMetricOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
      string endpoint = 7;
      Specified by:
      getEndpointBytes in interface HTTPServiceMeshMetricOrBuilder
      Returns:
      The bytes for endpoint.
    • getLatency

      public int getLatency()
      int32 latency = 8;
      Specified by:
      getLatency in interface HTTPServiceMeshMetricOrBuilder
      Returns:
      The latency.
    • getResponseCode

      public int getResponseCode()
      int32 responseCode = 9;
      Specified by:
      getResponseCode in interface HTTPServiceMeshMetricOrBuilder
      Returns:
      The responseCode.
    • getStatus

      public boolean getStatus()
       Status represents the response status of this calling.
       
      bool status = 10;
      Specified by:
      getStatus in interface HTTPServiceMeshMetricOrBuilder
      Returns:
      The status.
    • getProtocolValue

      public int getProtocolValue()
      .skywalking.v3.Protocol protocol = 11;
      Specified by:
      getProtocolValue in interface HTTPServiceMeshMetricOrBuilder
      Returns:
      The enum numeric value on the wire for protocol.
    • getProtocol

      public Protocol getProtocol()
      .skywalking.v3.Protocol protocol = 11;
      Specified by:
      getProtocol in interface HTTPServiceMeshMetricOrBuilder
      Returns:
      The protocol.
    • getDetectPointValue

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

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

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

      public com.google.protobuf.ByteString getTlsModeBytes()
       NONE, mTLS, or TLS
       
      string tlsMode = 13;
      Specified by:
      getTlsModeBytes in interface HTTPServiceMeshMetricOrBuilder
      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 = 14;
      Specified by:
      getInternalErrorCode in interface HTTPServiceMeshMetricOrBuilder
      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 = 14;
      Specified by:
      getInternalErrorCodeBytes in interface HTTPServiceMeshMetricOrBuilder
      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 = 15;
      Specified by:
      getInternalRequestLatencyNanos in interface HTTPServiceMeshMetricOrBuilder
      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 = 16;
      Specified by:
      getInternalResponseLatencyNanos in interface HTTPServiceMeshMetricOrBuilder
      Returns:
      The internalResponseLatencyNanos.
    • getSourceInstancePropertiesList

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

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

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

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

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

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

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

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

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

      public KeyStringValuePairOrBuilder getDestInstancePropertiesOrBuilder(int index)
      repeated .skywalking.v3.KeyStringValuePair destInstanceProperties = 18;
      Specified by:
      getDestInstancePropertiesOrBuilder in interface HTTPServiceMeshMetricOrBuilder
    • 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 HTTPServiceMeshMetric parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPServiceMeshMetric parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPServiceMeshMetric parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPServiceMeshMetric parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPServiceMeshMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HTTPServiceMeshMetric parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static HTTPServiceMeshMetric parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static HTTPServiceMeshMetric parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HTTPServiceMeshMetric parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static HTTPServiceMeshMetric.Builder newBuilder()
    • newBuilder

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

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

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

      public static HTTPServiceMeshMetric getDefaultInstance()
    • parser

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

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