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.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(NameMappingKey other)
NameMappingKey.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NameMappingKey.Builder
mergeFrom(com.google.protobuf.Message 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)
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
clear
public NameMappingKey.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
getDefaultInstanceForType
public NameMappingKey getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NameMappingKey build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NameMappingKey buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NameMappingKey.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
setField
public NameMappingKey.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
clearField
public NameMappingKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
clearOneof
public NameMappingKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
setRepeatedField
public NameMappingKey.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
addRepeatedField
public NameMappingKey.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
mergeFrom
public NameMappingKey.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NameMappingKey.Builder>
-
mergeFrom
public NameMappingKey.Builder mergeFrom(NameMappingKey other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getTypeValue
in 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:
getType
in 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:
getDatabase
in 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:
getDatabaseBytes
in 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:
getSchema
in 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:
getSchemaBytes
in 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:
getRelation
in 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:
getRelationBytes
in 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:
getAttribute
in 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:
getAttributeBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
mergeUnknownFields
public final NameMappingKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NameMappingKey.Builder>
-
-