public static final class SplitReadStreamRequest.Builder extends GeneratedMessageV3.Builder<SplitReadStreamRequest.Builder> implements SplitReadStreamRequestOrBuilder
Request message for SplitReadStream
.
Protobuf type google.cloud.bigquery.storage.v1.SplitReadStreamRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SplitReadStreamRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SplitReadStreamRequest build()
buildPartial()
public SplitReadStreamRequest buildPartial()
clear()
public SplitReadStreamRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SplitReadStreamRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearName()
public SplitReadStreamRequest.Builder clearName()
Required. Name of the stream to split.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public SplitReadStreamRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SplitReadStreamRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public SplitReadStreamRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SplitReadStreamRequest other)
public SplitReadStreamRequest.Builder mergeFrom(SplitReadStreamRequest other)
public SplitReadStreamRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SplitReadStreamRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SplitReadStreamRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SplitReadStreamRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | double
The fraction to set.
|
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 | String
The name to set.
|
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 | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SplitReadStreamRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SplitReadStreamRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides