public static final class Storage.SplitReadStreamRequest extends GeneratedMessageV3 implements Storage.SplitReadStreamRequestOrBuilder
Request information for SplitReadStream
.
Protobuf type google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest
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
FRACTION_FIELD_NUMBER
public static final int FRACTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ORIGINAL_STREAM_FIELD_NUMBER
public static final int ORIGINAL_STREAM_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Storage.SplitReadStreamRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Storage.SplitReadStreamRequest.Builder newBuilder()
newBuilder(Storage.SplitReadStreamRequest prototype)
public static Storage.SplitReadStreamRequest.Builder newBuilder(Storage.SplitReadStreamRequest prototype)
public static Storage.SplitReadStreamRequest parseDelimitedFrom(InputStream input)
public static Storage.SplitReadStreamRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Storage.SplitReadStreamRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Storage.SplitReadStreamRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Storage.SplitReadStreamRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Storage.SplitReadStreamRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Storage.SplitReadStreamRequest parseFrom(CodedInputStream input)
public static Storage.SplitReadStreamRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Storage.SplitReadStreamRequest parseFrom(InputStream input)
public static Storage.SplitReadStreamRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Storage.SplitReadStreamRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Storage.SplitReadStreamRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Storage.SplitReadStreamRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Storage.SplitReadStreamRequest getDefaultInstanceForType()
getFraction()
public float getFraction()
A value in the range (0.0, 1.0) that specifies the fractional point at
which the original stream should be split. The actual split point is
evaluated on pre-filtered rows, so if a filter is provided, then there is
no guarantee that the division of the rows between the new child streams
will be proportional to this fractional value. Additionally, because the
server-side unit for assigning data is collections of rows, this fraction
will always map to to a data storage boundary on the server side.
float fraction = 2;
Returns |
Type |
Description |
float |
The fraction.
|
getOriginalStream()
public Storage.Stream getOriginalStream()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
getOriginalStreamOrBuilder()
public Storage.StreamOrBuilder getOriginalStreamOrBuilder()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
getParserForType()
public Parser<Storage.SplitReadStreamRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasOriginalStream()
public boolean hasOriginalStream()
Required. Stream to split.
.google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the originalStream field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Storage.SplitReadStreamRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Storage.SplitReadStreamRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Storage.SplitReadStreamRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides