Class RequestMessages.MonitorData

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.seeq.link.messages.connector.request.RequestMessages.MonitorData
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RequestMessages.MonitorDataOrBuilder, Serializable
Enclosing class:
RequestMessages

public static final class RequestMessages.MonitorData extends com.google.protobuf.GeneratedMessageV3 implements RequestMessages.MonitorDataOrBuilder
Protobuf type com.seeq.link.messages.connector.request.MonitorData
See Also:
  • Field Details

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

      public boolean hasRequestNanos()
       Total time in nanoseconds between when the message was received by the agent and when a response is sent.
       
      optional int64 requestNanos = 1;
      Specified by:
      hasRequestNanos in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      Whether the requestNanos field is set.
    • getRequestNanos

      public long getRequestNanos()
       Total time in nanoseconds between when the message was received by the agent and when a response is sent.
       
      optional int64 requestNanos = 1;
      Specified by:
      getRequestNanos in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      The requestNanos.
    • hasQueueNanos

      public boolean hasQueueNanos()
       Time in nanoseconds that the request spent in a queue.
       
      optional int64 queueNanos = 2;
      Specified by:
      hasQueueNanos in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      Whether the queueNanos field is set.
    • getQueueNanos

      public long getQueueNanos()
       Time in nanoseconds that the request spent in a queue.
       
      optional int64 queueNanos = 2;
      Specified by:
      getQueueNanos in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      The queueNanos.
    • hasDatasourceNanos

      public boolean hasDatasourceNanos()
       Time in nanoseconds spent waiting for data from the datasource. This time should try and measure as little of
       the agent and connection internals as possible.
       
      optional int64 datasourceNanos = 3;
      Specified by:
      hasDatasourceNanos in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      Whether the datasourceNanos field is set.
    • getDatasourceNanos

      public long getDatasourceNanos()
       Time in nanoseconds spent waiting for data from the datasource. This time should try and measure as little of
       the agent and connection internals as possible.
       
      optional int64 datasourceNanos = 3;
      Specified by:
      getDatasourceNanos in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      The datasourceNanos.
    • hasDatumCount

      public boolean hasDatumCount()
       Number of datums retrieved
       
      optional int32 datumCount = 4;
      Specified by:
      hasDatumCount in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      Whether the datumCount field is set.
    • getDatumCount

      public int getDatumCount()
       Number of datums retrieved
       
      optional int32 datumCount = 4;
      Specified by:
      getDatumCount in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      The datumCount.
    • hasFirstDatumKey

      public boolean hasFirstDatumKey()
       First and last key for the datums. This is useful to get statistics about datums / unit of time, which gives
       us a measure of the actual frequency/period of the data.
       
      optional int64 firstDatumKey = 5;
      Specified by:
      hasFirstDatumKey in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      Whether the firstDatumKey field is set.
    • getFirstDatumKey

      public long getFirstDatumKey()
       First and last key for the datums. This is useful to get statistics about datums / unit of time, which gives
       us a measure of the actual frequency/period of the data.
       
      optional int64 firstDatumKey = 5;
      Specified by:
      getFirstDatumKey in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      The firstDatumKey.
    • hasLastDatumKey

      public boolean hasLastDatumKey()
      optional int64 lastDatumKey = 6;
      Specified by:
      hasLastDatumKey in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      Whether the lastDatumKey field is set.
    • getLastDatumKey

      public long getLastDatumKey()
      optional int64 lastDatumKey = 6;
      Specified by:
      getLastDatumKey in interface RequestMessages.MonitorDataOrBuilder
      Returns:
      The lastDatumKey.
    • 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 RequestMessages.MonitorData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static RequestMessages.MonitorData parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static RequestMessages.MonitorData parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static RequestMessages.MonitorData.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static RequestMessages.MonitorData getDefaultInstance()
    • parser

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

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