Class ClientStats.RequestStats

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.bigquery.storage.v1.ClientStats.RequestStats
All Implemented Interfaces:
ClientStats.RequestStatsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
ClientStats

public static final class ClientStats.RequestStats extends com.google.protobuf.GeneratedMessage implements ClientStats.RequestStatsOrBuilder
 Stats and telemetry data gathered on the client side about a single
 request.
 
Protobuf type google.cloud.bigquery.storage.v1.ClientStats.RequestStats
See Also:
  • Field Details

    • SEND_TIME_MILLIS_FIELD_NUMBER

      public static final int SEND_TIME_MILLIS_FIELD_NUMBER
      See Also:
    • QUEUED_REQUESTS_COUNT_FIELD_NUMBER

      public static final int QUEUED_REQUESTS_COUNT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasSendTimeMillis

      public boolean hasSendTimeMillis()
       Optional. Timestamp indicating when the request was sent over the
       network, expressed in epoch milliseconds.
       
      optional int64 send_time_millis = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSendTimeMillis in interface ClientStats.RequestStatsOrBuilder
      Returns:
      Whether the sendTimeMillis field is set.
    • getSendTimeMillis

      public long getSendTimeMillis()
       Optional. Timestamp indicating when the request was sent over the
       network, expressed in epoch milliseconds.
       
      optional int64 send_time_millis = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSendTimeMillis in interface ClientStats.RequestStatsOrBuilder
      Returns:
      The sendTimeMillis.
    • hasQueuedRequestsCount

      public boolean hasQueuedRequestsCount()
       Optional. Number of pending requests at the moment this request was sent.
       This includes requests waiting to be sent, and those that are inflight.
       
      optional int64 queued_requests_count = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasQueuedRequestsCount in interface ClientStats.RequestStatsOrBuilder
      Returns:
      Whether the queuedRequestsCount field is set.
    • getQueuedRequestsCount

      public long getQueuedRequestsCount()
       Optional. Number of pending requests at the moment this request was sent.
       This includes requests waiting to be sent, and those that are inflight.
       
      optional int64 queued_requests_count = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQueuedRequestsCount in interface ClientStats.RequestStatsOrBuilder
      Returns:
      The queuedRequestsCount.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 ClientStats.RequestStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ClientStats.RequestStats parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static ClientStats.RequestStats parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static ClientStats.RequestStats.Builder newBuilder()
    • newBuilder

      public static ClientStats.RequestStats.Builder newBuilder(ClientStats.RequestStats prototype)
    • toBuilder

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

      protected ClientStats.RequestStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ClientStats.RequestStats getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ClientStats.RequestStats> 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.GeneratedMessage
    • getDefaultInstanceForType

      public ClientStats.RequestStats getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder