Class StreamStats.Builder (3.10.3)

public static final class StreamStats.Builder extends GeneratedMessageV3.Builder<StreamStats.Builder> implements StreamStatsOrBuilder

Estimated stream statistics for a given Stream.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamStats build()
Returns
Type Description
StreamStats

buildPartial()

public StreamStats buildPartial()
Returns
Type Description
StreamStats

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgress()

public StreamStats.Builder clearProgress()

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2;

Returns
Type Description
StreamStats.Builder

clone()

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

getDefaultInstanceForType()

public StreamStats getDefaultInstanceForType()
Returns
Type Description
StreamStats

getDescriptorForType()

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

getProgress()

public StreamStats.Progress getProgress()

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2;

Returns
Type Description
StreamStats.Progress

The progress.

getProgressBuilder()

public StreamStats.Progress.Builder getProgressBuilder()

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2;

Returns
Type Description
StreamStats.Progress.Builder

getProgressOrBuilder()

public StreamStats.ProgressOrBuilder getProgressOrBuilder()

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2;

Returns
Type Description
StreamStats.ProgressOrBuilder

hasProgress()

public boolean hasProgress()

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2;

Returns
Type Description
boolean

Whether the progress field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StreamStats other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProgress(StreamStats.Progress value)

public StreamStats.Builder mergeProgress(StreamStats.Progress value)

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2;

Parameter
Name Description
value StreamStats.Progress
Returns
Type Description
StreamStats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProgress(StreamStats.Progress value)

public StreamStats.Builder setProgress(StreamStats.Progress value)

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2;

Parameter
Name Description
value StreamStats.Progress
Returns
Type Description
StreamStats.Builder

setProgress(StreamStats.Progress.Builder builderForValue)

public StreamStats.Builder setProgress(StreamStats.Progress.Builder builderForValue)

Represents the progress of the current stream.

.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2;

Parameter
Name Description
builderForValue StreamStats.Progress.Builder
Returns
Type Description
StreamStats.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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