public static final class AppendRowsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder> implements AppendRowsRequestOrBuilder
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`.Protobuf type
google.cloud.bigquery.storage.v1.AppendRowsRequest| Modifier and Type | Method and Description |
|---|---|
AppendRowsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AppendRowsRequest |
build() |
AppendRowsRequest |
buildPartial() |
AppendRowsRequest.Builder |
clear() |
AppendRowsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AppendRowsRequest.Builder |
clearMissingValueInterpretations() |
AppendRowsRequest.Builder |
clearOffset()
If present, the write is only performed if the next append offset is same
as the provided value.
|
AppendRowsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AppendRowsRequest.Builder |
clearProtoRows()
Rows in proto format.
|
AppendRowsRequest.Builder |
clearRows() |
AppendRowsRequest.Builder |
clearTraceId()
Id set by client to annotate its identity.
|
AppendRowsRequest.Builder |
clearWriteStream()
Required.
|
AppendRowsRequest.Builder |
clone() |
boolean |
containsMissingValueInterpretations(String key)
A map to indicate how to interpret missing value for some fields.
|
AppendRowsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Map<String,AppendRowsRequest.MissingValueInterpretation> |
getMutableMissingValueInterpretations()
Deprecated.
|
Map<String,Integer> |
getMutableMissingValueInterpretationsValue()
Deprecated.
|
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.Int64Value.Builder |
getOffsetBuilder()
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.ProtoData.Builder |
getProtoRowsBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
AppendRowsRequest.Builder |
mergeFrom(AppendRowsRequest other) |
AppendRowsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AppendRowsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AppendRowsRequest.Builder |
mergeOffset(com.google.protobuf.Int64Value value)
If present, the write is only performed if the next append offset is same
as the provided value.
|
AppendRowsRequest.Builder |
mergeProtoRows(AppendRowsRequest.ProtoData value)
Rows in proto format.
|
AppendRowsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AppendRowsRequest.Builder |
putAllMissingValueInterpretations(Map<String,AppendRowsRequest.MissingValueInterpretation> values)
A map to indicate how to interpret missing value for some fields.
|
AppendRowsRequest.Builder |
putAllMissingValueInterpretationsValue(Map<String,Integer> values)
A map to indicate how to interpret missing value for some fields.
|
AppendRowsRequest.Builder |
putMissingValueInterpretations(String key,
AppendRowsRequest.MissingValueInterpretation value)
A map to indicate how to interpret missing value for some fields.
|
AppendRowsRequest.Builder |
putMissingValueInterpretationsValue(String key,
int value)
A map to indicate how to interpret missing value for some fields.
|
AppendRowsRequest.Builder |
removeMissingValueInterpretations(String key)
A map to indicate how to interpret missing value for some fields.
|
AppendRowsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AppendRowsRequest.Builder |
setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
If present, the write is only performed if the next append offset is same
as the provided value.
|
AppendRowsRequest.Builder |
setOffset(com.google.protobuf.Int64Value value)
If present, the write is only performed if the next append offset is same
as the provided value.
|
AppendRowsRequest.Builder |
setProtoRows(AppendRowsRequest.ProtoData.Builder builderForValue)
Rows in proto format.
|
AppendRowsRequest.Builder |
setProtoRows(AppendRowsRequest.ProtoData value)
Rows in proto format.
|
AppendRowsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AppendRowsRequest.Builder |
setTraceId(String value)
Id set by client to annotate its identity.
|
AppendRowsRequest.Builder |
setTraceIdBytes(com.google.protobuf.ByteString value)
Id set by client to annotate its identity.
|
AppendRowsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AppendRowsRequest.Builder |
setWriteStream(String value)
Required.
|
AppendRowsRequest.Builder |
setWriteStreamBytes(com.google.protobuf.ByteString value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public AppendRowsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public AppendRowsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AppendRowsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AppendRowsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AppendRowsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public AppendRowsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public AppendRowsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public AppendRowsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public AppendRowsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public AppendRowsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public AppendRowsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AppendRowsRequest.Builder>public AppendRowsRequest.Builder mergeFrom(AppendRowsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public AppendRowsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AppendRowsRequest.Builder>IOExceptionpublic AppendRowsRequest.RowsCase getRowsCase()
getRowsCase in interface AppendRowsRequestOrBuilderpublic AppendRowsRequest.Builder clearRows()
public String 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) = { ... }
getWriteStream in interface AppendRowsRequestOrBuilderpublic 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) = { ... }
getWriteStreamBytes in interface AppendRowsRequestOrBuilderpublic AppendRowsRequest.Builder setWriteStream(String value)
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) = { ... }
value - The writeStream to set.public AppendRowsRequest.Builder clearWriteStream()
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) = { ... }
public AppendRowsRequest.Builder setWriteStreamBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for writeStream to set.public 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;hasOffset in interface AppendRowsRequestOrBuilderpublic 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;getOffset in interface AppendRowsRequestOrBuilderpublic AppendRowsRequest.Builder setOffset(com.google.protobuf.Int64Value value)
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;public AppendRowsRequest.Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
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;public AppendRowsRequest.Builder mergeOffset(com.google.protobuf.Int64Value value)
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;public AppendRowsRequest.Builder clearOffset()
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;public com.google.protobuf.Int64Value.Builder getOffsetBuilder()
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;public 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;getOffsetOrBuilder in interface AppendRowsRequestOrBuilderpublic boolean hasProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;hasProtoRows in interface AppendRowsRequestOrBuilderpublic AppendRowsRequest.ProtoData getProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;getProtoRows in interface AppendRowsRequestOrBuilderpublic AppendRowsRequest.Builder setProtoRows(AppendRowsRequest.ProtoData value)
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;public AppendRowsRequest.Builder setProtoRows(AppendRowsRequest.ProtoData.Builder builderForValue)
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;public AppendRowsRequest.Builder mergeProtoRows(AppendRowsRequest.ProtoData value)
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;public AppendRowsRequest.Builder clearProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;public AppendRowsRequest.ProtoData.Builder getProtoRowsBuilder()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;public AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;getProtoRowsOrBuilder in interface AppendRowsRequestOrBuilderpublic String getTraceId()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;getTraceId in interface AppendRowsRequestOrBuilderpublic com.google.protobuf.ByteString getTraceIdBytes()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;getTraceIdBytes in interface AppendRowsRequestOrBuilderpublic AppendRowsRequest.Builder setTraceId(String value)
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;value - The traceId to set.public AppendRowsRequest.Builder clearTraceId()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;public AppendRowsRequest.Builder setTraceIdBytes(com.google.protobuf.ByteString value)
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;value - The bytes for traceId to set.public int getMissingValueInterpretationsCount()
AppendRowsRequestOrBuilder
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;
getMissingValueInterpretationsCount in interface AppendRowsRequestOrBuilderpublic 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;
containsMissingValueInterpretations in interface AppendRowsRequestOrBuilder@Deprecated public Map<String,AppendRowsRequest.MissingValueInterpretation> getMissingValueInterpretations()
getMissingValueInterpretationsMap() instead.getMissingValueInterpretations in interface AppendRowsRequestOrBuilderpublic 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;
getMissingValueInterpretationsMap in interface AppendRowsRequestOrBuilderpublic 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;
getMissingValueInterpretationsOrDefault in interface AppendRowsRequestOrBuilderpublic 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;
getMissingValueInterpretationsOrThrow in interface AppendRowsRequestOrBuilder@Deprecated public Map<String,Integer> getMissingValueInterpretationsValue()
getMissingValueInterpretationsValueMap() instead.getMissingValueInterpretationsValue in interface AppendRowsRequestOrBuilderpublic 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;
getMissingValueInterpretationsValueMap in interface AppendRowsRequestOrBuilderpublic 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;
getMissingValueInterpretationsValueOrDefault in interface AppendRowsRequestOrBuilderpublic 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;
getMissingValueInterpretationsValueOrThrow in interface AppendRowsRequestOrBuilderpublic AppendRowsRequest.Builder clearMissingValueInterpretations()
public AppendRowsRequest.Builder removeMissingValueInterpretations(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 public Map<String,AppendRowsRequest.MissingValueInterpretation> getMutableMissingValueInterpretations()
public AppendRowsRequest.Builder putMissingValueInterpretations(String key, AppendRowsRequest.MissingValueInterpretation value)
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;
public AppendRowsRequest.Builder putAllMissingValueInterpretations(Map<String,AppendRowsRequest.MissingValueInterpretation> values)
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 public Map<String,Integer> getMutableMissingValueInterpretationsValue()
public AppendRowsRequest.Builder putMissingValueInterpretationsValue(String key, int value)
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;
public AppendRowsRequest.Builder putAllMissingValueInterpretationsValue(Map<String,Integer> values)
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;
public final AppendRowsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>public final AppendRowsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.