Class Storage.FinalizeStreamRequest (3.3.1)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Storage.FinalizeStreamRequest getDefaultInstance()
Returns
TypeDescription
Storage.FinalizeStreamRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Storage.FinalizeStreamRequest.Builder newBuilder()
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder

newBuilder(Storage.FinalizeStreamRequest prototype)

public static Storage.FinalizeStreamRequest.Builder newBuilder(Storage.FinalizeStreamRequest prototype)
Parameter
NameDescription
prototypeStorage.FinalizeStreamRequest
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder

parseDelimitedFrom(InputStream input)

public static Storage.FinalizeStreamRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Storage.FinalizeStreamRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Storage.FinalizeStreamRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Storage.FinalizeStreamRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Storage.FinalizeStreamRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Storage.FinalizeStreamRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Storage.FinalizeStreamRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.FinalizeStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Storage.FinalizeStreamRequest getDefaultInstanceForType()
Returns
TypeDescription
Storage.FinalizeStreamRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Storage.StreamOrBuilder

hasStream()

public boolean hasStream()

Required. Stream to finalize.

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

Returns
TypeDescription
boolean

Whether the stream field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Storage.FinalizeStreamRequest.Builder newBuilderForType()
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Storage.FinalizeStreamRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Storage.FinalizeStreamRequest.Builder toBuilder()
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException