Class Storage.FinalizeStreamRequest (3.5.2)

public static final class Storage.FinalizeStreamRequest extends GeneratedMessageV3 implements Storage.FinalizeStreamRequestOrBuilder

Request information for invoking FinalizeStream.

Protobuf type google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest

Static Fields

STREAM_FIELD_NUMBER

public static final int STREAM_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Storage.FinalizeStreamRequest getDefaultInstance()
Returns
Type Description
Storage.FinalizeStreamRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Storage.FinalizeStreamRequest.Builder newBuilder()
Returns
Type Description
Storage.FinalizeStreamRequest.Builder

newBuilder(Storage.FinalizeStreamRequest prototype)

public static Storage.FinalizeStreamRequest.Builder newBuilder(Storage.FinalizeStreamRequest prototype)
Parameter
Name Description
prototype Storage.FinalizeStreamRequest
Returns
Type Description
Storage.FinalizeStreamRequest.Builder

parseDelimitedFrom(InputStream input)

public static Storage.FinalizeStreamRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Storage.FinalizeStreamRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Storage.FinalizeStreamRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Storage.FinalizeStreamRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Storage.FinalizeStreamRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Storage.FinalizeStreamRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.FinalizeStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Storage.FinalizeStreamRequest> parser()
Returns
Type Description
Parser<FinalizeStreamRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Storage.FinalizeStreamRequest getDefaultInstanceForType()
Returns
Type Description
Storage.FinalizeStreamRequest

getParserForType()

public Parser<Storage.FinalizeStreamRequest> getParserForType()
Returns
Type Description
Parser<FinalizeStreamRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStream()

public Storage.Stream getStream()

Required. Stream to finalize.

.google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Storage.Stream

The stream.

getStreamOrBuilder()

public Storage.StreamOrBuilder getStreamOrBuilder()

Required. Stream to finalize.

.google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Storage.StreamOrBuilder

hasStream()

public boolean hasStream()

Required. Stream to finalize.

.google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the stream field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Storage.FinalizeStreamRequest.Builder newBuilderForType()
Returns
Type Description
Storage.FinalizeStreamRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Storage.FinalizeStreamRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Storage.FinalizeStreamRequest.Builder toBuilder()
Returns
Type Description
Storage.FinalizeStreamRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException