Class ObjectNameMapping.Builder (0.49.0)

public static final class ObjectNameMapping.Builder extends GeneratedMessageV3.Builder<ObjectNameMapping.Builder> implements ObjectNameMappingOrBuilder

Represents a key-value pair of NameMappingKey to NameMappingValue to represent the mapping of SQL names from the input value to desired output.

Protobuf type google.cloud.bigquery.migration.v2.ObjectNameMapping

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ObjectNameMapping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ObjectNameMapping.Builder
Overrides

build()

public ObjectNameMapping build()
Returns
Type Description
ObjectNameMapping

buildPartial()

public ObjectNameMapping buildPartial()
Returns
Type Description
ObjectNameMapping

clear()

public ObjectNameMapping.Builder clear()
Returns
Type Description
ObjectNameMapping.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ObjectNameMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ObjectNameMapping.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ObjectNameMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ObjectNameMapping.Builder
Overrides

clearSource()

public ObjectNameMapping.Builder clearSource()

The name of the object in source that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;

Returns
Type Description
ObjectNameMapping.Builder

clearTarget()

public ObjectNameMapping.Builder clearTarget()

The desired target name of the object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;

Returns
Type Description
ObjectNameMapping.Builder

clone()

public ObjectNameMapping.Builder clone()
Returns
Type Description
ObjectNameMapping.Builder
Overrides

getDefaultInstanceForType()

public ObjectNameMapping getDefaultInstanceForType()
Returns
Type Description
ObjectNameMapping

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSource()

public NameMappingKey getSource()

The name of the object in source that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;

Returns
Type Description
NameMappingKey

The source.

getSourceBuilder()

public NameMappingKey.Builder getSourceBuilder()

The name of the object in source that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;

Returns
Type Description
NameMappingKey.Builder

getSourceOrBuilder()

public NameMappingKeyOrBuilder getSourceOrBuilder()

The name of the object in source that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;

Returns
Type Description
NameMappingKeyOrBuilder

getTarget()

public NameMappingValue getTarget()

The desired target name of the object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;

Returns
Type Description
NameMappingValue

The target.

getTargetBuilder()

public NameMappingValue.Builder getTargetBuilder()

The desired target name of the object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;

Returns
Type Description
NameMappingValue.Builder

getTargetOrBuilder()

public NameMappingValueOrBuilder getTargetOrBuilder()

The desired target name of the object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;

Returns
Type Description
NameMappingValueOrBuilder

hasSource()

public boolean hasSource()

The name of the object in source that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;

Returns
Type Description
boolean

Whether the source field is set.

hasTarget()

public boolean hasTarget()

The desired target name of the object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;

Returns
Type Description
boolean

Whether the target field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ObjectNameMapping other)

public ObjectNameMapping.Builder mergeFrom(ObjectNameMapping other)
Parameter
Name Description
other ObjectNameMapping
Returns
Type Description
ObjectNameMapping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ObjectNameMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMapping.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ObjectNameMapping.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ObjectNameMapping.Builder
Overrides

mergeSource(NameMappingKey value)

public ObjectNameMapping.Builder mergeSource(NameMappingKey value)

The name of the object in source that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;

Parameter
Name Description
value NameMappingKey
Returns
Type Description
ObjectNameMapping.Builder

mergeTarget(NameMappingValue value)

public ObjectNameMapping.Builder mergeTarget(NameMappingValue value)

The desired target name of the object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;

Parameter
Name Description
value NameMappingValue
Returns
Type Description
ObjectNameMapping.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ObjectNameMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ObjectNameMapping.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ObjectNameMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ObjectNameMapping.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ObjectNameMapping.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ObjectNameMapping.Builder
Overrides

setSource(NameMappingKey value)

public ObjectNameMapping.Builder setSource(NameMappingKey value)

The name of the object in source that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;

Parameter
Name Description
value NameMappingKey
Returns
Type Description
ObjectNameMapping.Builder

setSource(NameMappingKey.Builder builderForValue)

public ObjectNameMapping.Builder setSource(NameMappingKey.Builder builderForValue)

The name of the object in source that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;

Parameter
Name Description
builderForValue NameMappingKey.Builder
Returns
Type Description
ObjectNameMapping.Builder

setTarget(NameMappingValue value)

public ObjectNameMapping.Builder setTarget(NameMappingValue value)

The desired target name of the object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;

Parameter
Name Description
value NameMappingValue
Returns
Type Description
ObjectNameMapping.Builder

setTarget(NameMappingValue.Builder builderForValue)

public ObjectNameMapping.Builder setTarget(NameMappingValue.Builder builderForValue)

The desired target name of the object that is being mapped.

.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;

Parameter
Name Description
builderForValue NameMappingValue.Builder
Returns
Type Description
ObjectNameMapping.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ObjectNameMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ObjectNameMapping.Builder
Overrides