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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectNameMapping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ObjectNameMapping build()
Returns
buildPartial()
public ObjectNameMapping buildPartial()
Returns
clear()
public ObjectNameMapping.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ObjectNameMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectNameMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public ObjectNameMapping.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ObjectNameMapping getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
getSourceOrBuilder()
public NameMappingKeyOrBuilder getSourceOrBuilder()
The name of the object in source that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;
Returns
getTarget()
public NameMappingValue getTarget()
The desired target name of the object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;
Returns
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
getTargetOrBuilder()
public NameMappingValueOrBuilder getTargetOrBuilder()
The desired target name of the object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ObjectNameMapping other)
public ObjectNameMapping.Builder mergeFrom(ObjectNameMapping other)
Parameter
Returns
public ObjectNameMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ObjectNameMapping.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectNameMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectNameMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectNameMapping.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectNameMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides