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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectNameMapping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ObjectNameMapping build()
buildPartial()
public ObjectNameMapping buildPartial()
clear()
public ObjectNameMapping.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ObjectNameMapping.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectNameMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clearTarget()
public ObjectNameMapping.Builder clearTarget()
The desired target name of the object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;
clone()
public ObjectNameMapping.Builder clone()
Overrides
getDefaultInstanceForType()
public ObjectNameMapping getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSource()
public NameMappingKey getSource()
The name of the object in source that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;
getSourceBuilder()
public NameMappingKey.Builder getSourceBuilder()
The name of the object in source that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;
getSourceOrBuilder()
public NameMappingKeyOrBuilder getSourceOrBuilder()
The name of the object in source that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingKey source = 1;
getTarget()
public NameMappingValue getTarget()
The desired target name of the object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;
getTargetBuilder()
public NameMappingValue.Builder getTargetBuilder()
The desired target name of the object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;
getTargetOrBuilder()
public NameMappingValueOrBuilder getTargetOrBuilder()
The desired target name of the object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ObjectNameMapping other)
public ObjectNameMapping.Builder mergeFrom(ObjectNameMapping other)
public ObjectNameMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ObjectNameMapping.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectNameMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectNameMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectNameMapping.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectNameMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides