Class ServiceMeshMetric

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public com.google.protobuf.ByteString getTlsModeBytes()
       NONE, mTLS, or TLS
       
      string tlsMode = 13;
      Specified by:
      getTlsModeBytes in interface ServiceMeshMetricOrBuilder
      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 ServiceMeshMetricOrBuilder
      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 ServiceMeshMetricOrBuilder
      Returns:
      The bytes for internalErrorCode.
    • hasTcp

      public boolean hasTcp()
       The tcp detail of the mesh metrics if it's a TCP metrics, otherwise should be empty.
       
      .skywalking.v3.TCPInfo tcp = 15;
      Specified by:
      hasTcp in interface ServiceMeshMetricOrBuilder
      Returns:
      Whether the tcp field is set.
    • getTcp

      public TCPInfo getTcp()
       The tcp detail of the mesh metrics if it's a TCP metrics, otherwise should be empty.
       
      .skywalking.v3.TCPInfo tcp = 15;
      Specified by:
      getTcp in interface ServiceMeshMetricOrBuilder
      Returns:
      The tcp.
    • getTcpOrBuilder

      public TCPInfoOrBuilder getTcpOrBuilder()
       The tcp detail of the mesh metrics if it's a TCP metrics, otherwise should be empty.
       
      .skywalking.v3.TCPInfo tcp = 15;
      Specified by:
      getTcpOrBuilder in interface ServiceMeshMetricOrBuilder
    • 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 ServiceMeshMetric parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ServiceMeshMetric.Builder newBuilder()
    • newBuilder

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

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

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

      public static ServiceMeshMetric getDefaultInstance()
    • parser

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

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