Class ClientStats.RequestStats.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ClientStats.RequestStats.Builder>
com.google.cloud.bigquery.storage.v1.ClientStats.RequestStats.Builder
All Implemented Interfaces:
ClientStats.RequestStatsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ClientStats.RequestStats

public static final class ClientStats.RequestStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClientStats.RequestStats.Builder> implements ClientStats.RequestStatsOrBuilder
 Stats and telemetry data gathered on the client side about a single
 request.
 
Protobuf type google.cloud.bigquery.storage.v1.ClientStats.RequestStats
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ClientStats.RequestStats.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ClientStats.RequestStats.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ClientStats.RequestStats.Builder>
    • getDefaultInstanceForType

      public ClientStats.RequestStats getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ClientStats.RequestStats build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ClientStats.RequestStats buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ClientStats.RequestStats.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientStats.RequestStats.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ClientStats.RequestStats.Builder>
    • mergeFrom

      public ClientStats.RequestStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientStats.RequestStats.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      hasSendTimeMillis in interface ClientStats.RequestStatsOrBuilder
      Returns:
      Whether the sendTimeMillis field is set.
    • 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];
      Specified by:
      getSendTimeMillis in interface ClientStats.RequestStatsOrBuilder
      Returns:
      The sendTimeMillis.
    • setSendTimeMillis

      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];
      Parameters:
      value - The sendTimeMillis to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      hasQueuedRequestsCount in interface ClientStats.RequestStatsOrBuilder
      Returns:
      Whether the queuedRequestsCount field is set.
    • 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];
      Specified by:
      getQueuedRequestsCount in interface ClientStats.RequestStatsOrBuilder
      Returns:
      The queuedRequestsCount.
    • setQueuedRequestsCount

      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];
      Parameters:
      value - The queuedRequestsCount to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.