public static final class ReadStream.Builder extends GeneratedMessageV3.Builder<ReadStream.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReadStream.BuilderImplements
ReadStreamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReadStream.Builder |
build()
public ReadStream build()
Type | Description |
ReadStream |
buildPartial()
public ReadStream buildPartial()
Type | Description |
ReadStream |
clear()
public ReadStream.Builder clear()
Type | Description |
ReadStream.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReadStream.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ReadStream.Builder |
clearName()
public ReadStream.Builder clearName()
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 |
ReadStream.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ReadStream.Builder |
clone()
public ReadStream.Builder clone()
Type | Description |
ReadStream.Builder |
getDefaultInstanceForType()
public ReadStream getDefaultInstanceForType()
Type | Description |
ReadStream |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ReadStream other)
public ReadStream.Builder mergeFrom(ReadStream other)
Name | Description |
other | ReadStream |
Type | Description |
ReadStream.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReadStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadStream.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ReadStream.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ReadStream.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReadStream.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReadStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReadStream.Builder |
setName(String value)
public ReadStream.Builder setName(String value)
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];
Name | Description |
value | String The name to set. |
Type | Description |
ReadStream.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ReadStream.Builder setNameBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ReadStream.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReadStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ReadStream.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReadStream.Builder |