Class SplitReadStreamResponse.Builder (2.44.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SplitReadStreamResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SplitReadStreamResponse.Builder
Overrides

build()

public SplitReadStreamResponse build()
Returns
TypeDescription
SplitReadStreamResponse

buildPartial()

public SplitReadStreamResponse buildPartial()
Returns
TypeDescription
SplitReadStreamResponse

clear()

public SplitReadStreamResponse.Builder clear()
Returns
TypeDescription
SplitReadStreamResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SplitReadStreamResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SplitReadStreamResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SplitReadStreamResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SplitReadStreamResponse.Builder

clone()

public SplitReadStreamResponse.Builder clone()
Returns
TypeDescription
SplitReadStreamResponse.Builder
Overrides

getDefaultInstanceForType()

public SplitReadStreamResponse getDefaultInstanceForType()
Returns
TypeDescription
SplitReadStreamResponse

getDescriptorForType()

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

Whether the remainderStream field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SplitReadStreamResponse other)

public SplitReadStreamResponse.Builder mergeFrom(SplitReadStreamResponse other)
Parameter
NameDescription
otherSplitReadStreamResponse
Returns
TypeDescription
SplitReadStreamResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SplitReadStreamResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitReadStreamResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SplitReadStreamResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueReadStream
Returns
TypeDescription
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
NameDescription
valueReadStream
Returns
TypeDescription
SplitReadStreamResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SplitReadStreamResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SplitReadStreamResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SplitReadStreamResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueReadStream
Returns
TypeDescription
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
NameDescription
builderForValueReadStream.Builder
Returns
TypeDescription
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
NameDescription
valueReadStream
Returns
TypeDescription
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
NameDescription
builderForValueReadStream.Builder
Returns
TypeDescription
SplitReadStreamResponse.Builder

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

public SplitReadStreamResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SplitReadStreamResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SplitReadStreamResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SplitReadStreamResponse.Builder
Overrides