Class ClientStats.WindowStats (3.35.0)

public static final class ClientStats.WindowStats extends GeneratedMessage implements ClientStats.WindowStatsOrBuilder

Aggregate connection metrics over a window interval.

Protobuf type google.cloud.bigquery.storage.v1.ClientStats.WindowStats

Static Fields

AVG_RESPONSE_LATENCY_MILLIS_FIELD_NUMBER

public static final int AVG_RESPONSE_LATENCY_MILLIS_FIELD_NUMBER
Field Value
Type Description
int

BYTES_SENT_COUNT_FIELD_NUMBER

public static final int BYTES_SENT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

LONGEST_WAIT_NO_RESPONSE_MILLIS_FIELD_NUMBER

public static final int LONGEST_WAIT_NO_RESPONSE_MILLIS_FIELD_NUMBER
Field Value
Type Description
int

MAX_RESPONSE_LATENCY_MILLIS_FIELD_NUMBER

public static final int MAX_RESPONSE_LATENCY_MILLIS_FIELD_NUMBER
Field Value
Type Description
int

REQUESTS_SENT_COUNT_FIELD_NUMBER

public static final int REQUESTS_SENT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

RESPONSES_RECEIVED_COUNT_FIELD_NUMBER

public static final int RESPONSES_RECEIVED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

WINDOW_MILLIS_FIELD_NUMBER

public static final int WINDOW_MILLIS_FIELD_NUMBER
Field Value
Type Description
int

WINDOW_START_TIME_EPOCH_MILLIS_FIELD_NUMBER

public static final int WINDOW_START_TIME_EPOCH_MILLIS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClientStats.WindowStats getDefaultInstance()
Returns
Type Description
ClientStats.WindowStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ClientStats.WindowStats.Builder newBuilder()
Returns
Type Description
ClientStats.WindowStats.Builder

newBuilder(ClientStats.WindowStats prototype)

public static ClientStats.WindowStats.Builder newBuilder(ClientStats.WindowStats prototype)
Parameter
Name Description
prototype ClientStats.WindowStats
Returns
Type Description
ClientStats.WindowStats.Builder

parseDelimitedFrom(InputStream input)

public static ClientStats.WindowStats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientStats.WindowStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ClientStats.WindowStats parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClientStats.WindowStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClientStats.WindowStats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClientStats.WindowStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClientStats.WindowStats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientStats.WindowStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ClientStats.WindowStats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientStats.WindowStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ClientStats.WindowStats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClientStats.WindowStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientStats.WindowStats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ClientStats.WindowStats> parser()
Returns
Type Description
Parser<WindowStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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];

Returns
Type Description
long

The avgResponseLatencyMillis.

getBytesSentCount()

public long getBytesSentCount()

Optional. How many bytes were sent in the window.

optional int64 bytes_sent_count = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The bytesSentCount.

getDefaultInstanceForType()

public ClientStats.WindowStats getDefaultInstanceForType()
Returns
Type Description
ClientStats.WindowStats

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];

Returns
Type Description
long

The longestWaitNoResponseMillis.

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];

Returns
Type Description
long

The maxResponseLatencyMillis.

getParserForType()

public Parser<ClientStats.WindowStats> getParserForType()
Returns
Type Description
Parser<WindowStats>
Overrides

getRequestsSentCount()

public long getRequestsSentCount()

Optional. How many requests were sent in the window.

optional int64 requests_sent_count = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The requestsSentCount.

getResponsesReceivedCount()

public long getResponsesReceivedCount()

Optional. How many responses were received in the window.

optional int64 responses_received_count = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The responsesReceivedCount.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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];

Returns
Type Description
long

The windowMillis.

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];

Returns
Type Description
long

The windowStartTimeEpochMillis.

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];

Returns
Type Description
boolean

Whether the avgResponseLatencyMillis field is set.

hasBytesSentCount()

public boolean hasBytesSentCount()

Optional. How many bytes were sent in the window.

optional int64 bytes_sent_count = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the bytesSentCount field is set.

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];

Returns
Type Description
boolean

Whether the longestWaitNoResponseMillis field is set.

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];

Returns
Type Description
boolean

Whether the maxResponseLatencyMillis field is set.

hasRequestsSentCount()

public boolean hasRequestsSentCount()

Optional. How many requests were sent in the window.

optional int64 requests_sent_count = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the requestsSentCount field is set.

hasResponsesReceivedCount()

public boolean hasResponsesReceivedCount()

Optional. How many responses were received in the window.

optional int64 responses_received_count = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the responsesReceivedCount field is set.

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];

Returns
Type Description
boolean

Whether the windowMillis field is set.

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];

Returns
Type Description
boolean

Whether the windowStartTimeEpochMillis field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ClientStats.WindowStats.Builder newBuilderForType()
Returns
Type Description
ClientStats.WindowStats.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ClientStats.WindowStats.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ClientStats.WindowStats.Builder
Overrides

toBuilder()

public ClientStats.WindowStats.Builder toBuilder()
Returns
Type Description
ClientStats.WindowStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException