public class BeamRowToStorageApiProto
extends java.lang.Object
Row
objects to dynamic protocol message, for use with
the Storage write API.Constructor and Description |
---|
BeamRowToStorageApiProto() |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.DynamicMessage |
messageFromBeamRow(com.google.protobuf.Descriptors.Descriptor descriptor,
Row row,
java.lang.String changeType,
long changeSequenceNum)
Forwards (@param changeSequenceNum) to
#messageFromBeamRow(Descriptor, Row, String,
String) via Long.toHexString(long) . |
static com.google.protobuf.DynamicMessage |
messageFromBeamRow(com.google.protobuf.Descriptors.Descriptor descriptor,
Row row,
java.lang.String changeType,
java.lang.String changeSequenceNum)
Given a Beam
Row object, returns a protocol-buffer message that can be used to write
data using the BigQuery Storage streaming API. |
public static com.google.protobuf.DynamicMessage messageFromBeamRow(com.google.protobuf.Descriptors.Descriptor descriptor, Row row, @Nullable java.lang.String changeType, long changeSequenceNum)
#messageFromBeamRow(Descriptor, Row, String,
String)
via Long.toHexString(long)
.public static com.google.protobuf.DynamicMessage messageFromBeamRow(com.google.protobuf.Descriptors.Descriptor descriptor, Row row, @Nullable java.lang.String changeType, @Nullable java.lang.String changeSequenceNum)
Row
object, returns a protocol-buffer message that can be used to write
data using the BigQuery Storage streaming API.