Class StreamStats.Progress.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamStats.Progress.Builder>
com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder
All Implemented Interfaces:
StreamStats.ProgressOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StreamStats.Progress

public static final class StreamStats.Progress.Builder extends com.google.protobuf.GeneratedMessage.Builder<StreamStats.Progress.Builder> implements StreamStats.ProgressOrBuilder
Protobuf type google.cloud.bigquery.storage.v1beta2.StreamStats.Progress
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Similar to `at_response_start`, except that this value includes the rows in the current response.
    The fraction of rows assigned to the stream that have been processed by the server so far, not including the rows in the current response message.
    double
    Similar to `at_response_start`, except that this value includes the rows in the current response.
    double
    The fraction of rows assigned to the stream that have been processed by the server so far, not including the rows in the current response message.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setAtResponseEnd(double value)
    Similar to `at_response_start`, except that this value includes the rows in the current response.
    setAtResponseStart(double value)
    The fraction of rows assigned to the stream that have been processed by the server so far, not including the rows in the current response message.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<StreamStats.Progress.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<StreamStats.Progress.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<StreamStats.Progress.Builder>
    • getDefaultInstanceForType

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

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

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

      public StreamStats.Progress.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<StreamStats.Progress.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<StreamStats.Progress.Builder>
    • mergeFrom

      public StreamStats.Progress.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<StreamStats.Progress.Builder>
      Throws:
      IOException
    • getAtResponseStart

      public double getAtResponseStart()
       The fraction of rows assigned to the stream that have been processed by
       the server so far, not including the rows in the current response
       message.
      
       This value, along with `at_response_end`, can be used to interpolate
       the progress made as the rows in the message are being processed using
       the following formula: `at_response_start + (at_response_end -
       at_response_start) * rows_processed_from_response / rows_in_response`.
      
       Note that if a filter is provided, the `at_response_end` value of the
       previous response may not necessarily be equal to the
       `at_response_start` value of the current response.
       
      double at_response_start = 1;
      Specified by:
      getAtResponseStart in interface StreamStats.ProgressOrBuilder
      Returns:
      The atResponseStart.
    • setAtResponseStart

      public StreamStats.Progress.Builder setAtResponseStart(double value)
       The fraction of rows assigned to the stream that have been processed by
       the server so far, not including the rows in the current response
       message.
      
       This value, along with `at_response_end`, can be used to interpolate
       the progress made as the rows in the message are being processed using
       the following formula: `at_response_start + (at_response_end -
       at_response_start) * rows_processed_from_response / rows_in_response`.
      
       Note that if a filter is provided, the `at_response_end` value of the
       previous response may not necessarily be equal to the
       `at_response_start` value of the current response.
       
      double at_response_start = 1;
      Parameters:
      value - The atResponseStart to set.
      Returns:
      This builder for chaining.
    • clearAtResponseStart

      public StreamStats.Progress.Builder clearAtResponseStart()
       The fraction of rows assigned to the stream that have been processed by
       the server so far, not including the rows in the current response
       message.
      
       This value, along with `at_response_end`, can be used to interpolate
       the progress made as the rows in the message are being processed using
       the following formula: `at_response_start + (at_response_end -
       at_response_start) * rows_processed_from_response / rows_in_response`.
      
       Note that if a filter is provided, the `at_response_end` value of the
       previous response may not necessarily be equal to the
       `at_response_start` value of the current response.
       
      double at_response_start = 1;
      Returns:
      This builder for chaining.
    • getAtResponseEnd

      public double getAtResponseEnd()
       Similar to `at_response_start`, except that this value includes the
       rows in the current response.
       
      double at_response_end = 2;
      Specified by:
      getAtResponseEnd in interface StreamStats.ProgressOrBuilder
      Returns:
      The atResponseEnd.
    • setAtResponseEnd

      public StreamStats.Progress.Builder setAtResponseEnd(double value)
       Similar to `at_response_start`, except that this value includes the
       rows in the current response.
       
      double at_response_end = 2;
      Parameters:
      value - The atResponseEnd to set.
      Returns:
      This builder for chaining.
    • clearAtResponseEnd

      public StreamStats.Progress.Builder clearAtResponseEnd()
       Similar to `at_response_start`, except that this value includes the
       rows in the current response.
       
      double at_response_end = 2;
      Returns:
      This builder for chaining.