public static final class Storage.StreamStatus.Builder extends GeneratedMessage.Builder<Storage.StreamStatus.Builder> implements Storage.StreamStatusOrBuilderProgress information for a given Stream.
Protobuf type google.cloud.bigquery.storage.v1beta1.StreamStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Storage.StreamStatus.BuilderImplements
Storage.StreamStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Storage.StreamStatus build()| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus |
|
buildPartial()
public Storage.StreamStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus |
|
clear()
public Storage.StreamStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
|
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 | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
This builder for chaining. |
clearProgress()
public Storage.StreamStatus.Builder clearProgress()Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
|
getDefaultInstanceForType()
public Storage.StreamStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
Storage.Progress |
The progress. |
getProgressBuilder()
public Storage.Progress.Builder getProgressBuilder()Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
| Returns | |
|---|---|
| Type | Description |
Storage.Progress.Builder |
|
getProgressOrBuilder()
public Storage.ProgressOrBuilder getProgressOrBuilder()Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
| Returns | |
|---|---|
| Type | Description |
Storage.ProgressOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Storage.StreamStatus other)
public Storage.StreamStatus.Builder mergeFrom(Storage.StreamStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
Storage.StreamStatus |
| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Storage.StreamStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Storage.StreamStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
Storage.Progress |
| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
|
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 |
longThe estimatedRowCount to set. |
| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
This builder for chaining. |
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 |
floatThe fractionConsumed to set. |
| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
This builder for chaining. |
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 |
booleanThe isSplittable to set. |
| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
Storage.Progress |
| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
Storage.Progress.Builder |
| Returns | |
|---|---|
| Type | Description |
Storage.StreamStatus.Builder |
|