public static final class Storage.StreamStatus extends GeneratedMessageV3 implements Storage.StreamStatusOrBuilder
Progress information for a given Stream.
Protobuf type google.cloud.bigquery.storage.v1beta1.StreamStatus
Static Fields
ESTIMATED_ROW_COUNT_FIELD_NUMBER
public static final int ESTIMATED_ROW_COUNT_FIELD_NUMBER
Field Value
FRACTION_CONSUMED_FIELD_NUMBER
public static final int FRACTION_CONSUMED_FIELD_NUMBER
Field Value
IS_SPLITTABLE_FIELD_NUMBER
public static final int IS_SPLITTABLE_FIELD_NUMBER
Field Value
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Storage.StreamStatus getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Storage.StreamStatus.Builder newBuilder()
Returns
newBuilder(Storage.StreamStatus prototype)
public static Storage.StreamStatus.Builder newBuilder(Storage.StreamStatus prototype)
Parameter
Returns
public static Storage.StreamStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Storage.StreamStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Storage.StreamStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Storage.StreamStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Storage.StreamStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Storage.StreamStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Storage.StreamStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Storage.StreamStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Storage.StreamStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Storage.StreamStatus> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Storage.StreamStatus getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<Storage.StreamStatus> getParserForType()
Returns
Overrides
getProgress()
public Storage.Progress getProgress()
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Storage.StreamStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Storage.StreamStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Storage.StreamStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions