Class NameMappingKey.Builder (0.79.0)

publicstaticfinalclass NameMappingKey.BuilderextendsGeneratedMessageV3.Builder<NameMappingKey.Builder>implementsNameMappingKeyOrBuilder

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

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicNameMappingKey.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NameMappingKey.Builder
Overrides

build()

publicNameMappingKeybuild()
Returns
Type Description
NameMappingKey

buildPartial()

publicNameMappingKeybuildPartial()
Returns
Type Description
NameMappingKey

clear()

publicNameMappingKey.Builderclear()
Returns
Type Description
NameMappingKey.Builder
Overrides

clearAttribute()

publicNameMappingKey.BuilderclearAttribute()

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

string attribute = 5;

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

clearDatabase()

publicNameMappingKey.BuilderclearDatabase()

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

string database = 2;

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicNameMappingKey.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NameMappingKey.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicNameMappingKey.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NameMappingKey.Builder
Overrides

clearRelation()

publicNameMappingKey.BuilderclearRelation()

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

string relation = 4;

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

clearSchema()

publicNameMappingKey.BuilderclearSchema()

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

string schema = 3;

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

clearType()

publicNameMappingKey.BuilderclearType()

The type of object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

clone()

publicNameMappingKey.Builderclone()
Returns
Type Description
NameMappingKey.Builder
Overrides

getAttribute()

publicStringgetAttribute()

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

string attribute = 5;

Returns
Type Description
String

The attribute.

getAttributeBytes()

publicByteStringgetAttributeBytes()

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

string attribute = 5;

Returns
Type Description
ByteString

The bytes for attribute.

getDatabase()

publicStringgetDatabase()

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

string database = 2;

Returns
Type Description
String

The database.

getDatabaseBytes()

publicByteStringgetDatabaseBytes()

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

string database = 2;

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

publicNameMappingKeygetDefaultInstanceForType()
Returns
Type Description
NameMappingKey

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRelation()

publicStringgetRelation()

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

string relation = 4;

Returns
Type Description
String

The relation.

getRelationBytes()

publicByteStringgetRelationBytes()

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

string relation = 4;

Returns
Type Description
ByteString

The bytes for relation.

getSchema()

publicStringgetSchema()

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

string schema = 3;

Returns
Type Description
String

The schema.

getSchemaBytes()

publicByteStringgetSchemaBytes()

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

string schema = 3;

Returns
Type Description
ByteString

The bytes for schema.

getType()

publicNameMappingKey.TypegetType()

The type of object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;

Returns
Type Description
NameMappingKey.Type

The type.

getTypeValue()

publicintgetTypeValue()

The type of object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NameMappingKey other)

publicNameMappingKey.BuildermergeFrom(NameMappingKeyother)
Parameter
Name Description
other NameMappingKey
Returns
Type Description
NameMappingKey.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicNameMappingKey.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NameMappingKey.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicNameMappingKey.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
NameMappingKey.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalNameMappingKey.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NameMappingKey.Builder
Overrides

setAttribute(String value)

publicNameMappingKey.BuildersetAttribute(Stringvalue)

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

string attribute = 5;

Parameter
Name Description
value String

The attribute to set.

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

setAttributeBytes(ByteString value)

publicNameMappingKey.BuildersetAttributeBytes(ByteStringvalue)

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

string attribute = 5;

Parameter
Name Description
value ByteString

The bytes for attribute to set.

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

setDatabase(String value)

publicNameMappingKey.BuildersetDatabase(Stringvalue)

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

string database = 2;

Parameter
Name Description
value String

The database to set.

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

publicNameMappingKey.BuildersetDatabaseBytes(ByteStringvalue)

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

string database = 2;

Parameter
Name Description
value ByteString

The bytes for database to set.

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicNameMappingKey.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NameMappingKey.Builder
Overrides

setRelation(String value)

publicNameMappingKey.BuildersetRelation(Stringvalue)

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

string relation = 4;

Parameter
Name Description
value String

The relation to set.

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

setRelationBytes(ByteString value)

publicNameMappingKey.BuildersetRelationBytes(ByteStringvalue)

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

string relation = 4;

Parameter
Name Description
value ByteString

The bytes for relation to set.

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

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

publicNameMappingKey.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NameMappingKey.Builder
Overrides

setSchema(String value)

publicNameMappingKey.BuildersetSchema(Stringvalue)

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

string schema = 3;

Parameter
Name Description
value String

The schema to set.

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

setSchemaBytes(ByteString value)

publicNameMappingKey.BuildersetSchemaBytes(ByteStringvalue)

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

string schema = 3;

Parameter
Name Description
value ByteString

The bytes for schema to set.

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

setType(NameMappingKey.Type value)

publicNameMappingKey.BuildersetType(NameMappingKey.Typevalue)

The type of object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;

Parameter
Name Description
value NameMappingKey.Type

The type to set.

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

setTypeValue(int value)

publicNameMappingKey.BuildersetTypeValue(intvalue)

The type of object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;

Parameter
Name Description
value int

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

Returns
Type Description
NameMappingKey.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalNameMappingKey.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NameMappingKey.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.