Class AppendRowsResponse.AppendResult.Builder (2.44.1)

public static final class AppendRowsResponse.AppendResult.Builder extends GeneratedMessageV3.Builder<AppendRowsResponse.AppendResult.Builder> implements AppendRowsResponse.AppendResultOrBuilder

AppendResult is returned for successful append requests.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AppendRowsResponse.AppendResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides

build()

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

buildPartial()

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

clear()

public AppendRowsResponse.AppendResult.Builder clear()
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AppendRowsResponse.AppendResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides

clearOffset()

public AppendRowsResponse.AppendResult.Builder clearOffset()

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
AppendRowsResponse.AppendResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AppendRowsResponse.AppendResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides

clone()

public AppendRowsResponse.AppendResult.Builder clone()
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getOffsetBuilder()

public Int64Value.Builder getOffsetBuilder()

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
Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AppendRowsResponse.AppendResult other)

public AppendRowsResponse.AppendResult.Builder mergeFrom(AppendRowsResponse.AppendResult other)
Parameter
NameDescription
otherAppendRowsResponse.AppendResult
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AppendRowsResponse.AppendResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AppendRowsResponse.AppendResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides

mergeOffset(Int64Value value)

public AppendRowsResponse.AppendResult.Builder mergeOffset(Int64Value value)

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;

Parameter
NameDescription
valueInt64Value
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppendRowsResponse.AppendResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AppendRowsResponse.AppendResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides

setOffset(Int64Value value)

public AppendRowsResponse.AppendResult.Builder setOffset(Int64Value value)

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;

Parameter
NameDescription
valueInt64Value
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder

setOffset(Int64Value.Builder builderForValue)

public AppendRowsResponse.AppendResult.Builder setOffset(Int64Value.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AppendRowsResponse.AppendResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AppendRowsResponse.AppendResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AppendRowsResponse.AppendResult.Builder
Overrides