- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
public static final class NameMappingKey.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NameMappingKey.BuilderImplements
NameMappingKeyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NameMappingKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
build()
public NameMappingKey build()
Returns | |
---|---|
Type | Description |
NameMappingKey |
buildPartial()
public NameMappingKey buildPartial()
Returns | |
---|---|
Type | Description |
NameMappingKey |
clear()
public NameMappingKey.Builder clear()
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
clearAttribute()
public NameMappingKey.Builder clearAttribute()
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | 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 | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NameMappingKey.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public NameMappingKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
clearRelation()
public NameMappingKey.Builder clearRelation()
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
clearSchema()
public NameMappingKey.Builder clearSchema()
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | 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 | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
clone()
public NameMappingKey.Builder clone()
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
getAttribute()
public String getAttribute()
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;
Returns | |
---|---|
Type | Description |
String | The attribute. |
getAttributeBytes()
public ByteString getAttributeBytes()
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for attribute. |
getDatabase()
public String getDatabase()
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;
Returns | |
---|---|
Type | Description |
String | The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for database. |
getDefaultInstanceForType()
public NameMappingKey getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NameMappingKey |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRelation()
public String getRelation()
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;
Returns | |
---|---|
Type | Description |
String | The relation. |
getRelationBytes()
public ByteString getRelationBytes()
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for relation. |
getSchema()
public String getSchema()
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;
Returns | |
---|---|
Type | Description |
String | The schema. |
getSchemaBytes()
public ByteString getSchemaBytes()
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for schema. |
getType()
public NameMappingKey.Type getType()
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;
Returns | |
---|---|
Type | Description |
NameMappingKey.Type | The type. |
getTypeValue()
public int getTypeValue()
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NameMappingKey other)
public NameMappingKey.Builder mergeFrom(NameMappingKey other)
Parameter | |
---|---|
Name | Description |
other | NameMappingKey |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NameMappingKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NameMappingKey.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NameMappingKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
setAttribute(String value)
public NameMappingKey.Builder setAttribute(String value)
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;
Parameter | |
---|---|
Name | Description |
value | String The attribute to set. |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
setAttributeBytes(ByteString value)
public NameMappingKey.Builder setAttributeBytes(ByteString value)
The attribute name (BigQuery column equivalent in the source data warehouse).
string attribute = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for attribute to set. |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
setDatabase(String value)
public NameMappingKey.Builder setDatabase(String value)
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;
Parameter | |
---|---|
Name | Description |
value | String The database to set. |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
setDatabaseBytes(ByteString value)
public NameMappingKey.Builder setDatabaseBytes(ByteString value)
The database name (BigQuery project ID equivalent in the source data warehouse).
string database = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for database to set. |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NameMappingKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
setRelation(String value)
public NameMappingKey.Builder setRelation(String value)
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;
Parameter | |
---|---|
Name | Description |
value | String The relation to set. |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
setRelationBytes(ByteString value)
public NameMappingKey.Builder setRelationBytes(ByteString value)
The relation name (BigQuery table or view equivalent in the source data warehouse).
string relation = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for relation to set. |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NameMappingKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |
setSchema(String value)
public NameMappingKey.Builder setSchema(String value)
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;
Parameter | |
---|---|
Name | Description |
value | String The schema to set. |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
setSchemaBytes(ByteString value)
public NameMappingKey.Builder setSchemaBytes(ByteString value)
The schema name (BigQuery dataset equivalent in the source data warehouse).
string schema = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for schema to set. |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
setType(NameMappingKey.Type value)
public NameMappingKey.Builder setType(NameMappingKey.Type value)
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;
Parameter | |
---|---|
Name | Description |
value | NameMappingKey.Type The type to set. |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
setTypeValue(int value)
public NameMappingKey.Builder setTypeValue(int value)
The type of object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey.Type type = 1;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NameMappingKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NameMappingKey.Builder |