Class Storage.SplitReadStreamRequest (3.8.0)

public static final class Storage.SplitReadStreamRequest extends GeneratedMessageV3 implements Storage.SplitReadStreamRequestOrBuilder

Request information for SplitReadStream.

Protobuf type google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Storage.SplitReadStreamRequest

Static Fields

FRACTION_FIELD_NUMBER

public static final int FRACTION_FIELD_NUMBER
Field Value
Type Description
int

ORIGINAL_STREAM_FIELD_NUMBER

public static final int ORIGINAL_STREAM_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Storage.SplitReadStreamRequest getDefaultInstance()
Returns
Type Description
Storage.SplitReadStreamRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Storage.SplitReadStreamRequest.Builder newBuilder()
Returns
Type Description
Storage.SplitReadStreamRequest.Builder

newBuilder(Storage.SplitReadStreamRequest prototype)

public static Storage.SplitReadStreamRequest.Builder newBuilder(Storage.SplitReadStreamRequest prototype)
Parameter
Name Description
prototype Storage.SplitReadStreamRequest
Returns
Type Description
Storage.SplitReadStreamRequest.Builder

parseDelimitedFrom(InputStream input)

public static Storage.SplitReadStreamRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Storage.SplitReadStreamRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Storage.SplitReadStreamRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Storage.SplitReadStreamRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Storage.SplitReadStreamRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Storage.SplitReadStreamRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.SplitReadStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Storage.SplitReadStreamRequest> parser()
Returns
Type Description
Parser<SplitReadStreamRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Storage.SplitReadStreamRequest getDefaultInstanceForType()
Returns
Type Description
Storage.SplitReadStreamRequest

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.

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

getParserForType()

public Parser<Storage.SplitReadStreamRequest> getParserForType()
Returns
Type Description
Parser<SplitReadStreamRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Storage.SplitReadStreamRequest.Builder newBuilderForType()
Returns
Type Description
Storage.SplitReadStreamRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Storage.SplitReadStreamRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Storage.SplitReadStreamRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Storage.SplitReadStreamRequest.Builder toBuilder()
Returns
Type Description
Storage.SplitReadStreamRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException