Class Storage.Progress.Builder

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

public static final class Storage.Progress.Builder extends com.google.protobuf.GeneratedMessage.Builder<Storage.Progress.Builder> implements Storage.ProgressOrBuilder
Protobuf type google.cloud.bigquery.storage.v1beta1.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.
    float
    Similar to `at_response_start`, except that this value includes the rows in the current response.
    float
    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(float value)
    Similar to `at_response_start`, except that this value includes the rows in the current response.
    setAtResponseStart(float 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<Storage.Progress.Builder>
    • clear

      public Storage.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<Storage.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<Storage.Progress.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Storage.Progress.Builder mergeFrom(Storage.Progress other)
    • isInitialized

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

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

      public float 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.
       
      float at_response_start = 1;
      Specified by:
      getAtResponseStart in interface Storage.ProgressOrBuilder
      Returns:
      The atResponseStart.
    • setAtResponseStart

      public Storage.Progress.Builder setAtResponseStart(float 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.
       
      float at_response_start = 1;
      Parameters:
      value - The atResponseStart to set.
      Returns:
      This builder for chaining.
    • clearAtResponseStart

      public Storage.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.
       
      float at_response_start = 1;
      Returns:
      This builder for chaining.
    • getAtResponseEnd

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

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

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