Class NameMappingValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NameMappingValue.Builder>
-
- com.google.cloud.bigquery.migration.v2.NameMappingValue.Builder
-
- All Implemented Interfaces:
NameMappingValueOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NameMappingValue
public static final class NameMappingValue.Builder extends com.google.protobuf.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 typegoogle.cloud.bigquery.migration.v2.NameMappingValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NameMappingValue.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NameMappingValuebuild()NameMappingValuebuildPartial()NameMappingValue.Builderclear()NameMappingValue.BuilderclearAttribute()The attribute name (BigQuery column equivalent in the target data warehouse).NameMappingValue.BuilderclearDatabase()The database name (BigQuery project ID equivalent in the target data warehouse).NameMappingValue.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NameMappingValue.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NameMappingValue.BuilderclearRelation()The relation name (BigQuery table or view equivalent in the target data warehouse).NameMappingValue.BuilderclearSchema()The schema name (BigQuery dataset equivalent in the target data warehouse).NameMappingValue.Builderclone()StringgetAttribute()The attribute name (BigQuery column equivalent in the target data warehouse).com.google.protobuf.ByteStringgetAttributeBytes()The attribute name (BigQuery column equivalent in the target data warehouse).StringgetDatabase()The database name (BigQuery project ID equivalent in the target data warehouse).com.google.protobuf.ByteStringgetDatabaseBytes()The database name (BigQuery project ID equivalent in the target data warehouse).NameMappingValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetRelation()The relation name (BigQuery table or view equivalent in the target data warehouse).com.google.protobuf.ByteStringgetRelationBytes()The relation name (BigQuery table or view equivalent in the target data warehouse).StringgetSchema()The schema name (BigQuery dataset equivalent in the target data warehouse).com.google.protobuf.ByteStringgetSchemaBytes()The schema name (BigQuery dataset equivalent in the target data warehouse).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NameMappingValue.BuildermergeFrom(NameMappingValue other)NameMappingValue.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NameMappingValue.BuildermergeFrom(com.google.protobuf.Message other)NameMappingValue.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NameMappingValue.BuildersetAttribute(String value)The attribute name (BigQuery column equivalent in the target data warehouse).NameMappingValue.BuildersetAttributeBytes(com.google.protobuf.ByteString value)The attribute name (BigQuery column equivalent in the target data warehouse).NameMappingValue.BuildersetDatabase(String value)The database name (BigQuery project ID equivalent in the target data warehouse).NameMappingValue.BuildersetDatabaseBytes(com.google.protobuf.ByteString value)The database name (BigQuery project ID equivalent in the target data warehouse).NameMappingValue.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NameMappingValue.BuildersetRelation(String value)The relation name (BigQuery table or view equivalent in the target data warehouse).NameMappingValue.BuildersetRelationBytes(com.google.protobuf.ByteString value)The relation name (BigQuery table or view equivalent in the target data warehouse).NameMappingValue.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NameMappingValue.BuildersetSchema(String value)The schema name (BigQuery dataset equivalent in the target data warehouse).NameMappingValue.BuildersetSchemaBytes(com.google.protobuf.ByteString value)The schema name (BigQuery dataset equivalent in the target data warehouse).NameMappingValue.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<NameMappingValue.Builder>
-
clear
public NameMappingValue.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<NameMappingValue.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<NameMappingValue.Builder>
-
getDefaultInstanceForType
public NameMappingValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NameMappingValue build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NameMappingValue buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NameMappingValue.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<NameMappingValue.Builder>
-
setField
public NameMappingValue.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<NameMappingValue.Builder>
-
clearField
public NameMappingValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingValue.Builder>
-
clearOneof
public NameMappingValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingValue.Builder>
-
setRepeatedField
public NameMappingValue.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<NameMappingValue.Builder>
-
addRepeatedField
public NameMappingValue.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<NameMappingValue.Builder>
-
mergeFrom
public NameMappingValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NameMappingValue.Builder>
-
mergeFrom
public NameMappingValue.Builder mergeFrom(NameMappingValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingValue.Builder>
-
mergeFrom
public NameMappingValue.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<NameMappingValue.Builder>- Throws:
IOException
-
getDatabase
public String getDatabase()
The database name (BigQuery project ID equivalent in the target data warehouse).
string database = 1;- Specified by:
getDatabasein interfaceNameMappingValueOrBuilder- Returns:
- The database.
-
getDatabaseBytes
public com.google.protobuf.ByteString getDatabaseBytes()
The database name (BigQuery project ID equivalent in the target data warehouse).
string database = 1;- Specified by:
getDatabaseBytesin interfaceNameMappingValueOrBuilder- Returns:
- The bytes for database.
-
setDatabase
public NameMappingValue.Builder setDatabase(String value)
The database name (BigQuery project ID equivalent in the target data warehouse).
string database = 1;- Parameters:
value- The database to set.- Returns:
- 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:
- This builder for chaining.
-
setDatabaseBytes
public NameMappingValue.Builder setDatabaseBytes(com.google.protobuf.ByteString value)
The database name (BigQuery project ID equivalent in the target data warehouse).
string database = 1;- 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 target data warehouse).
string schema = 2;- Specified by:
getSchemain interfaceNameMappingValueOrBuilder- Returns:
- The schema.
-
getSchemaBytes
public com.google.protobuf.ByteString getSchemaBytes()
The schema name (BigQuery dataset equivalent in the target data warehouse).
string schema = 2;- Specified by:
getSchemaBytesin interfaceNameMappingValueOrBuilder- Returns:
- The bytes for schema.
-
setSchema
public NameMappingValue.Builder setSchema(String value)
The schema name (BigQuery dataset equivalent in the target data warehouse).
string schema = 2;- Parameters:
value- The schema to set.- Returns:
- This builder for chaining.
-
clearSchema
public NameMappingValue.Builder clearSchema()
The schema name (BigQuery dataset equivalent in the target data warehouse).
string schema = 2;- Returns:
- This builder for chaining.
-
setSchemaBytes
public NameMappingValue.Builder setSchemaBytes(com.google.protobuf.ByteString value)
The schema name (BigQuery dataset equivalent in the target data warehouse).
string schema = 2;- 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 target data warehouse).
string relation = 3;- Specified by:
getRelationin interfaceNameMappingValueOrBuilder- Returns:
- The relation.
-
getRelationBytes
public com.google.protobuf.ByteString getRelationBytes()
The relation name (BigQuery table or view equivalent in the target data warehouse).
string relation = 3;- Specified by:
getRelationBytesin interfaceNameMappingValueOrBuilder- Returns:
- The bytes for relation.
-
setRelation
public NameMappingValue.Builder setRelation(String value)
The relation name (BigQuery table or view equivalent in the target data warehouse).
string relation = 3;- Parameters:
value- The relation to set.- Returns:
- This builder for chaining.
-
clearRelation
public NameMappingValue.Builder clearRelation()
The relation name (BigQuery table or view equivalent in the target data warehouse).
string relation = 3;- Returns:
- This builder for chaining.
-
setRelationBytes
public NameMappingValue.Builder setRelationBytes(com.google.protobuf.ByteString value)
The relation name (BigQuery table or view equivalent in the target data warehouse).
string relation = 3;- 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 target data warehouse).
string attribute = 4;- Specified by:
getAttributein interfaceNameMappingValueOrBuilder- Returns:
- The attribute.
-
getAttributeBytes
public com.google.protobuf.ByteString getAttributeBytes()
The attribute name (BigQuery column equivalent in the target data warehouse).
string attribute = 4;- Specified by:
getAttributeBytesin interfaceNameMappingValueOrBuilder- Returns:
- The bytes for attribute.
-
setAttribute
public NameMappingValue.Builder setAttribute(String value)
The attribute name (BigQuery column equivalent in the target data warehouse).
string attribute = 4;- Parameters:
value- The attribute to set.- Returns:
- This builder for chaining.
-
clearAttribute
public NameMappingValue.Builder clearAttribute()
The attribute name (BigQuery column equivalent in the target data warehouse).
string attribute = 4;- Returns:
- This builder for chaining.
-
setAttributeBytes
public NameMappingValue.Builder setAttributeBytes(com.google.protobuf.ByteString value)
The attribute name (BigQuery column equivalent in the target data warehouse).
string attribute = 4;- Parameters:
value- The bytes for attribute to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NameMappingValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingValue.Builder>
-
mergeUnknownFields
public final NameMappingValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingValue.Builder>
-
-