Class SplitReadStreamResponse.Builder (3.20.0)

public static final class SplitReadStreamResponse.Builder extends GeneratedMessage.Builder<SplitReadStreamResponse.Builder> implements SplitReadStreamResponseOrBuilder

Response message for SplitReadStream.

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

Static Methods

getDescriptor()

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

Methods

build()

public SplitReadStreamResponse build()
Returns
Type Description
SplitReadStreamResponse

buildPartial()

public SplitReadStreamResponse buildPartial()
Returns
Type Description
SplitReadStreamResponse

clear()

public SplitReadStreamResponse.Builder clear()
Returns
Type Description
SplitReadStreamResponse.Builder
Overrides

clearPrimaryStream()

public SplitReadStreamResponse.Builder clearPrimaryStream()

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
SplitReadStreamResponse.Builder

clearRemainderStream()

public SplitReadStreamResponse.Builder clearRemainderStream()

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
SplitReadStreamResponse.Builder

getDefaultInstanceForType()

public SplitReadStreamResponse getDefaultInstanceForType()
Returns
Type Description
SplitReadStreamResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getPrimaryStreamBuilder()

public ReadStream.Builder getPrimaryStreamBuilder()

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.Builder

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.

getRemainderStreamBuilder()

public ReadStream.Builder getRemainderStreamBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SplitReadStreamResponse other)

public SplitReadStreamResponse.Builder mergeFrom(SplitReadStreamResponse other)
Parameter
Name Description
other SplitReadStreamResponse
Returns
Type Description
SplitReadStreamResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SplitReadStreamResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SplitReadStreamResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SplitReadStreamResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SplitReadStreamResponse.Builder
Overrides

mergePrimaryStream(ReadStream value)

public SplitReadStreamResponse.Builder mergePrimaryStream(ReadStream value)

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;

Parameter
Name Description
value ReadStream
Returns
Type Description
SplitReadStreamResponse.Builder

mergeRemainderStream(ReadStream value)

public SplitReadStreamResponse.Builder mergeRemainderStream(ReadStream value)

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;

Parameter
Name Description
value ReadStream
Returns
Type Description
SplitReadStreamResponse.Builder

setPrimaryStream(ReadStream value)

public SplitReadStreamResponse.Builder setPrimaryStream(ReadStream value)

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;

Parameter
Name Description
value ReadStream
Returns
Type Description
SplitReadStreamResponse.Builder

setPrimaryStream(ReadStream.Builder builderForValue)

public SplitReadStreamResponse.Builder setPrimaryStream(ReadStream.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ReadStream.Builder
Returns
Type Description
SplitReadStreamResponse.Builder

setRemainderStream(ReadStream value)

public SplitReadStreamResponse.Builder setRemainderStream(ReadStream value)

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;

Parameter
Name Description
value ReadStream
Returns
Type Description
SplitReadStreamResponse.Builder

setRemainderStream(ReadStream.Builder builderForValue)

public SplitReadStreamResponse.Builder setRemainderStream(ReadStream.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ReadStream.Builder
Returns
Type Description
SplitReadStreamResponse.Builder