Class Storage.SplitReadStreamResponse (2.47.0)

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

REMAINDER_STREAM_FIELD_NUMBER

public static final int REMAINDER_STREAM_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Storage.SplitReadStreamResponse getDefaultInstance()
Returns
TypeDescription
Storage.SplitReadStreamResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Storage.SplitReadStreamResponse.Builder newBuilder()
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

newBuilder(Storage.SplitReadStreamResponse prototype)

public static Storage.SplitReadStreamResponse.Builder newBuilder(Storage.SplitReadStreamResponse prototype)
Parameter
NameDescription
prototypeStorage.SplitReadStreamResponse
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

parseDelimitedFrom(InputStream input)

public static Storage.SplitReadStreamResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Storage.SplitReadStreamResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Storage.SplitReadStreamResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Storage.SplitReadStreamResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Storage.SplitReadStreamResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Storage.SplitReadStreamResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Storage.SplitReadStreamResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Storage.SplitReadStreamResponse> parser()
Returns
TypeDescription
Parser<SplitReadStreamResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Storage.SplitReadStreamResponse getDefaultInstanceForType()
Returns
TypeDescription
Storage.SplitReadStreamResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.v1beta1.Stream remainder_stream = 2;

Returns
TypeDescription
boolean

Whether the remainderStream field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Storage.SplitReadStreamResponse.Builder newBuilderForType()
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Storage.SplitReadStreamResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Storage.SplitReadStreamResponse.Builder toBuilder()
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException