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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ClientStats.WindowStats.Builder newBuilder()
newBuilder(ClientStats.WindowStats prototype)
public static ClientStats.WindowStats.Builder newBuilder(ClientStats.WindowStats prototype)
public static ClientStats.WindowStats parseDelimitedFrom(InputStream input)
public static ClientStats.WindowStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ClientStats.WindowStats parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClientStats.WindowStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ClientStats.WindowStats parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClientStats.WindowStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClientStats.WindowStats parseFrom(CodedInputStream input)
public static ClientStats.WindowStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClientStats.WindowStats parseFrom(InputStream input)
public static ClientStats.WindowStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ClientStats.WindowStats parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClientStats.WindowStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ClientStats.WindowStats> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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()
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()
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ClientStats.WindowStats.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ClientStats.WindowStats.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ClientStats.WindowStats.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides