Class Storage.SplitReadStreamResponse (3.6.1)

public static final class Storage.SplitReadStreamResponse extends GeneratedMessageV3 implements Storage.SplitReadStreamResponseOrBuilder

Response from SplitReadStream.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Storage.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 Storage.SplitReadStreamResponse getDefaultInstance()
Returns
Type Description
Storage.SplitReadStreamResponse

getDescriptor()

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

newBuilder()

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

newBuilder(Storage.SplitReadStreamResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Storage.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 Storage.SplitReadStreamResponse getDefaultInstanceForType()
Returns
Type Description
Storage.SplitReadStreamResponse

getParserForType()

public Parser<Storage.SplitReadStreamResponse> getParserForType()
Returns
Type Description
Parser<SplitReadStreamResponse>
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.

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.

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

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Storage.SplitReadStreamResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Storage.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 Storage.SplitReadStreamResponse.Builder toBuilder()
Returns
Type Description
Storage.SplitReadStreamResponse.Builder

writeTo(CodedOutputStream output)

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