public final class AppendRowsRequest extends com.google.protobuf.GeneratedMessageV3 implements AppendRowsRequestOrBuilder
Request message for `AppendRows`.Protobuf type
google.cloud.bigquery.storage.v1beta2.AppendRowsRequest| Modifier and Type | Class and Description |
|---|---|
static class |
AppendRowsRequest.Builder
Request message for `AppendRows`.
|
static class |
AppendRowsRequest.ProtoData
Proto schema and data.
|
static interface |
AppendRowsRequest.ProtoDataOrBuilder |
static class |
AppendRowsRequest.RowsCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
OFFSET_FIELD_NUMBER |
static int |
PROTO_ROWS_FIELD_NUMBER |
static int |
TRACE_ID_FIELD_NUMBER |
static int |
WRITE_STREAM_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AppendRowsRequest |
getDefaultInstance() |
AppendRowsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<AppendRowsRequest> |
getParserForType() |
AppendRowsRequest.ProtoData |
getProtoRows()
Rows in proto format.
|
AppendRowsRequest.ProtoDataOrBuilder |
getProtoRowsOrBuilder()
Rows in proto format.
|
AppendRowsRequest.RowsCase |
getRowsCase() |
int |
getSerializedSize() |
String |
getTraceId()
Id set by client to annotate its identity.
|
com.google.protobuf.ByteString |
getTraceIdBytes()
Id set by client to annotate its identity.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getWriteStream()
Required.
|
com.google.protobuf.ByteString |
getWriteStreamBytes()
Required.
|
int |
hashCode() |
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() |
boolean |
isInitialized() |
static AppendRowsRequest.Builder |
newBuilder() |
static AppendRowsRequest.Builder |
newBuilder(AppendRowsRequest prototype) |
AppendRowsRequest.Builder |
newBuilderForType() |
protected AppendRowsRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AppendRowsRequest |
parseDelimitedFrom(InputStream input) |
static AppendRowsRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppendRowsRequest |
parseFrom(byte[] data) |
static AppendRowsRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppendRowsRequest |
parseFrom(ByteBuffer data) |
static AppendRowsRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppendRowsRequest |
parseFrom(com.google.protobuf.ByteString data) |
static AppendRowsRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppendRowsRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AppendRowsRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppendRowsRequest |
parseFrom(InputStream input) |
static AppendRowsRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AppendRowsRequest> |
parser() |
AppendRowsRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int WRITE_STREAM_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int PROTO_ROWS_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public AppendRowsRequest.RowsCase getRowsCase()
getRowsCase in interface AppendRowsRequestOrBuilderpublic 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) = { ... }
getWriteStream in interface AppendRowsRequestOrBuilderpublic 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) = { ... }
getWriteStreamBytes in interface AppendRowsRequestOrBuilderpublic 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 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.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4;hasProtoRows in interface AppendRowsRequestOrBuilderpublic AppendRowsRequest.ProtoData getProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4;getProtoRows in interface AppendRowsRequestOrBuilderpublic AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder()
Rows in proto format.
.google.cloud.bigquery.storage.v1beta2.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AppendRowsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppendRowsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppendRowsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppendRowsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppendRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppendRowsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppendRowsRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static AppendRowsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AppendRowsRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AppendRowsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AppendRowsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AppendRowsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AppendRowsRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AppendRowsRequest.Builder newBuilder()
public static AppendRowsRequest.Builder newBuilder(AppendRowsRequest prototype)
public AppendRowsRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AppendRowsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AppendRowsRequest getDefaultInstance()
public static com.google.protobuf.Parser<AppendRowsRequest> parser()
public com.google.protobuf.Parser<AppendRowsRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AppendRowsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.