Send feedback
Class Storage.SplitReadStreamRequest.Builder (2.24.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.24.0 keyboard_arrow_down
public static final class Storage . SplitReadStreamRequest . Builder extends GeneratedMessageV3 . Builder<Storage . SplitReadStreamRequest . Builder > implements Storage . SplitReadStreamRequestOrBuilder
Request information for SplitReadStream
.
Protobuf type google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage . SplitReadStreamRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public Storage . SplitReadStreamRequest build ()
Returns
buildPartial()
public Storage . SplitReadStreamRequest buildPartial ()
Returns
clear()
public Storage . SplitReadStreamRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Storage . SplitReadStreamRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage . SplitReadStreamRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearOriginalStream()
public Storage . SplitReadStreamRequest . Builder clearOriginalStream ()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public Storage . SplitReadStreamRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Storage . SplitReadStreamRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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;
Returns
Type Description float The fraction.
getOriginalStream()
public Storage . Stream getOriginalStream ()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getOriginalStreamBuilder()
public Storage . Stream . Builder getOriginalStreamBuilder ()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getOriginalStreamOrBuilder()
public Storage . StreamOrBuilder getOriginalStreamOrBuilder ()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
hasOriginalStream()
public boolean hasOriginalStream ()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the originalStream field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Storage.SplitReadStreamRequest other)
public Storage . SplitReadStreamRequest . Builder mergeFrom ( Storage . SplitReadStreamRequest other )
Parameter
Returns
public Storage . SplitReadStreamRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Storage . SplitReadStreamRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeOriginalStream(Storage.Stream value)
public Storage . SplitReadStreamRequest . Builder mergeOriginalStream ( Storage . Stream value )
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage . SplitReadStreamRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Storage . SplitReadStreamRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setFraction(float value)
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;
Parameter
Name Description value float
The fraction to set.
Returns
setOriginalStream(Storage.Stream value)
public Storage . SplitReadStreamRequest . Builder setOriginalStream ( Storage . Stream value )
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setOriginalStream(Storage.Stream.Builder builderForValue)
public Storage . SplitReadStreamRequest . Builder setOriginalStream ( Storage . Stream . Builder builderForValue )
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage . SplitReadStreamRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage . SplitReadStreamRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]