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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage.StreamStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Storage.StreamStatus build()
buildPartial()
public Storage.StreamStatus buildPartial()
clear()
public Storage.StreamStatus.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public Storage.StreamStatus.Builder clearField(Descriptors.FieldDescriptor field)
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;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage.StreamStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProgress()
public Storage.StreamStatus.Builder clearProgress()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
clone()
public Storage.StreamStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public Storage.StreamStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getProgressBuilder()
public Storage.Progress.Builder getProgressBuilder()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
getProgressOrBuilder()
public Storage.ProgressOrBuilder getProgressOrBuilder()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Storage.StreamStatus other)
public Storage.StreamStatus.Builder mergeFrom(Storage.StreamStatus other)
public Storage.StreamStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Storage.StreamStatus.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage.StreamStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Storage.StreamStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage.StreamStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage.StreamStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides