public sealed class AppendRowsRequest : IMessage<AppendRowsRequest>, IEquatable<AppendRowsRequest>, IDeepCloneable<AppendRowsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google BigQuery Storage v1 API class AppendRowsRequest.
Request message for AppendRows
.
Due to the nature of AppendRows being a bidirectional streaming RPC, certain parts of the AppendRowsRequest need only be specified for the first request sent each time the gRPC network connection is opened/reopened.
The size of a single AppendRowsRequest must be less than 10 MB in size.
Requests larger than this return an error, typically INVALID_ARGUMENT
.
Implements
IMessage<AppendRowsRequest>, IEquatable<AppendRowsRequest>, IDeepCloneable<AppendRowsRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Storage.V1Assembly
Google.Cloud.BigQuery.Storage.V1.dll
Constructors
AppendRowsRequest()
public AppendRowsRequest()
AppendRowsRequest(AppendRowsRequest)
public AppendRowsRequest(AppendRowsRequest other)
Parameter | |
---|---|
Name | Description |
other | AppendRowsRequest |
Properties
Offset
public long? Offset { get; set; }
If present, the write is only performed if the next append offset is same as the provided value. If not present, the write is performed at the current end of stream. Specifying a value for this field is not allowed when calling AppendRows for the '_default' stream.
Property Value | |
---|---|
Type | Description |
Nullable<Int64> |
ProtoRows
public AppendRowsRequest.Types.ProtoData ProtoRows { get; set; }
Rows in proto format.
Property Value | |
---|---|
Type | Description |
AppendRowsRequest.Types.ProtoData |
RowsCase
public AppendRowsRequest.RowsOneofCase RowsCase { get; }
Property Value | |
---|---|
Type | Description |
AppendRowsRequest.RowsOneofCase |
TraceId
public string TraceId { get; set; }
Id set by client to annotate its identity. Only initial request setting is respected.
Property Value | |
---|---|
Type | Description |
String |
WriteStream
public string WriteStream { get; set; }
Required. The write_stream identifies the target of the append operation, and only needs to be specified as part of the first request on the gRPC connection. If provided for subsequent requests, it must match the value of the first request.
For explicitly created write streams, the format is:
projects/{project}/datasets/{dataset}/tables/{table}/streams/{id}
For the special default stream, the format is:
projects/{project}/datasets/{dataset}/tables/{table}/streams/_default
.
Property Value | |
---|---|
Type | Description |
String |
WriteStreamAsWriteStreamName
public WriteStreamName WriteStreamAsWriteStreamName { get; set; }
WriteStreamName-typed view over the WriteStream resource name property.
Property Value | |
---|---|
Type | Description |
WriteStreamName |