Class AppendRowsRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.storage.v1.AppendRowsRequest
-
- All Implemented Interfaces:
AppendRowsRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AppendRowsRequest extends com.google.protobuf.GeneratedMessageV3 implements AppendRowsRequestOrBuilder
Request message for `AppendRows`. Because AppendRows is a bidirectional streaming RPC, certain parts of the AppendRowsRequest need only be specified for the first request before switching table destinations. You can also switch table destinations within the same connection for the default stream. 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 typegoogle.cloud.bigquery.storage.v1.AppendRowsRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppendRowsRequest.BuilderRequest message for `AppendRows`.static classAppendRowsRequest.MissingValueInterpretationAn enum to indicate how to interpret missing values of fields that are present in user schema but missing in rows.static classAppendRowsRequest.ProtoDataProtoData contains the data rows and schema when constructing append requests.static interfaceAppendRowsRequest.ProtoDataOrBuilderstatic classAppendRowsRequest.RowsCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_MISSING_VALUE_INTERPRETATION_FIELD_NUMBERstatic intMISSING_VALUE_INTERPRETATIONS_FIELD_NUMBERstatic intOFFSET_FIELD_NUMBERstatic intPROTO_ROWS_FIELD_NUMBERstatic intTRACE_ID_FIELD_NUMBERstatic intWRITE_STREAM_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMissingValueInterpretations(String key)A map to indicate how to interpret missing value for some fields.booleanequals(Object obj)static AppendRowsRequestgetDefaultInstance()AppendRowsRequestgetDefaultInstanceForType()AppendRowsRequest.MissingValueInterpretationgetDefaultMissingValueInterpretation()Optional.intgetDefaultMissingValueInterpretationValue()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,AppendRowsRequest.MissingValueInterpretation>getMissingValueInterpretations()Deprecated.intgetMissingValueInterpretationsCount()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.MissingValueInterpretationgetMissingValueInterpretationsOrDefault(String key, AppendRowsRequest.MissingValueInterpretation defaultValue)A map to indicate how to interpret missing value for some fields.AppendRowsRequest.MissingValueInterpretationgetMissingValueInterpretationsOrThrow(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.intgetMissingValueInterpretationsValueOrDefault(String key, int defaultValue)A map to indicate how to interpret missing value for some fields.intgetMissingValueInterpretationsValueOrThrow(String key)A map to indicate how to interpret missing value for some fields.com.google.protobuf.Int64ValuegetOffset()If present, the write is only performed if the next append offset is same as the provided value.com.google.protobuf.Int64ValueOrBuildergetOffsetOrBuilder()If present, the write is only performed if the next append offset is same as the provided value.com.google.protobuf.Parser<AppendRowsRequest>getParserForType()AppendRowsRequest.ProtoDatagetProtoRows()Rows in proto format.AppendRowsRequest.ProtoDataOrBuildergetProtoRowsOrBuilder()Rows in proto format.AppendRowsRequest.RowsCasegetRowsCase()intgetSerializedSize()StringgetTraceId()Id set by client to annotate its identity.com.google.protobuf.ByteStringgetTraceIdBytes()Id set by client to annotate its identity.StringgetWriteStream()Required.com.google.protobuf.ByteStringgetWriteStreamBytes()Required.inthashCode()booleanhasOffset()If present, the write is only performed if the next append offset is same as the provided value.booleanhasProtoRows()Rows in proto format.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static AppendRowsRequest.BuildernewBuilder()static AppendRowsRequest.BuildernewBuilder(AppendRowsRequest prototype)AppendRowsRequest.BuildernewBuilderForType()protected AppendRowsRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AppendRowsRequestparseDelimitedFrom(InputStream input)static AppendRowsRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendRowsRequestparseFrom(byte[] data)static AppendRowsRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendRowsRequestparseFrom(com.google.protobuf.ByteString data)static AppendRowsRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendRowsRequestparseFrom(com.google.protobuf.CodedInputStream input)static AppendRowsRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendRowsRequestparseFrom(InputStream input)static AppendRowsRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendRowsRequestparseFrom(ByteBuffer data)static AppendRowsRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AppendRowsRequest>parser()AppendRowsRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
WRITE_STREAM_FIELD_NUMBER
public static final int WRITE_STREAM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROTO_ROWS_FIELD_NUMBER
public static final int PROTO_ROWS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MISSING_VALUE_INTERPRETATIONS_FIELD_NUMBER
public static final int MISSING_VALUE_INTERPRETATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_MISSING_VALUE_INTERPRETATION_FIELD_NUMBER
public static final int DEFAULT_MISSING_VALUE_INTERPRETATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRowsCase
public AppendRowsRequest.RowsCase getRowsCase()
- Specified by:
getRowsCasein interfaceAppendRowsRequestOrBuilder
-
getWriteStream
public String getWriteStream()
Required. The write_stream identifies the append operation. It must be provided in the following scenarios: * In the first request to an AppendRows connection. * In all subsequent requests to an AppendRows connection, if you use the same connection to write to multiple tables or change the input schema for default streams. 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`. An example of a possible sequence of requests with write_stream fields within a single connection: * r1: {write_stream: stream_name_1} * r2: {write_stream: /*omit*/} * r3: {write_stream: /*omit*/} * r4: {write_stream: stream_name_2} * r5: {write_stream: stream_name_2} The destination changed in request_4, so the write_stream field must be populated in all subsequent requests in this stream.string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getWriteStreamin interfaceAppendRowsRequestOrBuilder- Returns:
- The writeStream.
-
getWriteStreamBytes
public com.google.protobuf.ByteString getWriteStreamBytes()
Required. The write_stream identifies the append operation. It must be provided in the following scenarios: * In the first request to an AppendRows connection. * In all subsequent requests to an AppendRows connection, if you use the same connection to write to multiple tables or change the input schema for default streams. 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`. An example of a possible sequence of requests with write_stream fields within a single connection: * r1: {write_stream: stream_name_1} * r2: {write_stream: /*omit*/} * r3: {write_stream: /*omit*/} * r4: {write_stream: stream_name_2} * r5: {write_stream: stream_name_2} The destination changed in request_4, so the write_stream field must be populated in all subsequent requests in this stream.string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getWriteStreamBytesin interfaceAppendRowsRequestOrBuilder- Returns:
- The bytes for writeStream.
-
hasOffset
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;- Specified by:
hasOffsetin interfaceAppendRowsRequestOrBuilder- Returns:
- Whether the offset field is set.
-
getOffset
public 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;- Specified by:
getOffsetin interfaceAppendRowsRequestOrBuilder- Returns:
- The offset.
-
getOffsetOrBuilder
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;- Specified by:
getOffsetOrBuilderin interfaceAppendRowsRequestOrBuilder
-
hasProtoRows
public boolean hasProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;- Specified by:
hasProtoRowsin interfaceAppendRowsRequestOrBuilder- Returns:
- Whether the protoRows field is set.
-
getProtoRows
public AppendRowsRequest.ProtoData getProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;- Specified by:
getProtoRowsin interfaceAppendRowsRequestOrBuilder- Returns:
- The protoRows.
-
getProtoRowsOrBuilder
public AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder()
Rows in proto format.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4;- Specified by:
getProtoRowsOrBuilderin interfaceAppendRowsRequestOrBuilder
-
getTraceId
public String getTraceId()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;- Specified by:
getTraceIdin interfaceAppendRowsRequestOrBuilder- Returns:
- The traceId.
-
getTraceIdBytes
public com.google.protobuf.ByteString getTraceIdBytes()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;- Specified by:
getTraceIdBytesin interfaceAppendRowsRequestOrBuilder- Returns:
- The bytes for traceId.
-
getMissingValueInterpretationsCount
public int getMissingValueInterpretationsCount()
Description copied from interface:AppendRowsRequestOrBuilderA 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;- Specified by:
getMissingValueInterpretationsCountin interfaceAppendRowsRequestOrBuilder
-
containsMissingValueInterpretations
public 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;- Specified by:
containsMissingValueInterpretationsin interfaceAppendRowsRequestOrBuilder
-
getMissingValueInterpretations
@Deprecated public Map<String,AppendRowsRequest.MissingValueInterpretation> getMissingValueInterpretations()
Deprecated.UsegetMissingValueInterpretationsMap()instead.- Specified by:
getMissingValueInterpretationsin interfaceAppendRowsRequestOrBuilder
-
getMissingValueInterpretationsMap
public 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;- Specified by:
getMissingValueInterpretationsMapin interfaceAppendRowsRequestOrBuilder
-
getMissingValueInterpretationsOrDefault
public 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;- Specified by:
getMissingValueInterpretationsOrDefaultin interfaceAppendRowsRequestOrBuilder
-
getMissingValueInterpretationsOrThrow
public 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;- Specified by:
getMissingValueInterpretationsOrThrowin interfaceAppendRowsRequestOrBuilder
-
getMissingValueInterpretationsValue
@Deprecated public Map<String,Integer> getMissingValueInterpretationsValue()
Deprecated.UsegetMissingValueInterpretationsValueMap()instead.- Specified by:
getMissingValueInterpretationsValuein interfaceAppendRowsRequestOrBuilder
-
getMissingValueInterpretationsValueMap
public 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;- Specified by:
getMissingValueInterpretationsValueMapin interfaceAppendRowsRequestOrBuilder
-
getMissingValueInterpretationsValueOrDefault
public 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;- Specified by:
getMissingValueInterpretationsValueOrDefaultin interfaceAppendRowsRequestOrBuilder
-
getMissingValueInterpretationsValueOrThrow
public 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;- Specified by:
getMissingValueInterpretationsValueOrThrowin interfaceAppendRowsRequestOrBuilder
-
getDefaultMissingValueInterpretationValue
public int getDefaultMissingValueInterpretationValue()
Optional. Default missing value interpretation for all columns in the table. When a value is specified on an `AppendRowsRequest`, it is applied to all requests on the connection from that point forward, until a subsequent `AppendRowsRequest` sets it to a different value. `missing_value_interpretation` can override `default_missing_value_interpretation`. For example, if you want to write `NULL` instead of using default values for some columns, you can set `default_missing_value_interpretation` to `DEFAULT_VALUE` and at the same time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultMissingValueInterpretationValuein interfaceAppendRowsRequestOrBuilder- Returns:
- The enum numeric value on the wire for defaultMissingValueInterpretation.
-
getDefaultMissingValueInterpretation
public AppendRowsRequest.MissingValueInterpretation getDefaultMissingValueInterpretation()
Optional. Default missing value interpretation for all columns in the table. When a value is specified on an `AppendRowsRequest`, it is applied to all requests on the connection from that point forward, until a subsequent `AppendRowsRequest` sets it to a different value. `missing_value_interpretation` can override `default_missing_value_interpretation`. For example, if you want to write `NULL` instead of using default values for some columns, you can set `default_missing_value_interpretation` to `DEFAULT_VALUE` and at the same time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultMissingValueInterpretationin interfaceAppendRowsRequestOrBuilder- Returns:
- The defaultMissingValueInterpretation.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AppendRowsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendRowsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendRowsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendRowsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendRowsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendRowsRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AppendRowsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AppendRowsRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AppendRowsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AppendRowsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AppendRowsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AppendRowsRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AppendRowsRequest.Builder newBuilder()
-
newBuilder
public static AppendRowsRequest.Builder newBuilder(AppendRowsRequest prototype)
-
toBuilder
public AppendRowsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AppendRowsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AppendRowsRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AppendRowsRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<AppendRowsRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AppendRowsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-