Class Storage.SplitReadStreamResponse.Builder (3.10.2)

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

Response from SplitReadStream.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Storage.SplitReadStreamResponse build()
Returns
Type Description
Storage.SplitReadStreamResponse

buildPartial()

public Storage.SplitReadStreamResponse buildPartial()
Returns
Type Description
Storage.SplitReadStreamResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Storage.SplitReadStreamResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Storage.SplitReadStreamResponse.Builder
Overrides

clearPrimaryStream()

public Storage.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.v1beta1.Stream primary_stream = 1;

Returns
Type Description
Storage.SplitReadStreamResponse.Builder

clearRemainderStream()

public Storage.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.v1beta1.Stream remainder_stream = 2;

Returns
Type Description
Storage.SplitReadStreamResponse.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPrimaryStream()

public Storage.Stream 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.v1beta1.Stream primary_stream = 1;

Returns
Type Description
Storage.Stream

The primaryStream.

getPrimaryStreamBuilder()

public Storage.Stream.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.v1beta1.Stream primary_stream = 1;

Returns
Type Description
Storage.Stream.Builder

getPrimaryStreamOrBuilder()

public Storage.StreamOrBuilder 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.v1beta1.Stream primary_stream = 1;

Returns
Type Description
Storage.StreamOrBuilder

getRemainderStream()

public Storage.Stream 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.v1beta1.Stream remainder_stream = 2;

Returns
Type Description
Storage.Stream

The remainderStream.

getRemainderStreamBuilder()

public Storage.Stream.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.v1beta1.Stream remainder_stream = 2;

Returns
Type Description
Storage.Stream.Builder

getRemainderStreamOrBuilder()

public Storage.StreamOrBuilder 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.v1beta1.Stream remainder_stream = 2;

Returns
Type Description
Storage.StreamOrBuilder

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.v1beta1.Stream 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.v1beta1.Stream 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(Storage.SplitReadStreamResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePrimaryStream(Storage.Stream value)

public Storage.SplitReadStreamResponse.Builder mergePrimaryStream(Storage.Stream 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.v1beta1.Stream primary_stream = 1;

Parameter
Name Description
value Storage.Stream
Returns
Type Description
Storage.SplitReadStreamResponse.Builder

mergeRemainderStream(Storage.Stream value)

public Storage.SplitReadStreamResponse.Builder mergeRemainderStream(Storage.Stream 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.v1beta1.Stream remainder_stream = 2;

Parameter
Name Description
value Storage.Stream
Returns
Type Description
Storage.SplitReadStreamResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPrimaryStream(Storage.Stream value)

public Storage.SplitReadStreamResponse.Builder setPrimaryStream(Storage.Stream 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.v1beta1.Stream primary_stream = 1;

Parameter
Name Description
value Storage.Stream
Returns
Type Description
Storage.SplitReadStreamResponse.Builder

setPrimaryStream(Storage.Stream.Builder builderForValue)

public Storage.SplitReadStreamResponse.Builder setPrimaryStream(Storage.Stream.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.v1beta1.Stream primary_stream = 1;

Parameter
Name Description
builderForValue Storage.Stream.Builder
Returns
Type Description
Storage.SplitReadStreamResponse.Builder

setRemainderStream(Storage.Stream value)

public Storage.SplitReadStreamResponse.Builder setRemainderStream(Storage.Stream 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.v1beta1.Stream remainder_stream = 2;

Parameter
Name Description
value Storage.Stream
Returns
Type Description
Storage.SplitReadStreamResponse.Builder

setRemainderStream(Storage.Stream.Builder builderForValue)

public Storage.SplitReadStreamResponse.Builder setRemainderStream(Storage.Stream.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.v1beta1.Stream remainder_stream = 2;

Parameter
Name Description
builderForValue Storage.Stream.Builder
Returns
Type Description
Storage.SplitReadStreamResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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