public static final class SplitReadStreamRequest.Builder extends GeneratedMessageV3.Builder<SplitReadStreamRequest.Builder> implements SplitReadStreamRequestOrBuilder
Request message for SplitReadStream
.
Protobuf type google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SplitReadStreamRequest.BuilderImplements
SplitReadStreamRequestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SplitReadStreamRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SplitReadStreamRequest.Builder |
build()
public SplitReadStreamRequest build()
Type | Description |
SplitReadStreamRequest |
buildPartial()
public SplitReadStreamRequest buildPartial()
Type | Description |
SplitReadStreamRequest |
clear()
public SplitReadStreamRequest.Builder clear()
Type | Description |
SplitReadStreamRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public SplitReadStreamRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
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) = { ... }
Type | Description |
SplitReadStreamRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SplitReadStreamRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SplitReadStreamRequest.Builder |
clone()
public SplitReadStreamRequest.Builder clone()
Type | Description |
SplitReadStreamRequest.Builder |
getDefaultInstanceForType()
public SplitReadStreamRequest getDefaultInstanceForType()
Type | Description |
SplitReadStreamRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SplitReadStreamRequest other)
public SplitReadStreamRequest.Builder mergeFrom(SplitReadStreamRequest other)
Name | Description |
other | SplitReadStreamRequest |
Type | Description |
SplitReadStreamRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SplitReadStreamRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SplitReadStreamRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SplitReadStreamRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SplitReadStreamRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SplitReadStreamRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SplitReadStreamRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SplitReadStreamRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | double The fraction to set. |
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) = { ... }
Name | Description |
value | String The name to set. |
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) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
SplitReadStreamRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SplitReadStreamRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SplitReadStreamRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SplitReadStreamRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SplitReadStreamRequest.Builder |