public static final class SplitReadStreamRequest.Builder extends GeneratedMessage.Builder<SplitReadStreamRequest.Builder> implements SplitReadStreamRequestOrBuilder Request message for SplitReadStream.
Protobuf type google.cloud.bigquery.storage.v1.SplitReadStreamRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SplitReadStreamRequest.BuilderImplements
SplitReadStreamRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SplitReadStreamRequest build()| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest |
|
buildPartial()
public SplitReadStreamRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest |
|
clear()
public SplitReadStreamRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest.Builder |
|
clearFraction()
public 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 a data storage boundary on the server side.
double fraction = 2;
| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest.Builder |
This builder for chaining. |
clearName()
public SplitReadStreamRequest.Builder clearName()Required. Name of the stream to split.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SplitReadStreamRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFraction()
public double 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 a data storage boundary on the server side.
double fraction = 2;
| Returns | |
|---|---|
| Type | Description |
double |
The fraction. |
getName()
public String getName()Required. Name of the stream to split.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Name of the stream to split.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SplitReadStreamRequest other)
public SplitReadStreamRequest.Builder mergeFrom(SplitReadStreamRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SplitReadStreamRequest |
| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SplitReadStreamRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SplitReadStreamRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest.Builder |
|
setFraction(double value)
public SplitReadStreamRequest.Builder setFraction(double 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 a data storage boundary on the server side.
double fraction = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe fraction to set. |
| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest.Builder |
This builder for chaining. |
setName(String value)
public SplitReadStreamRequest.Builder setName(String value)Required. Name of the stream to split.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SplitReadStreamRequest.Builder setNameBytes(ByteString value)Required. Name of the stream to split.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SplitReadStreamRequest.Builder |
This builder for chaining. |