public static final class Storage.SplitReadStreamRequest.Builder extends GeneratedMessage.Builder<Storage.SplitReadStreamRequest.Builder> implements Storage.SplitReadStreamRequestOrBuilder Request information for SplitReadStream.
Protobuf type google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Storage.SplitReadStreamRequest.BuilderImplements
Storage.SplitReadStreamRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Storage.SplitReadStreamRequest build()| Returns | |
|---|---|
| Type | Description |
Storage.SplitReadStreamRequest |
|
buildPartial()
public Storage.SplitReadStreamRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
Storage.SplitReadStreamRequest |
|
clear()
public Storage.SplitReadStreamRequest.Builder clear()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
Storage.SplitReadStreamRequest.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
Storage.SplitReadStreamRequest.Builder |
|
getDefaultInstanceForType()
public Storage.SplitReadStreamRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Storage.SplitReadStreamRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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;
| 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 | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the originalStream field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Storage.SplitReadStreamRequest other)
public Storage.SplitReadStreamRequest.Builder mergeFrom(Storage.SplitReadStreamRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
Storage.SplitReadStreamRequest |
| Returns | |
|---|---|
| Type | Description |
Storage.SplitReadStreamRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Storage.SplitReadStreamRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Storage.SplitReadStreamRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Storage.SplitReadStreamRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Storage.Stream |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe fraction to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Storage.Stream |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Storage.Stream.Builder |
| Returns | |
|---|---|
| Type | Description |
Storage.SplitReadStreamRequest.Builder |
|