public final class ReadStream extends GeneratedMessageV3 implements ReadStreamOrBuilder
Information about a single stream that gets data out of the storage system.
Most of the information about ReadStream
instances is aggregated, making
ReadStream
lightweight.
Protobuf type google.cloud.bigquery.storage.v1beta2.ReadStream
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReadStreamImplements
ReadStreamOrBuilderStatic Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ReadStream getDefaultInstance()
Type | Description |
ReadStream |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ReadStream.Builder newBuilder()
Type | Description |
ReadStream.Builder |
newBuilder(ReadStream prototype)
public static ReadStream.Builder newBuilder(ReadStream prototype)
Name | Description |
prototype | ReadStream |
Type | Description |
ReadStream.Builder |
parseDelimitedFrom(InputStream input)
public static ReadStream parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ReadStream |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReadStream parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadStream |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ReadStream parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ReadStream |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReadStream parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadStream |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ReadStream parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ReadStream |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReadStream parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadStream |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ReadStream parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ReadStream |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReadStream parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadStream |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ReadStream parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ReadStream |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReadStream parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadStream |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ReadStream parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ReadStream |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReadStream parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadStream |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ReadStream> parser()
Type | Description |
Parser<ReadStream> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ReadStream getDefaultInstanceForType()
Type | Description |
ReadStream |
getName()
public String getName()
Output only. Name of the stream, in the form
projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Name of the stream, in the form
projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<ReadStream> getParserForType()
Type | Description |
Parser<ReadStream> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ReadStream.Builder newBuilderForType()
Type | Description |
ReadStream.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReadStream.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ReadStream.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ReadStream.Builder toBuilder()
Type | Description |
ReadStream.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |