Class BigQueryDestinationConfig.BlmtConfig.Builder (1.82.0)

public static final class BigQueryDestinationConfig.BlmtConfig.Builder extends GeneratedMessage.Builder<BigQueryDestinationConfig.BlmtConfig.Builder> implements BigQueryDestinationConfig.BlmtConfigOrBuilder

The configuration for BLMT.

Protobuf type google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig

Static Methods

getDescriptor()

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

Methods

build()

public BigQueryDestinationConfig.BlmtConfig build()
Returns
Type Description
BigQueryDestinationConfig.BlmtConfig

buildPartial()

public BigQueryDestinationConfig.BlmtConfig buildPartial()
Returns
Type Description
BigQueryDestinationConfig.BlmtConfig

clear()

public BigQueryDestinationConfig.BlmtConfig.Builder clear()
Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder
Overrides

clearBucket()

public BigQueryDestinationConfig.BlmtConfig.Builder clearBucket()

Required. The Cloud Storage bucket name.

string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

clearConnectionName()

public BigQueryDestinationConfig.BlmtConfig.Builder clearConnectionName()

Required. The bigquery connection. Format: {project}.{location}.{name}

string connection_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

clearFileFormat()

public BigQueryDestinationConfig.BlmtConfig.Builder clearFileFormat()

Required. The file format.

.google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig.FileFormat file_format = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

clearRootPath()

public BigQueryDestinationConfig.BlmtConfig.Builder clearRootPath()

The root path inside the Cloud Storage bucket.

string root_path = 2;

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

clearTableFormat()

public BigQueryDestinationConfig.BlmtConfig.Builder clearTableFormat()

Required. The table format.

.google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig.TableFormat table_format = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

getBucket()

public String getBucket()

Required. The Cloud Storage bucket name.

string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Required. The Cloud Storage bucket name.

string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucket.

getConnectionName()

public String getConnectionName()

Required. The bigquery connection. Format: {project}.{location}.{name}

string connection_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The connectionName.

getConnectionNameBytes()

public ByteString getConnectionNameBytes()

Required. The bigquery connection. Format: {project}.{location}.{name}

string connection_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for connectionName.

getDefaultInstanceForType()

public BigQueryDestinationConfig.BlmtConfig getDefaultInstanceForType()
Returns
Type Description
BigQueryDestinationConfig.BlmtConfig

getDescriptorForType()

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

getFileFormat()

public BigQueryDestinationConfig.BlmtConfig.FileFormat getFileFormat()

Required. The file format.

.google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig.FileFormat file_format = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.FileFormat

The fileFormat.

getFileFormatValue()

public int getFileFormatValue()

Required. The file format.

.google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig.FileFormat file_format = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for fileFormat.

getRootPath()

public String getRootPath()

The root path inside the Cloud Storage bucket.

string root_path = 2;

Returns
Type Description
String

The rootPath.

getRootPathBytes()

public ByteString getRootPathBytes()

The root path inside the Cloud Storage bucket.

string root_path = 2;

Returns
Type Description
ByteString

The bytes for rootPath.

getTableFormat()

public BigQueryDestinationConfig.BlmtConfig.TableFormat getTableFormat()

Required. The table format.

.google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig.TableFormat table_format = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.TableFormat

The tableFormat.

getTableFormatValue()

public int getTableFormatValue()

Required. The table format.

.google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig.TableFormat table_format = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for tableFormat.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryDestinationConfig.BlmtConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBucket(String value)

public BigQueryDestinationConfig.BlmtConfig.Builder setBucket(String value)

Required. The Cloud Storage bucket name.

string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The bucket to set.

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public BigQueryDestinationConfig.BlmtConfig.Builder setBucketBytes(ByteString value)

Required. The Cloud Storage bucket name.

string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for bucket to set.

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

setConnectionName(String value)

public BigQueryDestinationConfig.BlmtConfig.Builder setConnectionName(String value)

Required. The bigquery connection. Format: {project}.{location}.{name}

string connection_name = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The connectionName to set.

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

setConnectionNameBytes(ByteString value)

public BigQueryDestinationConfig.BlmtConfig.Builder setConnectionNameBytes(ByteString value)

Required. The bigquery connection. Format: {project}.{location}.{name}

string connection_name = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for connectionName to set.

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

setFileFormat(BigQueryDestinationConfig.BlmtConfig.FileFormat value)

public BigQueryDestinationConfig.BlmtConfig.Builder setFileFormat(BigQueryDestinationConfig.BlmtConfig.FileFormat value)

Required. The file format.

.google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig.FileFormat file_format = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BigQueryDestinationConfig.BlmtConfig.FileFormat

The fileFormat to set.

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

setFileFormatValue(int value)

public BigQueryDestinationConfig.BlmtConfig.Builder setFileFormatValue(int value)

Required. The file format.

.google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig.FileFormat file_format = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for fileFormat to set.

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

setRootPath(String value)

public BigQueryDestinationConfig.BlmtConfig.Builder setRootPath(String value)

The root path inside the Cloud Storage bucket.

string root_path = 2;

Parameter
Name Description
value String

The rootPath to set.

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

setRootPathBytes(ByteString value)

public BigQueryDestinationConfig.BlmtConfig.Builder setRootPathBytes(ByteString value)

The root path inside the Cloud Storage bucket.

string root_path = 2;

Parameter
Name Description
value ByteString

The bytes for rootPath to set.

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

setTableFormat(BigQueryDestinationConfig.BlmtConfig.TableFormat value)

public BigQueryDestinationConfig.BlmtConfig.Builder setTableFormat(BigQueryDestinationConfig.BlmtConfig.TableFormat value)

Required. The table format.

.google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig.TableFormat table_format = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BigQueryDestinationConfig.BlmtConfig.TableFormat

The tableFormat to set.

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.

setTableFormatValue(int value)

public BigQueryDestinationConfig.BlmtConfig.Builder setTableFormatValue(int value)

Required. The table format.

.google.cloud.datastream.v1.BigQueryDestinationConfig.BlmtConfig.TableFormat table_format = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for tableFormat to set.

Returns
Type Description
BigQueryDestinationConfig.BlmtConfig.Builder

This builder for chaining.