Class SplitReadStreamResponse.Builder (3.10.2)

public static final class SplitReadStreamResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SplitReadStreamResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SplitReadStreamResponse.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SplitReadStreamResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SplitReadStreamResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SplitReadStreamResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SplitReadStreamResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SplitReadStreamResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SplitReadStreamResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SplitReadStreamResponse.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SplitReadStreamResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SplitReadStreamResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SplitReadStreamResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SplitReadStreamResponse.Builder
Overrides