public final class ObjectNameMapping extends GeneratedMessageV3 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 Fields
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
Field Value
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ObjectNameMapping getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ObjectNameMapping.Builder newBuilder()
Returns
newBuilder(ObjectNameMapping prototype)
public static ObjectNameMapping.Builder newBuilder(ObjectNameMapping prototype)
Parameter
Returns
public static ObjectNameMapping parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ObjectNameMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ObjectNameMapping parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ObjectNameMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ObjectNameMapping parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ObjectNameMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ObjectNameMapping parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ObjectNameMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ObjectNameMapping parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ObjectNameMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ObjectNameMapping parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ObjectNameMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ObjectNameMapping> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ObjectNameMapping getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ObjectNameMapping> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
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
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
getTargetOrBuilder()
public NameMappingValueOrBuilder getTargetOrBuilder()
The desired target name of the object that is being mapped.
.google.cloud.bigquery.migration.v2.NameMappingValue target = 2;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ObjectNameMapping.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ObjectNameMapping.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ObjectNameMapping.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions