Class ClientStats.WindowStats

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.bigquery.storage.v1.ClientStats.WindowStats
All Implemented Interfaces:
ClientStats.WindowStatsOrBuilder, 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.WindowStats extends com.google.protobuf.GeneratedMessage implements ClientStats.WindowStatsOrBuilder
 Aggregate connection metrics over a window interval.
 
Protobuf type google.cloud.bigquery.storage.v1.ClientStats.WindowStats
See Also:
  • Field Details

    • MAX_RESPONSE_LATENCY_MILLIS_FIELD_NUMBER

      public static final int MAX_RESPONSE_LATENCY_MILLIS_FIELD_NUMBER
      See Also:
    • AVG_RESPONSE_LATENCY_MILLIS_FIELD_NUMBER

      public static final int AVG_RESPONSE_LATENCY_MILLIS_FIELD_NUMBER
      See Also:
    • LONGEST_WAIT_NO_RESPONSE_MILLIS_FIELD_NUMBER

      public static final int LONGEST_WAIT_NO_RESPONSE_MILLIS_FIELD_NUMBER
      See Also:
    • REQUESTS_SENT_COUNT_FIELD_NUMBER

      public static final int REQUESTS_SENT_COUNT_FIELD_NUMBER
      See Also:
    • RESPONSES_RECEIVED_COUNT_FIELD_NUMBER

      public static final int RESPONSES_RECEIVED_COUNT_FIELD_NUMBER
      See Also:
    • BYTES_SENT_COUNT_FIELD_NUMBER

      public static final int BYTES_SENT_COUNT_FIELD_NUMBER
      See Also:
    • WINDOW_START_TIME_EPOCH_MILLIS_FIELD_NUMBER

      public static final int WINDOW_START_TIME_EPOCH_MILLIS_FIELD_NUMBER
      See Also:
    • WINDOW_MILLIS_FIELD_NUMBER

      public static final int WINDOW_MILLIS_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
    • hasMaxResponseLatencyMillis

      public boolean hasMaxResponseLatencyMillis()
       Optional. The maximum response latency observed in the window, expressed
       in milliseconds.
       
      optional int64 max_response_latency_millis = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMaxResponseLatencyMillis in interface ClientStats.WindowStatsOrBuilder
      Returns:
      Whether the maxResponseLatencyMillis field is set.
    • getMaxResponseLatencyMillis

      public long getMaxResponseLatencyMillis()
       Optional. The maximum response latency observed in the window, expressed
       in milliseconds.
       
      optional int64 max_response_latency_millis = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaxResponseLatencyMillis in interface ClientStats.WindowStatsOrBuilder
      Returns:
      The maxResponseLatencyMillis.
    • hasAvgResponseLatencyMillis

      public boolean hasAvgResponseLatencyMillis()
       Optional. The average response latency observed in the window, expressed
       in milliseconds.
       
      optional int64 avg_response_latency_millis = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAvgResponseLatencyMillis in interface ClientStats.WindowStatsOrBuilder
      Returns:
      Whether the avgResponseLatencyMillis field is set.
    • getAvgResponseLatencyMillis

      public long getAvgResponseLatencyMillis()
       Optional. The average response latency observed in the window, expressed
       in milliseconds.
       
      optional int64 avg_response_latency_millis = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAvgResponseLatencyMillis in interface ClientStats.WindowStatsOrBuilder
      Returns:
      The avgResponseLatencyMillis.
    • hasLongestWaitNoResponseMillis

      public boolean hasLongestWaitNoResponseMillis()
       Optional. The longest time spent waiting without receiving a response in
       the window. This could exceed max_response_latency_millis because the
       latter is evaluated only when a response is received. Expressed in
       milliseconds.
       
      optional int64 longest_wait_no_response_millis = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasLongestWaitNoResponseMillis in interface ClientStats.WindowStatsOrBuilder
      Returns:
      Whether the longestWaitNoResponseMillis field is set.
    • getLongestWaitNoResponseMillis

      public long getLongestWaitNoResponseMillis()
       Optional. The longest time spent waiting without receiving a response in
       the window. This could exceed max_response_latency_millis because the
       latter is evaluated only when a response is received. Expressed in
       milliseconds.
       
      optional int64 longest_wait_no_response_millis = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLongestWaitNoResponseMillis in interface ClientStats.WindowStatsOrBuilder
      Returns:
      The longestWaitNoResponseMillis.
    • hasRequestsSentCount

      public boolean hasRequestsSentCount()
       Optional. How many requests were sent in the window.
       
      optional int64 requests_sent_count = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasRequestsSentCount in interface ClientStats.WindowStatsOrBuilder
      Returns:
      Whether the requestsSentCount field is set.
    • getRequestsSentCount

      public long getRequestsSentCount()
       Optional. How many requests were sent in the window.
       
      optional int64 requests_sent_count = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestsSentCount in interface ClientStats.WindowStatsOrBuilder
      Returns:
      The requestsSentCount.
    • hasResponsesReceivedCount

      public boolean hasResponsesReceivedCount()
       Optional. How many responses were received in the window.
       
      optional int64 responses_received_count = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasResponsesReceivedCount in interface ClientStats.WindowStatsOrBuilder
      Returns:
      Whether the responsesReceivedCount field is set.
    • getResponsesReceivedCount

      public long getResponsesReceivedCount()
       Optional. How many responses were received in the window.
       
      optional int64 responses_received_count = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResponsesReceivedCount in interface ClientStats.WindowStatsOrBuilder
      Returns:
      The responsesReceivedCount.
    • hasBytesSentCount

      public boolean hasBytesSentCount()
       Optional. How many bytes were sent in the window.
       
      optional int64 bytes_sent_count = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBytesSentCount in interface ClientStats.WindowStatsOrBuilder
      Returns:
      Whether the bytesSentCount field is set.
    • getBytesSentCount

      public long getBytesSentCount()
       Optional. How many bytes were sent in the window.
       
      optional int64 bytes_sent_count = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBytesSentCount in interface ClientStats.WindowStatsOrBuilder
      Returns:
      The bytesSentCount.
    • hasWindowStartTimeEpochMillis

      public boolean hasWindowStartTimeEpochMillis()
       Optional. Start time of the window interval for which these stats are
       aggregated, expressed in epoch milliseconds.
       
      optional int64 window_start_time_epoch_millis = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasWindowStartTimeEpochMillis in interface ClientStats.WindowStatsOrBuilder
      Returns:
      Whether the windowStartTimeEpochMillis field is set.
    • getWindowStartTimeEpochMillis

      public long getWindowStartTimeEpochMillis()
       Optional. Start time of the window interval for which these stats are
       aggregated, expressed in epoch milliseconds.
       
      optional int64 window_start_time_epoch_millis = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWindowStartTimeEpochMillis in interface ClientStats.WindowStatsOrBuilder
      Returns:
      The windowStartTimeEpochMillis.
    • hasWindowMillis

      public boolean hasWindowMillis()
       Optional. Duration of the window interval for which these stats are
       aggregated, expressed in milliseconds.
       
      optional int64 window_millis = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasWindowMillis in interface ClientStats.WindowStatsOrBuilder
      Returns:
      Whether the windowMillis field is set.
    • getWindowMillis

      public long getWindowMillis()
       Optional. Duration of the window interval for which these stats are
       aggregated, expressed in milliseconds.
       
      optional int64 window_millis = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWindowMillis in interface ClientStats.WindowStatsOrBuilder
      Returns:
      The windowMillis.
    • 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.WindowStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static ClientStats.WindowStats 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.WindowStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ClientStats.WindowStats getDefaultInstance()
    • parser

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

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