Send feedback
Class AppendRowsRequest (3.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.1.0 keyboard_arrow_down
public final class AppendRowsRequest extends GeneratedMessageV3 implements AppendRowsRequestOrBuilder
Request message for AppendRows
.
Protobuf type google.cloud.bigquery.storage.v1beta2.AppendRowsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
Field Value Type Description int
PROTO_ROWS_FIELD_NUMBER
public static final int PROTO_ROWS_FIELD_NUMBER
Field Value Type Description int
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
Field Value Type Description int
WRITE_STREAM_FIELD_NUMBER
public static final int WRITE_STREAM_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static AppendRowsRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AppendRowsRequest . Builder newBuilder ()
newBuilder(AppendRowsRequest prototype)
public static AppendRowsRequest . Builder newBuilder ( AppendRowsRequest prototype )
public static AppendRowsRequest parseDelimitedFrom ( InputStream input )
public static AppendRowsRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AppendRowsRequest parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AppendRowsRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AppendRowsRequest parseFrom ( CodedInputStream input )
public static AppendRowsRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AppendRowsRequest parseFrom ( InputStream input )
public static AppendRowsRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AppendRowsRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AppendRowsRequest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public AppendRowsRequest getDefaultInstanceForType ()
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;
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;
getParserForType()
public Parser<AppendRowsRequest> getParserForType ()
Overrides
getProtoRows()
public AppendRowsRequest . ProtoData getProtoRows ()
Rows in proto format.
.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4;
getProtoRowsOrBuilder()
public AppendRowsRequest . ProtoDataOrBuilder getProtoRowsOrBuilder ()
Rows in proto format.
.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4;
getRowsCase()
public AppendRowsRequest . RowsCase getRowsCase ()
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getTraceId()
public String getTraceId ()
Id set by client to annotate its identity. Only initial request setting is
respected.
string trace_id = 6;
Returns 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;
Returns Type Description ByteString
The bytes for traceId.
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) = { ... }
Returns 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) = { ... }
Returns 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;
Returns 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;
Returns Type Description boolean
Whether the protoRows field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public AppendRowsRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppendRowsRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public AppendRowsRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]