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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAggregate connection metrics over a window interval.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongOptional.longOptional.static ClientStats.WindowStatsstatic final com.google.protobuf.Descriptors.DescriptorlongOptional.longOptional.com.google.protobuf.Parser<ClientStats.WindowStats>longOptional.longOptional.intlongOptional.longOptional.booleanOptional.booleanOptional.inthashCode()booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ClientStats.WindowStats prototype) protected ClientStats.WindowStats.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ClientStats.WindowStatsparseDelimitedFrom(InputStream input) static ClientStats.WindowStatsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientStats.WindowStatsparseFrom(byte[] data) static ClientStats.WindowStatsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientStats.WindowStatsparseFrom(com.google.protobuf.ByteString data) static ClientStats.WindowStatsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientStats.WindowStatsparseFrom(com.google.protobuf.CodedInputStream input) static ClientStats.WindowStatsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientStats.WindowStatsparseFrom(InputStream input) static ClientStats.WindowStatsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientStats.WindowStatsparseFrom(ByteBuffer data) static ClientStats.WindowStatsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ClientStats.WindowStats>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.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:
hasMaxResponseLatencyMillisin interfaceClientStats.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:
getMaxResponseLatencyMillisin interfaceClientStats.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:
hasAvgResponseLatencyMillisin interfaceClientStats.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:
getAvgResponseLatencyMillisin interfaceClientStats.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:
hasLongestWaitNoResponseMillisin interfaceClientStats.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:
getLongestWaitNoResponseMillisin interfaceClientStats.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:
hasRequestsSentCountin interfaceClientStats.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:
getRequestsSentCountin interfaceClientStats.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:
hasResponsesReceivedCountin interfaceClientStats.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:
getResponsesReceivedCountin interfaceClientStats.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:
hasBytesSentCountin interfaceClientStats.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:
getBytesSentCountin interfaceClientStats.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:
hasWindowStartTimeEpochMillisin interfaceClientStats.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:
getWindowStartTimeEpochMillisin interfaceClientStats.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:
hasWindowMillisin interfaceClientStats.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:
getWindowMillisin interfaceClientStats.WindowStatsOrBuilder- Returns:
- The windowMillis.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ClientStats.WindowStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientStats.WindowStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-