Class SplitReadStreamResponse (3.10.2)

public final class SplitReadStreamResponse extends GeneratedMessageV3 implements SplitReadStreamResponseOrBuilder

Response message for SplitReadStream.

Protobuf type google.cloud.bigquery.storage.v1.SplitReadStreamResponse

Static Fields

PRIMARY_STREAM_FIELD_NUMBER

public static final int PRIMARY_STREAM_FIELD_NUMBER
Field Value
Type Description
int

REMAINDER_STREAM_FIELD_NUMBER

public static final int REMAINDER_STREAM_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SplitReadStreamResponse getDefaultInstance()
Returns
Type Description
SplitReadStreamResponse

getDescriptor()

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

newBuilder()

public static SplitReadStreamResponse.Builder newBuilder()
Returns
Type Description
SplitReadStreamResponse.Builder

newBuilder(SplitReadStreamResponse prototype)

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

parseDelimitedFrom(InputStream input)

public static SplitReadStreamResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SplitReadStreamResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SplitReadStreamResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SplitReadStreamResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SplitReadStreamResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SplitReadStreamResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SplitReadStreamResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SplitReadStreamResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SplitReadStreamResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SplitReadStreamResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SplitReadStreamResponse> parser()
Returns
Type Description
Parser<SplitReadStreamResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SplitReadStreamResponse getDefaultInstanceForType()
Returns
Type Description
SplitReadStreamResponse

getParserForType()

public Parser<SplitReadStreamResponse> getParserForType()
Returns
Type Description
Parser<SplitReadStreamResponse>
Overrides

getPrimaryStream()

public ReadStream getPrimaryStream()

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1;

Returns
Type Description
ReadStream

The primaryStream.

getPrimaryStreamOrBuilder()

public ReadStreamOrBuilder getPrimaryStreamOrBuilder()

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1;

Returns
Type Description
ReadStreamOrBuilder

getRemainderStream()

public ReadStream getRemainderStream()

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2;

Returns
Type Description
ReadStream

The remainderStream.

getRemainderStreamOrBuilder()

public ReadStreamOrBuilder getRemainderStreamOrBuilder()

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2;

Returns
Type Description
ReadStreamOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasPrimaryStream()

public boolean hasPrimaryStream()

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1;

Returns
Type Description
boolean

Whether the primaryStream field is set.

hasRemainderStream()

public boolean hasRemainderStream()

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2;

Returns
Type Description
boolean

Whether the remainderStream 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 SplitReadStreamResponse.Builder newBuilderForType()
Returns
Type Description
SplitReadStreamResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SplitReadStreamResponse.Builder toBuilder()
Returns
Type Description
SplitReadStreamResponse.Builder

writeTo(CodedOutputStream output)

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