public static final class Storage.StreamStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder> implements Storage.StreamStatusOrBuilder
Progress information for a given Stream.Protobuf type
google.cloud.bigquery.storage.v1beta1.StreamStatus| Modifier and Type | Method and Description |
|---|---|
Storage.StreamStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Storage.StreamStatus |
build() |
Storage.StreamStatus |
buildPartial() |
Storage.StreamStatus.Builder |
clear() |
Storage.StreamStatus.Builder |
clearEstimatedRowCount()
Number of estimated rows in the current stream.
|
Storage.StreamStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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.
|
Storage.StreamStatus.Builder |
clearIsSplittable()
Whether this stream can be split.
|
Storage.StreamStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Storage.StreamStatus.Builder |
clearProgress()
Represents the progress of the current stream.
|
Storage.StreamStatus.Builder |
clone() |
Storage.StreamStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getEstimatedRowCount()
Number of estimated rows in the current stream.
|
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.
|
boolean |
getIsSplittable()
Whether this stream can be split.
|
Storage.Progress |
getProgress()
Represents the progress of the current stream.
|
Storage.Progress.Builder |
getProgressBuilder()
Represents the progress of the current stream.
|
Storage.ProgressOrBuilder |
getProgressOrBuilder()
Represents the progress of the current stream.
|
boolean |
hasProgress()
Represents the progress of the current stream.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Storage.StreamStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Storage.StreamStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
Storage.StreamStatus.Builder |
mergeFrom(Storage.StreamStatus other) |
Storage.StreamStatus.Builder |
mergeProgress(Storage.Progress value)
Represents the progress of the current stream.
|
Storage.StreamStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Storage.StreamStatus.Builder |
setEstimatedRowCount(long value)
Number of estimated rows in the current stream.
|
Storage.StreamStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
Storage.StreamStatus.Builder |
setIsSplittable(boolean value)
Whether this stream can be split.
|
Storage.StreamStatus.Builder |
setProgress(Storage.Progress.Builder builderForValue)
Represents the progress of the current stream.
|
Storage.StreamStatus.Builder |
setProgress(Storage.Progress value)
Represents the progress of the current stream.
|
Storage.StreamStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Storage.StreamStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public Storage.StreamStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public Storage.StreamStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Storage.StreamStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Storage.StreamStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Storage.StreamStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public Storage.StreamStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public Storage.StreamStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public Storage.StreamStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public Storage.StreamStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public Storage.StreamStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public Storage.StreamStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Storage.StreamStatus.Builder>public Storage.StreamStatus.Builder mergeFrom(Storage.StreamStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public Storage.StreamStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Storage.StreamStatus.Builder>IOExceptionpublic 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;getEstimatedRowCount in interface Storage.StreamStatusOrBuilderpublic 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;value - The estimatedRowCount to set.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;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;getFractionConsumed in interface Storage.StreamStatusOrBuilderpublic 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;value - The fractionConsumed to set.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;public boolean hasProgress()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;hasProgress in interface Storage.StreamStatusOrBuilderpublic Storage.Progress getProgress()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;getProgress in interface Storage.StreamStatusOrBuilderpublic Storage.StreamStatus.Builder setProgress(Storage.Progress value)
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;public Storage.StreamStatus.Builder setProgress(Storage.Progress.Builder builderForValue)
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;public Storage.StreamStatus.Builder mergeProgress(Storage.Progress value)
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;public Storage.StreamStatus.Builder clearProgress()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;public Storage.Progress.Builder getProgressBuilder()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;public Storage.ProgressOrBuilder getProgressOrBuilder()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;getProgressOrBuilder in interface Storage.StreamStatusOrBuilderpublic 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;getIsSplittable in interface Storage.StreamStatusOrBuilderpublic 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;value - The isSplittable to set.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;public final Storage.StreamStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>public final Storage.StreamStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.StreamStatus.Builder>Copyright © 2023 Google LLC. All rights reserved.