Class AppendRowsResponse.AppendResult (3.4.0)

public static final class AppendRowsResponse.AppendResult extends GeneratedMessageV3 implements AppendRowsResponse.AppendResultOrBuilder

AppendResult is returned for successful append requests.

Protobuf type google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AppendRowsResponse.AppendResult

Static Fields

OFFSET_FIELD_NUMBER

public static final int OFFSET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AppendRowsResponse.AppendResult getDefaultInstance()
Returns
TypeDescription
AppendRowsResponse.AppendResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AppendRowsResponse.AppendResult.Builder newBuilder()
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder

newBuilder(AppendRowsResponse.AppendResult prototype)

public static AppendRowsResponse.AppendResult.Builder newBuilder(AppendRowsResponse.AppendResult prototype)
Parameter
NameDescription
prototypeAppendRowsResponse.AppendResult
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder

parseDelimitedFrom(InputStream input)

public static AppendRowsResponse.AppendResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppendRowsResponse.AppendResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AppendRowsResponse.AppendResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AppendRowsResponse.AppendResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AppendRowsResponse.AppendResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppendRowsResponse.AppendResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppendRowsResponse.AppendResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppendRowsResponse.AppendResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AppendRowsResponse.AppendResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppendRowsResponse.AppendResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AppendRowsResponse.AppendResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppendRowsResponse.AppendResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppendRowsResponse.AppendResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AppendRowsResponse.AppendResult> parser()
Returns
TypeDescription
Parser<AppendResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AppendRowsResponse.AppendResult getDefaultInstanceForType()
Returns
TypeDescription
AppendRowsResponse.AppendResult

getOffset()

public Int64Value getOffset()

The row offset at which the last append occurred. The offset will not be set if appending using default streams.

.google.protobuf.Int64Value offset = 1;

Returns
TypeDescription
Int64Value

The offset.

getOffsetOrBuilder()

public Int64ValueOrBuilder getOffsetOrBuilder()

The row offset at which the last append occurred. The offset will not be set if appending using default streams.

.google.protobuf.Int64Value offset = 1;

Returns
TypeDescription
Int64ValueOrBuilder

getParserForType()

public Parser<AppendRowsResponse.AppendResult> getParserForType()
Returns
TypeDescription
Parser<AppendResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasOffset()

public boolean hasOffset()

The row offset at which the last append occurred. The offset will not be set if appending using default streams.

.google.protobuf.Int64Value offset = 1;

Returns
TypeDescription
boolean

Whether the offset field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AppendRowsResponse.AppendResult.Builder newBuilderForType()
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppendRowsResponse.AppendResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AppendRowsResponse.AppendResult.Builder toBuilder()
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException