Class NameMappingKey.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.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 typegoogle.cloud.bigquery.migration.v2.NameMappingKey
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NameMappingKey.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NameMappingKeybuild()NameMappingKeybuildPartial()NameMappingKey.Builderclear()NameMappingKey.BuilderclearAttribute()The attribute name (BigQuery column equivalent in the source data warehouse).NameMappingKey.BuilderclearDatabase()The database name (BigQuery project ID equivalent in the source data warehouse).NameMappingKey.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NameMappingKey.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NameMappingKey.BuilderclearRelation()The relation name (BigQuery table or view equivalent in the source data warehouse).NameMappingKey.BuilderclearSchema()The schema name (BigQuery dataset equivalent in the source data warehouse).NameMappingKey.BuilderclearType()The type of object that is being mapped.NameMappingKey.Builderclone()StringgetAttribute()The attribute name (BigQuery column equivalent in the source data warehouse).com.google.protobuf.ByteStringgetAttributeBytes()The attribute name (BigQuery column equivalent in the source data warehouse).StringgetDatabase()The database name (BigQuery project ID equivalent in the source data warehouse).com.google.protobuf.ByteStringgetDatabaseBytes()The database name (BigQuery project ID equivalent in the source data warehouse).NameMappingKeygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetRelation()The relation name (BigQuery table or view equivalent in the source data warehouse).com.google.protobuf.ByteStringgetRelationBytes()The relation name (BigQuery table or view equivalent in the source data warehouse).StringgetSchema()The schema name (BigQuery dataset equivalent in the source data warehouse).com.google.protobuf.ByteStringgetSchemaBytes()The schema name (BigQuery dataset equivalent in the source data warehouse).NameMappingKey.TypegetType()The type of object that is being mapped.intgetTypeValue()The type of object that is being mapped.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NameMappingKey.BuildermergeFrom(NameMappingKey other)NameMappingKey.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NameMappingKey.BuildermergeFrom(com.google.protobuf.Message other)NameMappingKey.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NameMappingKey.BuildersetAttribute(String value)The attribute name (BigQuery column equivalent in the source data warehouse).NameMappingKey.BuildersetAttributeBytes(com.google.protobuf.ByteString value)The attribute name (BigQuery column equivalent in the source data warehouse).NameMappingKey.BuildersetDatabase(String value)The database name (BigQuery project ID equivalent in the source data warehouse).NameMappingKey.BuildersetDatabaseBytes(com.google.protobuf.ByteString value)The database name (BigQuery project ID equivalent in the source data warehouse).NameMappingKey.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NameMappingKey.BuildersetRelation(String value)The relation name (BigQuery table or view equivalent in the source data warehouse).NameMappingKey.BuildersetRelationBytes(com.google.protobuf.ByteString value)The relation name (BigQuery table or view equivalent in the source data warehouse).NameMappingKey.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NameMappingKey.BuildersetSchema(String value)The schema name (BigQuery dataset equivalent in the source data warehouse).NameMappingKey.BuildersetSchemaBytes(com.google.protobuf.ByteString value)The schema name (BigQuery dataset equivalent in the source data warehouse).NameMappingKey.BuildersetType(NameMappingKey.Type value)The type of object that is being mapped.NameMappingKey.BuildersetTypeValue(int value)The type of object that is being mapped.NameMappingKey.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
clear
public NameMappingKey.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
getDefaultInstanceForType
public NameMappingKey getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NameMappingKey build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NameMappingKey buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NameMappingKey.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
setField
public NameMappingKey.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
clearField
public NameMappingKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
clearOneof
public NameMappingKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
setRepeatedField
public NameMappingKey.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
addRepeatedField
public NameMappingKey.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
mergeFrom
public NameMappingKey.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NameMappingKey.Builder>
-
mergeFrom
public NameMappingKey.Builder mergeFrom(NameMappingKey other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public NameMappingKey.Builder setTypeValue(int value)
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
public NameMappingKey.Type 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
public NameMappingKey.Builder setType(NameMappingKey.Type value)
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
public NameMappingKey.Builder clearType()
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;- Returns:
- This builder for chaining.
-
getDatabase
public String 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
public NameMappingKey.Builder setDatabase(String value)
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
public NameMappingKey.Builder clearDatabase()
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;- Returns:
- This builder for chaining.
-
setDatabaseBytes
public NameMappingKey.Builder setDatabaseBytes(com.google.protobuf.ByteString value)
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
public String 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
public NameMappingKey.Builder setSchema(String value)
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
public NameMappingKey.Builder clearSchema()
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;- Returns:
- This builder for chaining.
-
setSchemaBytes
public NameMappingKey.Builder setSchemaBytes(com.google.protobuf.ByteString value)
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
public String 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
public NameMappingKey.Builder setRelation(String value)
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
public NameMappingKey.Builder clearRelation()
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;- Returns:
- This builder for chaining.
-
setRelationBytes
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;- Parameters:
value- The bytes for relation to set.- Returns:
- This builder for chaining.
-
getAttribute
public String 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
public NameMappingKey.Builder setAttribute(String value)
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
public NameMappingKey.Builder clearAttribute()
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;- Returns:
- This builder for chaining.
-
setAttributeBytes
public NameMappingKey.Builder setAttributeBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final NameMappingKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
mergeUnknownFields
public final NameMappingKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
-