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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Storage.SplitReadStreamRequest.BuilderImplements
Storage.SplitReadStreamRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage.SplitReadStreamRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
build()
public Storage.SplitReadStreamRequest build()
Type | Description |
Storage.SplitReadStreamRequest |
buildPartial()
public Storage.SplitReadStreamRequest buildPartial()
Type | Description |
Storage.SplitReadStreamRequest |
clear()
public Storage.SplitReadStreamRequest.Builder clear()
Type | Description |
Storage.SplitReadStreamRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public Storage.SplitReadStreamRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
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;
Type | Description |
Storage.SplitReadStreamRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage.SplitReadStreamRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
clearOriginalStream()
public Storage.SplitReadStreamRequest.Builder clearOriginalStream()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Storage.SplitReadStreamRequest.Builder |
clone()
public Storage.SplitReadStreamRequest.Builder clone()
Type | Description |
Storage.SplitReadStreamRequest.Builder |
getDefaultInstanceForType()
public Storage.SplitReadStreamRequest getDefaultInstanceForType()
Type | Description |
Storage.SplitReadStreamRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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];
Type | Description |
Storage.Stream | The originalStream. |
getOriginalStreamBuilder()
public Storage.Stream.Builder getOriginalStreamBuilder()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Storage.Stream.Builder |
getOriginalStreamOrBuilder()
public Storage.StreamOrBuilder getOriginalStreamOrBuilder()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Storage.StreamOrBuilder |
hasOriginalStream()
public boolean hasOriginalStream()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the originalStream field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Storage.SplitReadStreamRequest other)
public Storage.SplitReadStreamRequest.Builder mergeFrom(Storage.SplitReadStreamRequest other)
Name | Description |
other | Storage.SplitReadStreamRequest |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Storage.SplitReadStreamRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Storage.SplitReadStreamRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
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];
Name | Description |
value | Storage.Stream |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage.SplitReadStreamRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Storage.SplitReadStreamRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
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;
Name | Description |
value | float The fraction to set. |
Type | Description |
Storage.SplitReadStreamRequest.Builder | This builder for chaining. |
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];
Name | Description |
value | Storage.Stream |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
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];
Name | Description |
builderForValue | Storage.Stream.Builder |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage.SplitReadStreamRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Storage.SplitReadStreamRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage.SplitReadStreamRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Storage.SplitReadStreamRequest.Builder |