public final class AppendRowsRequest extends GeneratedMessageV3 implements AppendRowsRequestOrBuilder
Request message for AppendRows
.
Protobuf type google.cloud.bigquery.storage.v1beta2.AppendRowsRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AppendRowsRequestImplements
AppendRowsRequestOrBuilderFields
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
Type | Description |
int |
PROTO_ROWS_FIELD_NUMBER
public static final int PROTO_ROWS_FIELD_NUMBER
Type | Description |
int |
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
Type | Description |
int |
WRITE_STREAM_FIELD_NUMBER
public static final int WRITE_STREAM_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static AppendRowsRequest getDefaultInstance()
Type | Description |
AppendRowsRequest |
getDefaultInstanceForType()
public AppendRowsRequest getDefaultInstanceForType()
Type | Description |
AppendRowsRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getOffset()
public 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;
Type | Description |
Int64Value | The offset. |
getOffsetOrBuilder()
public 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;
Type | Description |
Int64ValueOrBuilder |
getParserForType()
public Parser<AppendRowsRequest> getParserForType()
Type | Description |
Parser<AppendRowsRequest> |
getProtoRows()
public AppendRowsRequest.ProtoData getProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4;
Type | Description |
AppendRowsRequest.ProtoData | The protoRows. |
getProtoRowsOrBuilder()
public AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder()
Rows in proto format.
.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4;
Type | Description |
AppendRowsRequest.ProtoDataOrBuilder |
getRowsCase()
public AppendRowsRequest.RowsCase getRowsCase()
Type | Description |
AppendRowsRequest.RowsCase |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTraceId()
public String getTraceId()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;
Type | Description |
String | The traceId. |
getTraceIdBytes()
public ByteString getTraceIdBytes()
Id set by client to annotate its identity. Only initial request setting is respected.
string trace_id = 6;
Type | Description |
ByteString | The bytes for traceId. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getWriteStream()
public 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) = { ... }
Type | Description |
String | The writeStream. |
getWriteStreamBytes()
public 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) = { ... }
Type | Description |
ByteString | 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;
Type | Description |
boolean | Whether the offset field is set. |
hasProtoRows()
public boolean hasProtoRows()
Rows in proto format.
.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4;
Type | Description |
boolean | Whether the protoRows field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static AppendRowsRequest.Builder newBuilder()
Type | Description |
AppendRowsRequest.Builder |
newBuilder(AppendRowsRequest prototype)
public static AppendRowsRequest.Builder newBuilder(AppendRowsRequest prototype)
Name | Description |
prototype | AppendRowsRequest |
Type | Description |
AppendRowsRequest.Builder |
newBuilderForType()
public AppendRowsRequest.Builder newBuilderForType()
Type | Description |
AppendRowsRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppendRowsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
AppendRowsRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static AppendRowsRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AppendRowsRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppendRowsRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static AppendRowsRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
AppendRowsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppendRowsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AppendRowsRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
AppendRowsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppendRowsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AppendRowsRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
AppendRowsRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppendRowsRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static AppendRowsRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AppendRowsRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppendRowsRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AppendRowsRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
AppendRowsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppendRowsRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AppendRowsRequest> parser()
Type | Description |
Parser<AppendRowsRequest> |
toBuilder()
public AppendRowsRequest.Builder toBuilder()
Type | Description |
AppendRowsRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |