Class StreamStats.Builder (3.1.0)

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

Estimated stream statistics for a given read Stream.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamStats build()
Returns
TypeDescription
StreamStats

buildPartial()

public StreamStats buildPartial()
Returns
TypeDescription
StreamStats

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgress()

public StreamStats.Builder clearProgress()

Represents the progress of the current stream.

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

Returns
TypeDescription
StreamStats.Builder

clone()

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

getDefaultInstanceForType()

public StreamStats getDefaultInstanceForType()
Returns
TypeDescription
StreamStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProgress()

public StreamStats.Progress getProgress()

Represents the progress of the current stream.

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

Returns
TypeDescription
StreamStats.Progress

The progress.

getProgressBuilder()

public StreamStats.Progress.Builder getProgressBuilder()

Represents the progress of the current stream.

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

Returns
TypeDescription
StreamStats.Progress.Builder

getProgressOrBuilder()

public StreamStats.ProgressOrBuilder getProgressOrBuilder()

Represents the progress of the current stream.

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

Returns
TypeDescription
StreamStats.ProgressOrBuilder

hasProgress()

public boolean hasProgress()

Represents the progress of the current stream.

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

Returns
TypeDescription
boolean

Whether the progress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StreamStats other)

public StreamStats.Builder mergeFrom(StreamStats other)
Parameter
NameDescription
otherStreamStats
Returns
TypeDescription
StreamStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public StreamStats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1.StreamStats.Progress progress = 2;

Parameter
NameDescription
valueStreamStats.Progress
Returns
TypeDescription
StreamStats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public StreamStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.StreamStats.Progress progress = 2;

Parameter
NameDescription
valueStreamStats.Progress
Returns
TypeDescription
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.v1.StreamStats.Progress progress = 2;

Parameter
NameDescription
builderForValueStreamStats.Progress.Builder
Returns
TypeDescription
StreamStats.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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