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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Storage.StreamStatusImplements
Storage.StreamStatusOrBuilderFields
ESTIMATED_ROW_COUNT_FIELD_NUMBER
public static final int ESTIMATED_ROW_COUNT_FIELD_NUMBER
Type | Description |
int |
FRACTION_CONSUMED_FIELD_NUMBER
public static final int FRACTION_CONSUMED_FIELD_NUMBER
Type | Description |
int |
IS_SPLITTABLE_FIELD_NUMBER
public static final int IS_SPLITTABLE_FIELD_NUMBER
Type | Description |
int |
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static Storage.StreamStatus getDefaultInstance()
Type | Description |
Storage.StreamStatus |
getDefaultInstanceForType()
public Storage.StreamStatus getDefaultInstanceForType()
Type | Description |
Storage.StreamStatus |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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;
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;
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;
Type | Description |
boolean | The isSplittable. |
getParserForType()
public Parser<Storage.StreamStatus> getParserForType()
Type | Description |
Parser<StreamStatus> |
getProgress()
public Storage.Progress getProgress()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Type | Description |
Storage.Progress | The progress. |
getProgressOrBuilder()
public Storage.ProgressOrBuilder getProgressOrBuilder()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Type | Description |
Storage.ProgressOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasProgress()
public boolean hasProgress()
Represents the progress of the current stream.
.google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
Type | Description |
boolean | Whether the progress field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static Storage.StreamStatus.Builder newBuilder()
Type | Description |
Storage.StreamStatus.Builder |
newBuilder(Storage.StreamStatus prototype)
public static Storage.StreamStatus.Builder newBuilder(Storage.StreamStatus prototype)
Name | Description |
prototype | Storage.StreamStatus |
Type | Description |
Storage.StreamStatus.Builder |
newBuilderForType()
public Storage.StreamStatus.Builder newBuilderForType()
Type | Description |
Storage.StreamStatus.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Storage.StreamStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Storage.StreamStatus.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static Storage.StreamStatus parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Storage.StreamStatus |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.StreamStatus |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Storage.StreamStatus parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Storage.StreamStatus |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.StreamStatus |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Storage.StreamStatus parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Storage.StreamStatus |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.StreamStatus |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Storage.StreamStatus parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Storage.StreamStatus |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.StreamStatus |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Storage.StreamStatus parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Storage.StreamStatus |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.StreamStatus |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Storage.StreamStatus parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Storage.StreamStatus |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.StreamStatus |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Storage.StreamStatus> parser()
Type | Description |
Parser<StreamStatus> |
toBuilder()
public Storage.StreamStatus.Builder toBuilder()
Type | Description |
Storage.StreamStatus.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |