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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeskywalking.v3.ServiceMeshMetricNested 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 ServiceMeshMetricstatic final com.google.protobuf.Descriptors.Descriptorstring destServiceInstance = 6;com.google.protobuf.ByteStringstring destServiceInstance = 6;string destServiceName = 5;com.google.protobuf.ByteStringstring destServiceName = 5;.skywalking.v3.DetectPoint detectPoint = 12;int.skywalking.v3.DetectPoint detectPoint = 12;string endpoint = 7;com.google.protobuf.ByteStringstring endpoint = 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.intint32 latency = 8;com.google.protobuf.Parser<ServiceMeshMetric>.skywalking.v3.Protocol protocol = 11;int.skywalking.v3.Protocol protocol = 11;intint32 responseCode = 9;intstring 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.booleanStatus represents the response status of this calling.getTcp()The tcp detail of the mesh metrics if it's a TCP metrics, otherwise should be empty.The tcp detail of the mesh metrics if it's a TCP metrics, otherwise should be empty.NONE, mTLS, or TLScom.google.protobuf.ByteStringNONE, mTLS, or TLSfinal com.google.protobuf.UnknownFieldSetinthashCode()booleanhasTcp()The tcp detail of the mesh metrics if it's a TCP metrics, otherwise should be empty.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ServiceMeshMetric.Builderstatic ServiceMeshMetric.BuildernewBuilder(ServiceMeshMetric prototype) protected ServiceMeshMetric.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ServiceMeshMetricparseDelimitedFrom(InputStream input) static ServiceMeshMetricparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceMeshMetricparseFrom(byte[] data) static ServiceMeshMetricparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceMeshMetricparseFrom(com.google.protobuf.ByteString data) static ServiceMeshMetricparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceMeshMetricparseFrom(com.google.protobuf.CodedInputStream input) static ServiceMeshMetricparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceMeshMetricparseFrom(InputStream input) static ServiceMeshMetricparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceMeshMetricparseFrom(ByteBuffer data) static ServiceMeshMetricparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ServiceMeshMetric>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:
-
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
- 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 interfaceServiceMeshMetricOrBuilder- 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 interfaceServiceMeshMetricOrBuilder- Returns:
- The endTime.
-
getSourceServiceName
string sourceServiceName = 3;- Specified by:
getSourceServiceNamein interfaceServiceMeshMetricOrBuilder- Returns:
- The sourceServiceName.
-
getSourceServiceNameBytes
public com.google.protobuf.ByteString getSourceServiceNameBytes()string sourceServiceName = 3;- Specified by:
getSourceServiceNameBytesin interfaceServiceMeshMetricOrBuilder- Returns:
- The bytes for sourceServiceName.
-
getSourceServiceInstance
string sourceServiceInstance = 4;- Specified by:
getSourceServiceInstancein interfaceServiceMeshMetricOrBuilder- Returns:
- The sourceServiceInstance.
-
getSourceServiceInstanceBytes
public com.google.protobuf.ByteString getSourceServiceInstanceBytes()string sourceServiceInstance = 4;- Specified by:
getSourceServiceInstanceBytesin interfaceServiceMeshMetricOrBuilder- Returns:
- The bytes for sourceServiceInstance.
-
getDestServiceName
string destServiceName = 5;- Specified by:
getDestServiceNamein interfaceServiceMeshMetricOrBuilder- Returns:
- The destServiceName.
-
getDestServiceNameBytes
public com.google.protobuf.ByteString getDestServiceNameBytes()string destServiceName = 5;- Specified by:
getDestServiceNameBytesin interfaceServiceMeshMetricOrBuilder- Returns:
- The bytes for destServiceName.
-
getDestServiceInstance
string destServiceInstance = 6;- Specified by:
getDestServiceInstancein interfaceServiceMeshMetricOrBuilder- Returns:
- The destServiceInstance.
-
getDestServiceInstanceBytes
public com.google.protobuf.ByteString getDestServiceInstanceBytes()string destServiceInstance = 6;- Specified by:
getDestServiceInstanceBytesin interfaceServiceMeshMetricOrBuilder- Returns:
- The bytes for destServiceInstance.
-
getEndpoint
string endpoint = 7;- Specified by:
getEndpointin interfaceServiceMeshMetricOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()string endpoint = 7;- Specified by:
getEndpointBytesin interfaceServiceMeshMetricOrBuilder- Returns:
- The bytes for endpoint.
-
getLatency
public int getLatency()int32 latency = 8;- Specified by:
getLatencyin interfaceServiceMeshMetricOrBuilder- Returns:
- The latency.
-
getResponseCode
public int getResponseCode()int32 responseCode = 9;- Specified by:
getResponseCodein interfaceServiceMeshMetricOrBuilder- Returns:
- The responseCode.
-
getStatus
public boolean getStatus()Status represents the response status of this calling.
bool status = 10;- Specified by:
getStatusin interfaceServiceMeshMetricOrBuilder- Returns:
- The status.
-
getProtocolValue
public int getProtocolValue().skywalking.v3.Protocol protocol = 11;- Specified by:
getProtocolValuein interfaceServiceMeshMetricOrBuilder- Returns:
- The enum numeric value on the wire for protocol.
-
getProtocol
.skywalking.v3.Protocol protocol = 11;- Specified by:
getProtocolin interfaceServiceMeshMetricOrBuilder- Returns:
- The protocol.
-
getDetectPointValue
public int getDetectPointValue().skywalking.v3.DetectPoint detectPoint = 12;- Specified by:
getDetectPointValuein interfaceServiceMeshMetricOrBuilder- Returns:
- The enum numeric value on the wire for detectPoint.
-
getDetectPoint
.skywalking.v3.DetectPoint detectPoint = 12;- Specified by:
getDetectPointin interfaceServiceMeshMetricOrBuilder- Returns:
- The detectPoint.
-
getTlsMode
NONE, mTLS, or TLS
string tlsMode = 13;- Specified by:
getTlsModein interfaceServiceMeshMetricOrBuilder- Returns:
- The tlsMode.
-
getTlsModeBytes
public com.google.protobuf.ByteString getTlsModeBytes()NONE, mTLS, or TLS
string tlsMode = 13;- Specified by:
getTlsModeBytesin interfaceServiceMeshMetricOrBuilder- 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 = 14;- Specified by:
getInternalErrorCodein interfaceServiceMeshMetricOrBuilder- 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:
getInternalErrorCodeBytesin interfaceServiceMeshMetricOrBuilder- 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:
hasTcpin interfaceServiceMeshMetricOrBuilder- Returns:
- Whether the tcp field is set.
-
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:
getTcpin interfaceServiceMeshMetricOrBuilder- Returns:
- The tcp.
-
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:
getTcpOrBuilderin interfaceServiceMeshMetricOrBuilder
-
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 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
- Throws:
IOException
-
parseFrom
public static ServiceMeshMetric parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- 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 ServiceMeshMetric.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
-