public interface AppendRowsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMissingValueInterpretations(String key)
A map to indicate how to interpret missing value for some fields.
|
Map<String,AppendRowsRequest.MissingValueInterpretation> |
getMissingValueInterpretations()
Deprecated.
|
int |
getMissingValueInterpretationsCount()
A map to indicate how to interpret missing value for some fields.
|
Map<String,AppendRowsRequest.MissingValueInterpretation> |
getMissingValueInterpretationsMap()
A map to indicate how to interpret missing value for some fields.
|
AppendRowsRequest.MissingValueInterpretation |
getMissingValueInterpretationsOrDefault(String key,
AppendRowsRequest.MissingValueInterpretation defaultValue)
A map to indicate how to interpret missing value for some fields.
|
AppendRowsRequest.MissingValueInterpretation |
getMissingValueInterpretationsOrThrow(String key)
A map to indicate how to interpret missing value for some fields.
|
Map<String,Integer> |
getMissingValueInterpretationsValue()
Deprecated.
|
Map<String,Integer> |
getMissingValueInterpretationsValueMap()
A map to indicate how to interpret missing value for some fields.
|
int |
getMissingValueInterpretationsValueOrDefault(String key,
int defaultValue)
A map to indicate how to interpret missing value for some fields.
|
int |
getMissingValueInterpretationsValueOrThrow(String key)
A map to indicate how to interpret missing value for some fields.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getWriteStream()
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`.
string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getWriteStreamBytes()
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`.
string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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;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;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;boolean hasProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;AppendRowsRequest.ProtoData getProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;String getTraceId()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;com.google.protobuf.ByteString getTraceIdBytes()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;int getMissingValueInterpretationsCount()
A map to indicate how to interpret missing value for some fields. Missing
values are fields present in user schema but missing in rows. The key is
the field name. The value is the interpretation of missing values for the
field.
For example, a map {'foo': NULL_VALUE, 'bar': DEFAULT_VALUE} means all
missing values in field foo are interpreted as NULL, all missing values in
field bar are interpreted as the default value of field bar in table
schema.
If a field is not in this map and has missing values, the missing values
in this field are interpreted as NULL.
This field only applies to the current request, it won't affect other
requests on the connection.
Currently, field name can only be top-level column name, can't be a struct
field path like 'foo.bar'.
map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7;
boolean containsMissingValueInterpretations(String key)
A map to indicate how to interpret missing value for some fields. Missing
values are fields present in user schema but missing in rows. The key is
the field name. The value is the interpretation of missing values for the
field.
For example, a map {'foo': NULL_VALUE, 'bar': DEFAULT_VALUE} means all
missing values in field foo are interpreted as NULL, all missing values in
field bar are interpreted as the default value of field bar in table
schema.
If a field is not in this map and has missing values, the missing values
in this field are interpreted as NULL.
This field only applies to the current request, it won't affect other
requests on the connection.
Currently, field name can only be top-level column name, can't be a struct
field path like 'foo.bar'.
map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7;
@Deprecated Map<String,AppendRowsRequest.MissingValueInterpretation> getMissingValueInterpretations()
getMissingValueInterpretationsMap() instead.Map<String,AppendRowsRequest.MissingValueInterpretation> getMissingValueInterpretationsMap()
A map to indicate how to interpret missing value for some fields. Missing
values are fields present in user schema but missing in rows. The key is
the field name. The value is the interpretation of missing values for the
field.
For example, a map {'foo': NULL_VALUE, 'bar': DEFAULT_VALUE} means all
missing values in field foo are interpreted as NULL, all missing values in
field bar are interpreted as the default value of field bar in table
schema.
If a field is not in this map and has missing values, the missing values
in this field are interpreted as NULL.
This field only applies to the current request, it won't affect other
requests on the connection.
Currently, field name can only be top-level column name, can't be a struct
field path like 'foo.bar'.
map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7;
AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrDefault(String key, AppendRowsRequest.MissingValueInterpretation defaultValue)
A map to indicate how to interpret missing value for some fields. Missing
values are fields present in user schema but missing in rows. The key is
the field name. The value is the interpretation of missing values for the
field.
For example, a map {'foo': NULL_VALUE, 'bar': DEFAULT_VALUE} means all
missing values in field foo are interpreted as NULL, all missing values in
field bar are interpreted as the default value of field bar in table
schema.
If a field is not in this map and has missing values, the missing values
in this field are interpreted as NULL.
This field only applies to the current request, it won't affect other
requests on the connection.
Currently, field name can only be top-level column name, can't be a struct
field path like 'foo.bar'.
map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7;
AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrThrow(String key)
A map to indicate how to interpret missing value for some fields. Missing
values are fields present in user schema but missing in rows. The key is
the field name. The value is the interpretation of missing values for the
field.
For example, a map {'foo': NULL_VALUE, 'bar': DEFAULT_VALUE} means all
missing values in field foo are interpreted as NULL, all missing values in
field bar are interpreted as the default value of field bar in table
schema.
If a field is not in this map and has missing values, the missing values
in this field are interpreted as NULL.
This field only applies to the current request, it won't affect other
requests on the connection.
Currently, field name can only be top-level column name, can't be a struct
field path like 'foo.bar'.
map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7;
@Deprecated Map<String,Integer> getMissingValueInterpretationsValue()
getMissingValueInterpretationsValueMap() instead.Map<String,Integer> getMissingValueInterpretationsValueMap()
A map to indicate how to interpret missing value for some fields. Missing
values are fields present in user schema but missing in rows. The key is
the field name. The value is the interpretation of missing values for the
field.
For example, a map {'foo': NULL_VALUE, 'bar': DEFAULT_VALUE} means all
missing values in field foo are interpreted as NULL, all missing values in
field bar are interpreted as the default value of field bar in table
schema.
If a field is not in this map and has missing values, the missing values
in this field are interpreted as NULL.
This field only applies to the current request, it won't affect other
requests on the connection.
Currently, field name can only be top-level column name, can't be a struct
field path like 'foo.bar'.
map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7;
int getMissingValueInterpretationsValueOrDefault(String key, int defaultValue)
A map to indicate how to interpret missing value for some fields. Missing
values are fields present in user schema but missing in rows. The key is
the field name. The value is the interpretation of missing values for the
field.
For example, a map {'foo': NULL_VALUE, 'bar': DEFAULT_VALUE} means all
missing values in field foo are interpreted as NULL, all missing values in
field bar are interpreted as the default value of field bar in table
schema.
If a field is not in this map and has missing values, the missing values
in this field are interpreted as NULL.
This field only applies to the current request, it won't affect other
requests on the connection.
Currently, field name can only be top-level column name, can't be a struct
field path like 'foo.bar'.
map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7;
int getMissingValueInterpretationsValueOrThrow(String key)
A map to indicate how to interpret missing value for some fields. Missing
values are fields present in user schema but missing in rows. The key is
the field name. The value is the interpretation of missing values for the
field.
For example, a map {'foo': NULL_VALUE, 'bar': DEFAULT_VALUE} means all
missing values in field foo are interpreted as NULL, all missing values in
field bar are interpreted as the default value of field bar in table
schema.
If a field is not in this map and has missing values, the missing values
in this field are interpreted as NULL.
This field only applies to the current request, it won't affect other
requests on the connection.
Currently, field name can only be top-level column name, can't be a struct
field path like 'foo.bar'.
map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7;
AppendRowsRequest.RowsCase getRowsCase()
Copyright © 2023 Google LLC. All rights reserved.