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