java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.skywalking.apm.network.language.agent.v3.MeterData
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, MeterDataOrBuilder

public final class MeterData extends com.google.protobuf.GeneratedMessageV3 implements MeterDataOrBuilder
 Single meter data, if the same metrics have a different label, they will separate.
 
Protobuf type skywalking.v3.MeterData
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Single meter data, if the same metrics have a different label, they will separate.
    static enum 
     

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static MeterData
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    .skywalking.v3.MeterHistogram histogram = 2;
    .skywalking.v3.MeterHistogram histogram = 2;
     
    com.google.protobuf.Parser<MeterData>
     
    int
     
    Service name, be set value in the first element in the stream-call.
    com.google.protobuf.ByteString
    Service name, be set value in the first element in the stream-call.
    Service instance name, be set value in the first element in the stream-call.
    com.google.protobuf.ByteString
    Service instance name, be set value in the first element in the stream-call.
    .skywalking.v3.MeterSingleValue singleValue = 1;
    .skywalking.v3.MeterSingleValue singleValue = 1;
    long
    Meter data report time, be set value in the first element in the stream-call.
    final com.google.protobuf.UnknownFieldSet
     
    int
     
    boolean
    .skywalking.v3.MeterHistogram histogram = 2;
    boolean
    .skywalking.v3.MeterSingleValue singleValue = 1;
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(MeterData prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static MeterData
     
    static MeterData
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static MeterData
    parseFrom(byte[] data)
     
    static MeterData
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static MeterData
    parseFrom(com.google.protobuf.ByteString data)
     
    static MeterData
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static MeterData
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static MeterData
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static MeterData
     
    static MeterData
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static MeterData
     
    static MeterData
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<MeterData>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • Field Details

    • SINGLEVALUE_FIELD_NUMBER

      public static final int SINGLEVALUE_FIELD_NUMBER
      See Also:
    • HISTOGRAM_FIELD_NUMBER

      public static final int HISTOGRAM_FIELD_NUMBER
      See Also:
    • SERVICE_FIELD_NUMBER

      public static final int SERVICE_FIELD_NUMBER
      See Also:
    • SERVICEINSTANCE_FIELD_NUMBER

      public static final int SERVICEINSTANCE_FIELD_NUMBER
      See Also:
    • TIMESTAMP_FIELD_NUMBER

      public static final int TIMESTAMP_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
    • getMetricCase

      public MeterData.MetricCase getMetricCase()
      Specified by:
      getMetricCase in interface MeterDataOrBuilder
    • hasSingleValue

      public boolean hasSingleValue()
      .skywalking.v3.MeterSingleValue singleValue = 1;
      Specified by:
      hasSingleValue in interface MeterDataOrBuilder
      Returns:
      Whether the singleValue field is set.
    • getSingleValue

      public MeterSingleValue getSingleValue()
      .skywalking.v3.MeterSingleValue singleValue = 1;
      Specified by:
      getSingleValue in interface MeterDataOrBuilder
      Returns:
      The singleValue.
    • getSingleValueOrBuilder

      public MeterSingleValueOrBuilder getSingleValueOrBuilder()
      .skywalking.v3.MeterSingleValue singleValue = 1;
      Specified by:
      getSingleValueOrBuilder in interface MeterDataOrBuilder
    • hasHistogram

      public boolean hasHistogram()
      .skywalking.v3.MeterHistogram histogram = 2;
      Specified by:
      hasHistogram in interface MeterDataOrBuilder
      Returns:
      Whether the histogram field is set.
    • getHistogram

      public MeterHistogram getHistogram()
      .skywalking.v3.MeterHistogram histogram = 2;
      Specified by:
      getHistogram in interface MeterDataOrBuilder
      Returns:
      The histogram.
    • getHistogramOrBuilder

      public MeterHistogramOrBuilder getHistogramOrBuilder()
      .skywalking.v3.MeterHistogram histogram = 2;
      Specified by:
      getHistogramOrBuilder in interface MeterDataOrBuilder
    • getService

      public String getService()
       Service name, be set value in the first element in the stream-call.
       
      string service = 3;
      Specified by:
      getService in interface MeterDataOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
       Service name, be set value in the first element in the stream-call.
       
      string service = 3;
      Specified by:
      getServiceBytes in interface MeterDataOrBuilder
      Returns:
      The bytes for service.
    • getServiceInstance

      public String getServiceInstance()
       Service instance name, be set value in the first element in the stream-call.
       
      string serviceInstance = 4;
      Specified by:
      getServiceInstance in interface MeterDataOrBuilder
      Returns:
      The serviceInstance.
    • getServiceInstanceBytes

      public com.google.protobuf.ByteString getServiceInstanceBytes()
       Service instance name, be set value in the first element in the stream-call.
       
      string serviceInstance = 4;
      Specified by:
      getServiceInstanceBytes in interface MeterDataOrBuilder
      Returns:
      The bytes for serviceInstance.
    • getTimestamp

      public long getTimestamp()
       Meter data report time, be set value in the first element in the stream-call.
       
      int64 timestamp = 5;
      Specified by:
      getTimestamp in interface MeterDataOrBuilder
      Returns:
      The timestamp.
    • 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 MeterData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static MeterData.Builder newBuilder()
    • newBuilder

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

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

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

      public static MeterData getDefaultInstance()
    • parser

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

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