Class FlushRowsRequest.Builder (3.5.2)

public static final class FlushRowsRequest.Builder extends GeneratedMessageV3.Builder<FlushRowsRequest.Builder> implements FlushRowsRequestOrBuilder

Request message for FlushRows.

Protobuf type google.cloud.bigquery.storage.v1beta2.FlushRowsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FlushRowsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FlushRowsRequest.Builder
Overrides

build()

public FlushRowsRequest build()
Returns
Type Description
FlushRowsRequest

buildPartial()

public FlushRowsRequest buildPartial()
Returns
Type Description
FlushRowsRequest

clear()

public FlushRowsRequest.Builder clear()
Returns
Type Description
FlushRowsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FlushRowsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FlushRowsRequest.Builder
Overrides

clearOffset()

public FlushRowsRequest.Builder clearOffset()

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

.google.protobuf.Int64Value offset = 2;

Returns
Type Description
FlushRowsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FlushRowsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FlushRowsRequest.Builder
Overrides

clearWriteStream()

public FlushRowsRequest.Builder clearWriteStream()

Required. The stream that is the target of the flush operation.

string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
FlushRowsRequest.Builder

This builder for chaining.

clone()

public FlushRowsRequest.Builder clone()
Returns
Type Description
FlushRowsRequest.Builder
Overrides

getDefaultInstanceForType()

public FlushRowsRequest getDefaultInstanceForType()
Returns
Type Description
FlushRowsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOffset()

public Int64Value getOffset()

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

.google.protobuf.Int64Value offset = 2;

Returns
Type Description
Int64Value

The offset.

getOffsetBuilder()

public Int64Value.Builder getOffsetBuilder()

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

.google.protobuf.Int64Value offset = 2;

Returns
Type Description
Builder

getOffsetOrBuilder()

public Int64ValueOrBuilder getOffsetOrBuilder()

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

.google.protobuf.Int64Value offset = 2;

Returns
Type Description
Int64ValueOrBuilder

getWriteStream()

public String getWriteStream()

Required. The stream that is the target of the flush operation.

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 flush operation.

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()

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

.google.protobuf.Int64Value offset = 2;

Returns
Type Description
boolean

Whether the offset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FlushRowsRequest other)

public FlushRowsRequest.Builder mergeFrom(FlushRowsRequest other)
Parameter
Name Description
other FlushRowsRequest
Returns
Type Description
FlushRowsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FlushRowsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FlushRowsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FlushRowsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FlushRowsRequest.Builder
Overrides

mergeOffset(Int64Value value)

public FlushRowsRequest.Builder mergeOffset(Int64Value value)

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

.google.protobuf.Int64Value offset = 2;

Parameter
Name Description
value Int64Value
Returns
Type Description
FlushRowsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FlushRowsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FlushRowsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FlushRowsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FlushRowsRequest.Builder
Overrides

setOffset(Int64Value value)

public FlushRowsRequest.Builder setOffset(Int64Value value)

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

.google.protobuf.Int64Value offset = 2;

Parameter
Name Description
value Int64Value
Returns
Type Description
FlushRowsRequest.Builder

setOffset(Int64Value.Builder builderForValue)

public FlushRowsRequest.Builder setOffset(Int64Value.Builder builderForValue)

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

.google.protobuf.Int64Value offset = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FlushRowsRequest.Builder

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

public FlushRowsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FlushRowsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FlushRowsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FlushRowsRequest.Builder
Overrides

setWriteStream(String value)

public FlushRowsRequest.Builder setWriteStream(String value)

Required. The stream that is the target of the flush operation.

string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The writeStream to set.

Returns
Type Description
FlushRowsRequest.Builder

This builder for chaining.

setWriteStreamBytes(ByteString value)

public FlushRowsRequest.Builder setWriteStreamBytes(ByteString value)

Required. The stream that is the target of the flush operation.

string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for writeStream to set.

Returns
Type Description
FlushRowsRequest.Builder

This builder for chaining.