Class FlushRowsRequest.Builder (3.4.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FlushRowsRequest build()
Returns
TypeDescription
FlushRowsRequest

buildPartial()

public FlushRowsRequest buildPartial()
Returns
TypeDescription
FlushRowsRequest

clear()

public FlushRowsRequest.Builder clear()
Returns
TypeDescription
FlushRowsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FlushRowsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FlushRowsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FlushRowsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
FlushRowsRequest.Builder

This builder for chaining.

clone()

public FlushRowsRequest.Builder clone()
Returns
TypeDescription
FlushRowsRequest.Builder
Overrides

getDefaultInstanceForType()

public FlushRowsRequest getDefaultInstanceForType()
Returns
TypeDescription
FlushRowsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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(FlushRowsRequest other)

public FlushRowsRequest.Builder mergeFrom(FlushRowsRequest other)
Parameter
NameDescription
otherFlushRowsRequest
Returns
TypeDescription
FlushRowsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FlushRowsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInt64Value
Returns
TypeDescription
FlushRowsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public FlushRowsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInt64Value
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
FlushRowsRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final FlushRowsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The writeStream to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for writeStream to set.

Returns
TypeDescription
FlushRowsRequest.Builder

This builder for chaining.