public static final class ClientStats.RequestStats.Builder extends GeneratedMessage.Builder<ClientStats.RequestStats.Builder> implements ClientStats.RequestStatsOrBuilderStats and telemetry data gathered on the client side about a single request.
Protobuf type google.cloud.bigquery.storage.v1.ClientStats.RequestStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ClientStats.RequestStats.BuilderImplements
ClientStats.RequestStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ClientStats.RequestStats build()| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats |
|
buildPartial()
public ClientStats.RequestStats buildPartial()| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats |
|
clear()
public ClientStats.RequestStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats.Builder |
|
clearQueuedRequestsCount()
public ClientStats.RequestStats.Builder clearQueuedRequestsCount()Optional. Number of pending requests at the moment this request was sent. This includes requests waiting to be sent, and those that are inflight.
optional int64 queued_requests_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats.Builder |
This builder for chaining. |
clearSendTimeMillis()
public ClientStats.RequestStats.Builder clearSendTimeMillis()Optional. Timestamp indicating when the request was sent over the network, expressed in epoch milliseconds.
optional int64 send_time_millis = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ClientStats.RequestStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getQueuedRequestsCount()
public long getQueuedRequestsCount()Optional. Number of pending requests at the moment this request was sent. This includes requests waiting to be sent, and those that are inflight.
optional int64 queued_requests_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The queuedRequestsCount. |
getSendTimeMillis()
public long getSendTimeMillis()Optional. Timestamp indicating when the request was sent over the network, expressed in epoch milliseconds.
optional int64 send_time_millis = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The sendTimeMillis. |
hasQueuedRequestsCount()
public boolean hasQueuedRequestsCount()Optional. Number of pending requests at the moment this request was sent. This includes requests waiting to be sent, and those that are inflight.
optional int64 queued_requests_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the queuedRequestsCount field is set. |
hasSendTimeMillis()
public boolean hasSendTimeMillis()Optional. Timestamp indicating when the request was sent over the network, expressed in epoch milliseconds.
optional int64 send_time_millis = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sendTimeMillis field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ClientStats.RequestStats other)
public ClientStats.RequestStats.Builder mergeFrom(ClientStats.RequestStats other)| Parameter | |
|---|---|
| Name | Description |
other |
ClientStats.RequestStats |
| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClientStats.RequestStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ClientStats.RequestStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats.Builder |
|
setQueuedRequestsCount(long value)
public ClientStats.RequestStats.Builder setQueuedRequestsCount(long value)Optional. Number of pending requests at the moment this request was sent. This includes requests waiting to be sent, and those that are inflight.
optional int64 queued_requests_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe queuedRequestsCount to set. |
| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats.Builder |
This builder for chaining. |
setSendTimeMillis(long value)
public ClientStats.RequestStats.Builder setSendTimeMillis(long value)Optional. Timestamp indicating when the request was sent over the network, expressed in epoch milliseconds.
optional int64 send_time_millis = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe sendTimeMillis to set. |
| Returns | |
|---|---|
| Type | Description |
ClientStats.RequestStats.Builder |
This builder for chaining. |