Class Storage.SplitReadStreamRequest (3.3.1)

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
TypeDescription
int

ORIGINAL_STREAM_FIELD_NUMBER

public static final int ORIGINAL_STREAM_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Storage.SplitReadStreamRequest getDefaultInstance()
Returns
TypeDescription
Storage.SplitReadStreamRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Storage.SplitReadStreamRequest.Builder newBuilder()
Returns
TypeDescription
Storage.SplitReadStreamRequest.Builder

newBuilder(Storage.SplitReadStreamRequest prototype)

public static Storage.SplitReadStreamRequest.Builder newBuilder(Storage.SplitReadStreamRequest prototype)
Parameter
NameDescription
prototypeStorage.SplitReadStreamRequest
Returns
TypeDescription
Storage.SplitReadStreamRequest.Builder

parseDelimitedFrom(InputStream input)

public static Storage.SplitReadStreamRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Storage.SplitReadStreamRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Storage.SplitReadStreamRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Storage.SplitReadStreamRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Storage.SplitReadStreamRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Storage.SplitReadStreamRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Storage.SplitReadStreamRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Storage.StreamOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the originalStream field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Storage.SplitReadStreamRequest.Builder newBuilderForType()
Returns
TypeDescription
Storage.SplitReadStreamRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Storage.SplitReadStreamRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Storage.SplitReadStreamRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Storage.SplitReadStreamRequest.Builder toBuilder()
Returns
TypeDescription
Storage.SplitReadStreamRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException