Interface ClientStats.WindowStatsOrBuilder (3.35.0)

public static interface ClientStats.WindowStatsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvgResponseLatencyMillis()

public abstract 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 abstract 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.

getLongestWaitNoResponseMillis()

public abstract 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 abstract 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.

getRequestsSentCount()

public abstract 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 abstract 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.

getWindowMillis()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.