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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ESTIMATED_ROW_COUNT_FIELD_NUMBER
public static final int ESTIMATED_ROW_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FRACTION_CONSUMED_FIELD_NUMBER
public static final int FRACTION_CONSUMED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IS_SPLITTABLE_FIELD_NUMBER
public static final int IS_SPLITTABLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Storage.StreamStatus getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Storage.StreamStatus.Builder newBuilder()
newBuilder(Storage.StreamStatus prototype)
public static Storage.StreamStatus.Builder newBuilder(Storage.StreamStatus prototype)
public static Storage.StreamStatus parseDelimitedFrom(InputStream input)
public static Storage.StreamStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Storage.StreamStatus parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Storage.StreamStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(CodedInputStream input)
public static Storage.StreamStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(InputStream input)
public static Storage.StreamStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Storage.StreamStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Storage.StreamStatus> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Storage.StreamStatus getDefaultInstanceForType()
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()
Overrides
getProgress()
public Storage.Progress getProgress()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Storage.StreamStatus.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Storage.StreamStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Storage.StreamStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides