Class NameMappingValue.Builder (0.56.0)

public static final class NameMappingValue.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NameMappingValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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