Class NameMappingValue.Builder (0.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NameMappingValue build()
Returns
TypeDescription
NameMappingValue

buildPartial()

public NameMappingValue buildPartial()
Returns
TypeDescription
NameMappingValue

clear()

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

clearAttribute()

public NameMappingValue.Builder clearAttribute()

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

string attribute = 4;

Returns
TypeDescription
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
TypeDescription
NameMappingValue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NameMappingValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NameMappingValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NameMappingValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
NameMappingValue.Builder

This builder for chaining.

clone()

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

getAttribute()

public String getAttribute()

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

string attribute = 4;

Returns
TypeDescription
String

The attribute.

getAttributeBytes()

public ByteString getAttributeBytes()

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

string attribute = 4;

Returns
TypeDescription
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
TypeDescription
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

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

string database = 1;

Returns
TypeDescription
ByteString

The bytes for database.

getDefaultInstanceForType()

public NameMappingValue getDefaultInstanceForType()
Returns
TypeDescription
NameMappingValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRelation()

public String getRelation()

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

string relation = 3;

Returns
TypeDescription
String

The relation.

getRelationBytes()

public ByteString getRelationBytes()

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

string relation = 3;

Returns
TypeDescription
ByteString

The bytes for relation.

getSchema()

public String getSchema()

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

string schema = 2;

Returns
TypeDescription
String

The schema.

getSchemaBytes()

public ByteString getSchemaBytes()

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

string schema = 2;

Returns
TypeDescription
ByteString

The bytes for schema.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NameMappingValue other)

public NameMappingValue.Builder mergeFrom(NameMappingValue other)
Parameter
NameDescription
otherNameMappingValue
Returns
TypeDescription
NameMappingValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NameMappingValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The attribute to set.

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

The bytes for attribute to set.

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

The database to set.

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

The bytes for database to set.

Returns
TypeDescription
NameMappingValue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The relation to set.

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

The bytes for relation to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The schema to set.

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

The bytes for schema to set.

Returns
TypeDescription
NameMappingValue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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