public static final class Storage.StreamStatus.Builder extends GeneratedMessageV3.Builder<Storage.StreamStatus.Builder> implements Storage.StreamStatusOrBuilder
Progress information for a given Stream.
Protobuf type google.cloud.bigquery.storage.v1beta1.StreamStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage.StreamStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Storage.StreamStatus build()
Returns
buildPartial()
public Storage.StreamStatus buildPartial()
Returns
clear()
public Storage.StreamStatus.Builder clear()
Returns
Overrides
clearEstimatedRowCount()
public Storage.StreamStatus.Builder clearEstimatedRowCount()
Number of estimated rows in the current stream. May change over time as
different readers in the stream progress at rates which are relatively fast
or slow.
int64 estimated_row_count = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Storage.StreamStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFractionConsumed()
public Storage.StreamStatus.Builder clearFractionConsumed()
A value in the range [0.0, 1.0] that represents the fraction of rows
assigned to this stream that have been processed by the server. In the
presence of read filters, the server may process more rows than it returns,
so this value reflects progress through the pre-filtering rows.
This value is only populated for sessions created through the BALANCED
sharding strategy.
float fraction_consumed = 2;
Returns
clearIsSplittable()
public Storage.StreamStatus.Builder clearIsSplittable()
Whether this stream can be split. For sessions that use the LIQUID sharding
strategy, this value is always false. For BALANCED sessions, this value is
false when enough data have been read such that no more splits are possible
at that point or beyond. For small tables or streams that are the result of
a chain of splits, this value may never be true.
bool is_splittable = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage.StreamStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProgress()
public Storage.StreamStatus.Builder clearProgress()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Returns
clone()
public Storage.StreamStatus.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Storage.StreamStatus getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEstimatedRowCount()
public long getEstimatedRowCount()
Number of estimated rows in the current stream. May change over time as
different readers in the stream progress at rates which are relatively fast
or slow.
int64 estimated_row_count = 1;
Returns
Type | Description |
long | The estimatedRowCount.
|
getFractionConsumed()
public float getFractionConsumed()
A value in the range [0.0, 1.0] that represents the fraction of rows
assigned to this stream that have been processed by the server. In the
presence of read filters, the server may process more rows than it returns,
so this value reflects progress through the pre-filtering rows.
This value is only populated for sessions created through the BALANCED
sharding strategy.
float fraction_consumed = 2;
Returns
Type | Description |
float | The fractionConsumed.
|
getIsSplittable()
public boolean getIsSplittable()
Whether this stream can be split. For sessions that use the LIQUID sharding
strategy, this value is always false. For BALANCED sessions, this value is
false when enough data have been read such that no more splits are possible
at that point or beyond. For small tables or streams that are the result of
a chain of splits, this value may never be true.
bool is_splittable = 3;
Returns
Type | Description |
boolean | The isSplittable.
|
getProgress()
public Storage.Progress getProgress()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Returns
getProgressBuilder()
public Storage.Progress.Builder getProgressBuilder()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Returns
getProgressOrBuilder()
public Storage.ProgressOrBuilder getProgressOrBuilder()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Returns
hasProgress()
public boolean hasProgress()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Returns
Type | Description |
boolean | Whether the progress field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Storage.StreamStatus other)
public Storage.StreamStatus.Builder mergeFrom(Storage.StreamStatus other)
Parameter
Returns
public Storage.StreamStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Storage.StreamStatus.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeProgress(Storage.Progress value)
public Storage.StreamStatus.Builder mergeProgress(Storage.Progress value)
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage.StreamStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEstimatedRowCount(long value)
public Storage.StreamStatus.Builder setEstimatedRowCount(long value)
Number of estimated rows in the current stream. May change over time as
different readers in the stream progress at rates which are relatively fast
or slow.
int64 estimated_row_count = 1;
Parameter
Name | Description |
value | long
The estimatedRowCount to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Storage.StreamStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFractionConsumed(float value)
public Storage.StreamStatus.Builder setFractionConsumed(float value)
A value in the range [0.0, 1.0] that represents the fraction of rows
assigned to this stream that have been processed by the server. In the
presence of read filters, the server may process more rows than it returns,
so this value reflects progress through the pre-filtering rows.
This value is only populated for sessions created through the BALANCED
sharding strategy.
float fraction_consumed = 2;
Parameter
Name | Description |
value | float
The fractionConsumed to set.
|
Returns
setIsSplittable(boolean value)
public Storage.StreamStatus.Builder setIsSplittable(boolean value)
Whether this stream can be split. For sessions that use the LIQUID sharding
strategy, this value is always false. For BALANCED sessions, this value is
false when enough data have been read such that no more splits are possible
at that point or beyond. For small tables or streams that are the result of
a chain of splits, this value may never be true.
bool is_splittable = 3;
Parameter
Name | Description |
value | boolean
The isSplittable to set.
|
Returns
setProgress(Storage.Progress value)
public Storage.StreamStatus.Builder setProgress(Storage.Progress value)
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Parameter
Returns
setProgress(Storage.Progress.Builder builderForValue)
public Storage.StreamStatus.Builder setProgress(Storage.Progress.Builder builderForValue)
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage.StreamStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage.StreamStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides