Class FinalizeWriteStreamRequest.Builder (3.10.2)

public static final class FinalizeWriteStreamRequest.Builder extends GeneratedMessageV3.Builder<FinalizeWriteStreamRequest.Builder> implements FinalizeWriteStreamRequestOrBuilder

Request message for invoking FinalizeWriteStream.

Protobuf type google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FinalizeWriteStreamRequest build()
Returns
Type Description
FinalizeWriteStreamRequest

buildPartial()

public FinalizeWriteStreamRequest buildPartial()
Returns
Type Description
FinalizeWriteStreamRequest

clear()

public FinalizeWriteStreamRequest.Builder clear()
Returns
Type Description
FinalizeWriteStreamRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public FinalizeWriteStreamRequest.Builder clearName()

Required. Name of the stream to finalize, in the form of projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
FinalizeWriteStreamRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public FinalizeWriteStreamRequest.Builder clone()
Returns
Type Description
FinalizeWriteStreamRequest.Builder
Overrides

getDefaultInstanceForType()

public FinalizeWriteStreamRequest getDefaultInstanceForType()
Returns
Type Description
FinalizeWriteStreamRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. Name of the stream to finalize, in the form of projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the stream to finalize, in the form of projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FinalizeWriteStreamRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public FinalizeWriteStreamRequest.Builder setName(String value)

Required. Name of the stream to finalize, in the form of projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FinalizeWriteStreamRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FinalizeWriteStreamRequest.Builder setNameBytes(ByteString value)

Required. Name of the stream to finalize, in the form of projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FinalizeWriteStreamRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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