Class Storage.FinalizeStreamRequest.Builder (2.30.0)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Storage.FinalizeStreamRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Storage.FinalizeStreamRequest.Builder clear()
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Storage.FinalizeStreamRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Storage.FinalizeStreamRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Storage.FinalizeStreamRequest.Builder

clone()

public Storage.FinalizeStreamRequest.Builder clone()
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Storage.FinalizeStreamRequest other)

public Storage.FinalizeStreamRequest.Builder mergeFrom(Storage.FinalizeStreamRequest other)
Parameter
NameDescription
otherStorage.FinalizeStreamRequest
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Storage.FinalizeStreamRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Storage.FinalizeStreamRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueStorage.Stream
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Storage.FinalizeStreamRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Storage.FinalizeStreamRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueStorage.Stream
Returns
TypeDescription
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
NameDescription
builderForValueStorage.Stream.Builder
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Storage.FinalizeStreamRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Storage.FinalizeStreamRequest.Builder
Overrides