public static final class NameMappingKey.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder> implements NameMappingKeyOrBuilder
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| Modifier and Type | Method and Description |
|---|---|
NameMappingKey.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NameMappingKey |
build() |
NameMappingKey |
buildPartial() |
NameMappingKey.Builder |
clear() |
NameMappingKey.Builder |
clearAttribute()
The attribute name (BigQuery column equivalent in the source data
warehouse).
|
NameMappingKey.Builder |
clearDatabase()
The database name (BigQuery project ID equivalent in the source data
warehouse).
|
NameMappingKey.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NameMappingKey.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NameMappingKey.Builder |
clearRelation()
The relation name (BigQuery table or view equivalent in the source data
warehouse).
|
NameMappingKey.Builder |
clearSchema()
The schema name (BigQuery dataset equivalent in the source data warehouse).
|
NameMappingKey.Builder |
clearType()
The type of object that is being mapped.
|
NameMappingKey.Builder |
clone() |
String |
getAttribute()
The attribute name (BigQuery column equivalent in the source data
warehouse).
|
com.google.protobuf.ByteString |
getAttributeBytes()
The attribute name (BigQuery column equivalent in the source data
warehouse).
|
String |
getDatabase()
The database name (BigQuery project ID equivalent in the source data
warehouse).
|
com.google.protobuf.ByteString |
getDatabaseBytes()
The database name (BigQuery project ID equivalent in the source data
warehouse).
|
NameMappingKey |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getRelation()
The relation name (BigQuery table or view equivalent in the source data
warehouse).
|
com.google.protobuf.ByteString |
getRelationBytes()
The relation name (BigQuery table or view equivalent in the source data
warehouse).
|
String |
getSchema()
The schema name (BigQuery dataset equivalent in the source data warehouse).
|
com.google.protobuf.ByteString |
getSchemaBytes()
The schema name (BigQuery dataset equivalent in the source data warehouse).
|
NameMappingKey.Type |
getType()
The type of object that is being mapped.
|
int |
getTypeValue()
The type of object that is being mapped.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NameMappingKey.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NameMappingKey.Builder |
mergeFrom(com.google.protobuf.Message other) |
NameMappingKey.Builder |
mergeFrom(NameMappingKey other) |
NameMappingKey.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NameMappingKey.Builder |
setAttribute(String value)
The attribute name (BigQuery column equivalent in the source data
warehouse).
|
NameMappingKey.Builder |
setAttributeBytes(com.google.protobuf.ByteString value)
The attribute name (BigQuery column equivalent in the source data
warehouse).
|
NameMappingKey.Builder |
setDatabase(String value)
The database name (BigQuery project ID equivalent in the source data
warehouse).
|
NameMappingKey.Builder |
setDatabaseBytes(com.google.protobuf.ByteString value)
The database name (BigQuery project ID equivalent in the source data
warehouse).
|
NameMappingKey.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NameMappingKey.Builder |
setRelation(String value)
The relation name (BigQuery table or view equivalent in the source data
warehouse).
|
NameMappingKey.Builder |
setRelationBytes(com.google.protobuf.ByteString value)
The relation name (BigQuery table or view equivalent in the source data
warehouse).
|
NameMappingKey.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NameMappingKey.Builder |
setSchema(String value)
The schema name (BigQuery dataset equivalent in the source data warehouse).
|
NameMappingKey.Builder |
setSchemaBytes(com.google.protobuf.ByteString value)
The schema name (BigQuery dataset equivalent in the source data warehouse).
|
NameMappingKey.Builder |
setType(NameMappingKey.Type value)
The type of object that is being mapped.
|
NameMappingKey.Builder |
setTypeValue(int value)
The type of object that is being mapped.
|
NameMappingKey.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public NameMappingKey.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public NameMappingKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NameMappingKey build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NameMappingKey buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NameMappingKey.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public NameMappingKey.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public NameMappingKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public NameMappingKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public NameMappingKey.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public NameMappingKey.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public NameMappingKey.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NameMappingKey.Builder>public NameMappingKey.Builder mergeFrom(NameMappingKey other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public NameMappingKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NameMappingKey.Builder>IOExceptionpublic int getTypeValue()
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;getTypeValue in interface NameMappingKeyOrBuilderpublic NameMappingKey.Builder setTypeValue(int value)
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;value - The enum numeric value on the wire for type to set.public NameMappingKey.Type getType()
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;getType in interface NameMappingKeyOrBuilderpublic NameMappingKey.Builder setType(NameMappingKey.Type value)
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;value - The type to set.public NameMappingKey.Builder clearType()
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;public String getDatabase()
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;getDatabase in interface NameMappingKeyOrBuilderpublic com.google.protobuf.ByteString getDatabaseBytes()
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;getDatabaseBytes in interface NameMappingKeyOrBuilderpublic NameMappingKey.Builder setDatabase(String value)
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;value - The database to set.public NameMappingKey.Builder clearDatabase()
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;public NameMappingKey.Builder setDatabaseBytes(com.google.protobuf.ByteString value)
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;value - The bytes for database to set.public String getSchema()
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;getSchema in interface NameMappingKeyOrBuilderpublic com.google.protobuf.ByteString getSchemaBytes()
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;getSchemaBytes in interface NameMappingKeyOrBuilderpublic NameMappingKey.Builder setSchema(String value)
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;value - The schema to set.public NameMappingKey.Builder clearSchema()
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;public NameMappingKey.Builder setSchemaBytes(com.google.protobuf.ByteString value)
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;value - The bytes for schema to set.public String getRelation()
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;getRelation in interface NameMappingKeyOrBuilderpublic com.google.protobuf.ByteString getRelationBytes()
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;getRelationBytes in interface NameMappingKeyOrBuilderpublic NameMappingKey.Builder setRelation(String value)
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;value - The relation to set.public NameMappingKey.Builder clearRelation()
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;public NameMappingKey.Builder setRelationBytes(com.google.protobuf.ByteString value)
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;value - The bytes for relation to set.public String getAttribute()
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;getAttribute in interface NameMappingKeyOrBuilderpublic com.google.protobuf.ByteString getAttributeBytes()
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;getAttributeBytes in interface NameMappingKeyOrBuilderpublic NameMappingKey.Builder setAttribute(String value)
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;value - The attribute to set.public NameMappingKey.Builder clearAttribute()
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;public NameMappingKey.Builder setAttributeBytes(com.google.protobuf.ByteString value)
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;value - The bytes for attribute to set.public final NameMappingKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>public final NameMappingKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>Copyright © 2024 Google LLC. All rights reserved.