Interface AppendRowsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AppendRowsRequest
,AppendRowsRequest.Builder
public interface AppendRowsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Int64Value
getOffset()
If present, the write is only performed if the next append offset is same as the provided value.com.google.protobuf.Int64ValueOrBuilder
getOffsetOrBuilder()
If present, the write is only performed if the next append offset is same as the provided value.AppendRowsRequest.ProtoData
getProtoRows()
Rows in proto format.AppendRowsRequest.ProtoDataOrBuilder
getProtoRowsOrBuilder()
Rows in proto format.AppendRowsRequest.RowsCase
getRowsCase()
String
getTraceId()
Id set by client to annotate its identity.com.google.protobuf.ByteString
getTraceIdBytes()
Id set by client to annotate its identity.String
getWriteStream()
Required.com.google.protobuf.ByteString
getWriteStreamBytes()
Required.boolean
hasOffset()
If present, the write is only performed if the next append offset is same as the provided value.boolean
hasProtoRows()
Rows in proto format.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getWriteStream
String getWriteStream()
Required. The stream that is the target of the append operation. This value must be specified for the initial request. If subsequent requests specify the stream name, it must equal to the value provided in the first request. To write to the _default stream, populate this field with a string in the format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The writeStream.
-
getWriteStreamBytes
com.google.protobuf.ByteString getWriteStreamBytes()
Required. The stream that is the target of the append operation. This value must be specified for the initial request. If subsequent requests specify the stream name, it must equal to the value provided in the first request. To write to the _default stream, populate this field with a string in the format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for writeStream.
-
hasOffset
boolean hasOffset()
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.
.google.protobuf.Int64Value offset = 2;
- Returns:
- Whether the offset field is set.
-
getOffset
com.google.protobuf.Int64Value getOffset()
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.
.google.protobuf.Int64Value offset = 2;
- Returns:
- The offset.
-
getOffsetOrBuilder
com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder()
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.
.google.protobuf.Int64Value offset = 2;
-
hasProtoRows
boolean hasProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4;
- Returns:
- Whether the protoRows field is set.
-
getProtoRows
AppendRowsRequest.ProtoData getProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4;
- Returns:
- The protoRows.
-
getProtoRowsOrBuilder
AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder()
Rows in proto format.
.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4;
-
getTraceId
String getTraceId()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;
- Returns:
- The traceId.
-
getTraceIdBytes
com.google.protobuf.ByteString getTraceIdBytes()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;
- Returns:
- The bytes for traceId.
-
getRowsCase
AppendRowsRequest.RowsCase getRowsCase()
-
-