Class Storage.SplitReadStreamRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.SplitReadStreamRequest.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.GeneratedMessageV3.Builder<Storage.SplitReadStreamRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.SplitReadStreamRequest.Builder>
      • hasOriginalStream

        public boolean hasOriginalStream()
         Required. Stream to split.
         
        .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasOriginalStream in interface Storage.SplitReadStreamRequestOrBuilder
        Returns:
        Whether the originalStream field is set.
      • clearOriginalStream

        public Storage.SplitReadStreamRequest.Builder clearOriginalStream()
         Required. Stream to split.
         
        .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
      • getOriginalStreamBuilder

        public Storage.Stream.Builder getOriginalStreamBuilder()
         Required. Stream to split.
         
        .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
      • getFraction

        public float getFraction()
         A value in the range (0.0, 1.0) that specifies the fractional point at
         which the original stream should be split. The actual split point is
         evaluated on pre-filtered rows, so if a filter is provided, then there is
         no guarantee that the division of the rows between the new child streams
         will be proportional to this fractional value. Additionally, because the
         server-side unit for assigning data is collections of rows, this fraction
         will always map to to a data storage boundary on the server side.
         
        float fraction = 2;
        Specified by:
        getFraction in interface Storage.SplitReadStreamRequestOrBuilder
        Returns:
        The fraction.
      • setFraction

        public Storage.SplitReadStreamRequest.Builder setFraction​(float value)
         A value in the range (0.0, 1.0) that specifies the fractional point at
         which the original stream should be split. The actual split point is
         evaluated on pre-filtered rows, so if a filter is provided, then there is
         no guarantee that the division of the rows between the new child streams
         will be proportional to this fractional value. Additionally, because the
         server-side unit for assigning data is collections of rows, this fraction
         will always map to to a data storage boundary on the server side.
         
        float fraction = 2;
        Parameters:
        value - The fraction to set.
        Returns:
        This builder for chaining.
      • clearFraction

        public Storage.SplitReadStreamRequest.Builder clearFraction()
         A value in the range (0.0, 1.0) that specifies the fractional point at
         which the original stream should be split. The actual split point is
         evaluated on pre-filtered rows, so if a filter is provided, then there is
         no guarantee that the division of the rows between the new child streams
         will be proportional to this fractional value. Additionally, because the
         server-side unit for assigning data is collections of rows, this fraction
         will always map to to a data storage boundary on the server side.
         
        float fraction = 2;
        Returns:
        This builder for chaining.