Class FinalizeWriteStreamRequest.Builder (2.22.0)

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

Request message for invoking FinalizeWriteStream.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FinalizeWriteStreamRequest build()
Returns
TypeDescription
FinalizeWriteStreamRequest

buildPartial()

public FinalizeWriteStreamRequest buildPartial()
Returns
TypeDescription
FinalizeWriteStreamRequest

clear()

public FinalizeWriteStreamRequest.Builder clear()
Returns
TypeDescription
FinalizeWriteStreamRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FinalizeWriteStreamRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FinalizeWriteStreamRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FinalizeWriteStreamRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FinalizeWriteStreamRequest.Builder
Overrides

clone()

public FinalizeWriteStreamRequest.Builder clone()
Returns
TypeDescription
FinalizeWriteStreamRequest.Builder
Overrides

getDefaultInstanceForType()

public FinalizeWriteStreamRequest getDefaultInstanceForType()
Returns
TypeDescription
FinalizeWriteStreamRequest

getDescriptorForType()

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

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FinalizeWriteStreamRequest other)

public FinalizeWriteStreamRequest.Builder mergeFrom(FinalizeWriteStreamRequest other)
Parameter
NameDescription
otherFinalizeWriteStreamRequest
Returns
TypeDescription
FinalizeWriteStreamRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FinalizeWriteStreamRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FinalizeWriteStreamRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public FinalizeWriteStreamRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FinalizeWriteStreamRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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