public final class SplitReadStreamRequest extends GeneratedMessageV3 implements SplitReadStreamRequestOrBuilder
Request message for SplitReadStream
.
Protobuf type google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
FRACTION_FIELD_NUMBER
public static final int FRACTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SplitReadStreamRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SplitReadStreamRequest.Builder newBuilder()
newBuilder(SplitReadStreamRequest prototype)
public static SplitReadStreamRequest.Builder newBuilder(SplitReadStreamRequest prototype)
public static SplitReadStreamRequest parseDelimitedFrom(InputStream input)
public static SplitReadStreamRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SplitReadStreamRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SplitReadStreamRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SplitReadStreamRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SplitReadStreamRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SplitReadStreamRequest parseFrom(CodedInputStream input)
public static SplitReadStreamRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SplitReadStreamRequest parseFrom(InputStream input)
public static SplitReadStreamRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SplitReadStreamRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SplitReadStreamRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SplitReadStreamRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SplitReadStreamRequest getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<SplitReadStreamRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SplitReadStreamRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SplitReadStreamRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SplitReadStreamRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides