Class NameMappingValue.Builder (0.86.0)

public static final class NameMappingValue.Builder extends GeneratedMessage.Builder<NameMappingValue.Builder> implements NameMappingValueOrBuilder

The potential components of a full name mapping that will be mapped during translation in the target data warehouse.

Protobuf type google.cloud.bigquery.migration.v2.NameMappingValue

Static Methods

getDescriptor()

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

Methods

build()

public NameMappingValue build()
Returns
Type Description
NameMappingValue

buildPartial()

public NameMappingValue buildPartial()
Returns
Type Description
NameMappingValue

clear()

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

clearAttribute()

public NameMappingValue.Builder clearAttribute()

The attribute name (BigQuery column equivalent in the target data warehouse).

string attribute = 4;

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

clearDatabase()

public NameMappingValue.Builder clearDatabase()

The database name (BigQuery project ID equivalent in the target data warehouse).

string database = 1;

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

clearRelation()

public NameMappingValue.Builder clearRelation()

The relation name (BigQuery table or view equivalent in the target data warehouse).

string relation = 3;

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

clearSchema()

public NameMappingValue.Builder clearSchema()

The schema name (BigQuery dataset equivalent in the target data warehouse).

string schema = 2;

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

getAttribute()

public String getAttribute()

The attribute name (BigQuery column equivalent in the target data warehouse).

string attribute = 4;

Returns
Type Description
String

The attribute.

getAttributeBytes()

public ByteString getAttributeBytes()

The attribute name (BigQuery column equivalent in the target data warehouse).

string attribute = 4;

Returns
Type Description
ByteString

The bytes for attribute.

getDatabase()

public String getDatabase()

The database name (BigQuery project ID equivalent in the target data warehouse).

string database = 1;

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

The database name (BigQuery project ID equivalent in the target data warehouse).

string database = 1;

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public NameMappingValue getDefaultInstanceForType()
Returns
Type Description
NameMappingValue

getDescriptorForType()

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

getRelation()

public String getRelation()

The relation name (BigQuery table or view equivalent in the target data warehouse).

string relation = 3;

Returns
Type Description
String

The relation.

getRelationBytes()

public ByteString getRelationBytes()

The relation name (BigQuery table or view equivalent in the target data warehouse).

string relation = 3;

Returns
Type Description
ByteString

The bytes for relation.

getSchema()

public String getSchema()

The schema name (BigQuery dataset equivalent in the target data warehouse).

string schema = 2;

Returns
Type Description
String

The schema.

getSchemaBytes()

public ByteString getSchemaBytes()

The schema name (BigQuery dataset equivalent in the target data warehouse).

string schema = 2;

Returns
Type Description
ByteString

The bytes for schema.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NameMappingValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAttribute(String value)

public NameMappingValue.Builder setAttribute(String value)

The attribute name (BigQuery column equivalent in the target data warehouse).

string attribute = 4;

Parameter
Name Description
value String

The attribute to set.

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

setAttributeBytes(ByteString value)

public NameMappingValue.Builder setAttributeBytes(ByteString value)

The attribute name (BigQuery column equivalent in the target data warehouse).

string attribute = 4;

Parameter
Name Description
value ByteString

The bytes for attribute to set.

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

setDatabase(String value)

public NameMappingValue.Builder setDatabase(String value)

The database name (BigQuery project ID equivalent in the target data warehouse).

string database = 1;

Parameter
Name Description
value String

The database to set.

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

public NameMappingValue.Builder setDatabaseBytes(ByteString value)

The database name (BigQuery project ID equivalent in the target data warehouse).

string database = 1;

Parameter
Name Description
value ByteString

The bytes for database to set.

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

setRelation(String value)

public NameMappingValue.Builder setRelation(String value)

The relation name (BigQuery table or view equivalent in the target data warehouse).

string relation = 3;

Parameter
Name Description
value String

The relation to set.

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

setRelationBytes(ByteString value)

public NameMappingValue.Builder setRelationBytes(ByteString value)

The relation name (BigQuery table or view equivalent in the target data warehouse).

string relation = 3;

Parameter
Name Description
value ByteString

The bytes for relation to set.

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

setSchema(String value)

public NameMappingValue.Builder setSchema(String value)

The schema name (BigQuery dataset equivalent in the target data warehouse).

string schema = 2;

Parameter
Name Description
value String

The schema to set.

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.

setSchemaBytes(ByteString value)

public NameMappingValue.Builder setSchemaBytes(ByteString value)

The schema name (BigQuery dataset equivalent in the target data warehouse).

string schema = 2;

Parameter
Name Description
value ByteString

The bytes for schema to set.

Returns
Type Description
NameMappingValue.Builder

This builder for chaining.