Class FinalizeWriteStreamResponse.Builder (2.47.0)

public static final class FinalizeWriteStreamResponse.Builder extends GeneratedMessageV3.Builder<FinalizeWriteStreamResponse.Builder> implements FinalizeWriteStreamResponseOrBuilder

Response message for FinalizeWriteStream.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FinalizeWriteStreamResponse build()
Returns
TypeDescription
FinalizeWriteStreamResponse

buildPartial()

public FinalizeWriteStreamResponse buildPartial()
Returns
TypeDescription
FinalizeWriteStreamResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowCount()

public FinalizeWriteStreamResponse.Builder clearRowCount()

Number of rows in the finalized stream.

int64 row_count = 1;

Returns
TypeDescription
FinalizeWriteStreamResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FinalizeWriteStreamResponse getDefaultInstanceForType()
Returns
TypeDescription
FinalizeWriteStreamResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRowCount()

public long getRowCount()

Number of rows in the finalized stream.

int64 row_count = 1;

Returns
TypeDescription
long

The rowCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FinalizeWriteStreamResponse other)

public FinalizeWriteStreamResponse.Builder mergeFrom(FinalizeWriteStreamResponse other)
Parameter
NameDescription
otherFinalizeWriteStreamResponse
Returns
TypeDescription
FinalizeWriteStreamResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRowCount(long value)

public FinalizeWriteStreamResponse.Builder setRowCount(long value)

Number of rows in the finalized stream.

int64 row_count = 1;

Parameter
NameDescription
valuelong

The rowCount to set.

Returns
TypeDescription
FinalizeWriteStreamResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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