Class NameMappingKey.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NameMappingKey.Builder>
com.google.cloud.bigquery.migration.v2.NameMappingKey.Builder
- All Implemented Interfaces:
NameMappingKeyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NameMappingKey
public static final class NameMappingKey.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The attribute name (BigQuery column equivalent in the source data warehouse).The database name (BigQuery project ID equivalent in the source data warehouse).The relation name (BigQuery table or view equivalent in the source data warehouse).The schema name (BigQuery dataset equivalent in the source data warehouse).The type of object that is being mapped.The attribute name (BigQuery column equivalent in the source data warehouse).com.google.protobuf.ByteStringThe attribute name (BigQuery column equivalent in the source data warehouse).The database name (BigQuery project ID equivalent in the source data warehouse).com.google.protobuf.ByteStringThe database name (BigQuery project ID equivalent in the source data warehouse).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe relation name (BigQuery table or view equivalent in the source data warehouse).com.google.protobuf.ByteStringThe relation name (BigQuery table or view equivalent in the source data warehouse).The schema name (BigQuery dataset equivalent in the source data warehouse).com.google.protobuf.ByteStringThe schema name (BigQuery dataset equivalent in the source data warehouse).getType()The type of object that is being mapped.intThe type of object that is being mapped.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(NameMappingKey other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAttribute(String value) The attribute name (BigQuery column equivalent in the source data warehouse).setAttributeBytes(com.google.protobuf.ByteString value) The attribute name (BigQuery column equivalent in the source data warehouse).setDatabase(String value) The database name (BigQuery project ID equivalent in the source data warehouse).setDatabaseBytes(com.google.protobuf.ByteString value) The database name (BigQuery project ID equivalent in the source data warehouse).setRelation(String value) The relation name (BigQuery table or view equivalent in the source data warehouse).setRelationBytes(com.google.protobuf.ByteString value) The relation name (BigQuery table or view equivalent in the source data warehouse).The schema name (BigQuery dataset equivalent in the source data warehouse).setSchemaBytes(com.google.protobuf.ByteString value) The schema name (BigQuery dataset equivalent in the source data warehouse).setType(NameMappingKey.Type value) The type of object that is being mapped.setTypeValue(int value) The type of object that is being mapped.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<NameMappingKey.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NameMappingKey.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NameMappingKey.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NameMappingKey.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NameMappingKey.Builder>
-
mergeFrom
public NameMappingKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NameMappingKey.Builder>- Throws:
IOException
-
getTypeValue
public int getTypeValue()The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;- Specified by:
getTypeValuein interfaceNameMappingKeyOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;- Specified by:
getTypein interfaceNameMappingKeyOrBuilder- Returns:
- The type.
-
setType
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;- Returns:
- This builder for chaining.
-
getDatabase
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;- Specified by:
getDatabasein interfaceNameMappingKeyOrBuilder- Returns:
- The database.
-
getDatabaseBytes
public com.google.protobuf.ByteString getDatabaseBytes()The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;- Specified by:
getDatabaseBytesin interfaceNameMappingKeyOrBuilder- Returns:
- The bytes for database.
-
setDatabase
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;- Parameters:
value- The database to set.- Returns:
- This builder for chaining.
-
clearDatabase
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;- Returns:
- This builder for chaining.
-
setDatabaseBytes
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;- Parameters:
value- The bytes for database to set.- Returns:
- This builder for chaining.
-
getSchema
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;- Specified by:
getSchemain interfaceNameMappingKeyOrBuilder- Returns:
- The schema.
-
getSchemaBytes
public com.google.protobuf.ByteString getSchemaBytes()The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;- Specified by:
getSchemaBytesin interfaceNameMappingKeyOrBuilder- Returns:
- The bytes for schema.
-
setSchema
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;- Parameters:
value- The schema to set.- Returns:
- This builder for chaining.
-
clearSchema
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;- Returns:
- This builder for chaining.
-
setSchemaBytes
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;- Parameters:
value- The bytes for schema to set.- Returns:
- This builder for chaining.
-
getRelation
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;- Specified by:
getRelationin interfaceNameMappingKeyOrBuilder- Returns:
- The relation.
-
getRelationBytes
public com.google.protobuf.ByteString getRelationBytes()The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;- Specified by:
getRelationBytesin interfaceNameMappingKeyOrBuilder- Returns:
- The bytes for relation.
-
setRelation
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;- Parameters:
value- The relation to set.- Returns:
- This builder for chaining.
-
clearRelation
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;- Returns:
- This builder for chaining.
-
setRelationBytes
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;- Parameters:
value- The bytes for relation to set.- Returns:
- This builder for chaining.
-
getAttribute
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;- Specified by:
getAttributein interfaceNameMappingKeyOrBuilder- Returns:
- The attribute.
-
getAttributeBytes
public com.google.protobuf.ByteString getAttributeBytes()The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;- Specified by:
getAttributeBytesin interfaceNameMappingKeyOrBuilder- Returns:
- The bytes for attribute.
-
setAttribute
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;- Parameters:
value- The attribute to set.- Returns:
- This builder for chaining.
-
clearAttribute
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;- Returns:
- This builder for chaining.
-
setAttributeBytes
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;- Parameters:
value- The bytes for attribute to set.- Returns:
- This builder for chaining.
-