Class Storage.FinalizeStreamRequest.Builder (3.9.1)

public static final class Storage.FinalizeStreamRequest.Builder extends GeneratedMessageV3.Builder<Storage.FinalizeStreamRequest.Builder> implements Storage.FinalizeStreamRequestOrBuilder

Request information for invoking FinalizeStream.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Storage.FinalizeStreamRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Storage.FinalizeStreamRequest.Builder clear()
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Storage.FinalizeStreamRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Storage.FinalizeStreamRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides

clearStream()

public Storage.FinalizeStreamRequest.Builder clearStream()

Required. Stream to finalize.

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

Returns
Type Description
Storage.FinalizeStreamRequest.Builder

clone()

public Storage.FinalizeStreamRequest.Builder clone()
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getStreamBuilder()

public Storage.Stream.Builder getStreamBuilder()

Required. Stream to finalize.

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

Returns
Type Description
Storage.Stream.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Storage.FinalizeStreamRequest other)

public Storage.FinalizeStreamRequest.Builder mergeFrom(Storage.FinalizeStreamRequest other)
Parameter
Name Description
other Storage.FinalizeStreamRequest
Returns
Type Description
Storage.FinalizeStreamRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Storage.FinalizeStreamRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Storage.FinalizeStreamRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides

mergeStream(Storage.Stream value)

public Storage.FinalizeStreamRequest.Builder mergeStream(Storage.Stream value)

Required. Stream to finalize.

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

Parameter
Name Description
value Storage.Stream
Returns
Type Description
Storage.FinalizeStreamRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Storage.FinalizeStreamRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Storage.FinalizeStreamRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Storage.FinalizeStreamRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides

setStream(Storage.Stream value)

public Storage.FinalizeStreamRequest.Builder setStream(Storage.Stream value)

Required. Stream to finalize.

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

Parameter
Name Description
value Storage.Stream
Returns
Type Description
Storage.FinalizeStreamRequest.Builder

setStream(Storage.Stream.Builder builderForValue)

public Storage.FinalizeStreamRequest.Builder setStream(Storage.Stream.Builder builderForValue)

Required. Stream to finalize.

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

Parameter
Name Description
builderForValue Storage.Stream.Builder
Returns
Type Description
Storage.FinalizeStreamRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Storage.FinalizeStreamRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Storage.FinalizeStreamRequest.Builder
Overrides