Class ObjectNameMapping (0.76.0)

publicfinalclass ObjectNameMappingextendsGeneratedMessageV3implementsObjectNameMappingOrBuilder

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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

SOURCE_FIELD_NUMBER

publicstaticfinalintSOURCE_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_NUMBER

publicstaticfinalintTARGET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticObjectNameMappinggetDefaultInstance()
Returns
Type Description
ObjectNameMapping

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticObjectNameMapping.BuildernewBuilder()
Returns
Type Description
ObjectNameMapping.Builder

newBuilder(ObjectNameMapping prototype)

publicstaticObjectNameMapping.BuildernewBuilder(ObjectNameMappingprototype)
Parameter
Name Description
prototype ObjectNameMapping
Returns
Type Description
ObjectNameMapping.Builder

parseDelimitedFrom(InputStream input)

publicstaticObjectNameMappingparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticObjectNameMappingparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticObjectNameMappingparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticObjectNameMappingparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticObjectNameMappingparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticObjectNameMappingparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticObjectNameMappingparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticObjectNameMappingparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticObjectNameMappingparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticObjectNameMappingparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticObjectNameMappingparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticObjectNameMappingparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ObjectNameMapping>parser()
Returns
Type Description
Parser<ObjectNameMapping>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicObjectNameMappinggetDefaultInstanceForType()
Returns
Type Description
ObjectNameMapping

getParserForType()

publicParser<ObjectNameMapping>getParserForType()
Returns
Type Description
Parser<ObjectNameMapping>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSource()

publicNameMappingKeygetSource()

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.

getSourceOrBuilder()

publicNameMappingKeyOrBuildergetSourceOrBuilder()

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

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

Returns
Type Description
NameMappingKeyOrBuilder

getTarget()

publicNameMappingValuegetTarget()

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.

getTargetOrBuilder()

publicNameMappingValueOrBuildergetTargetOrBuilder()

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

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

Returns
Type Description
NameMappingValueOrBuilder

hasSource()

publicbooleanhasSource()

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()

publicbooleanhasTarget()

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()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicObjectNameMapping.BuildernewBuilderForType()
Returns
Type Description
ObjectNameMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedObjectNameMapping.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ObjectNameMapping.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicObjectNameMapping.BuildertoBuilder()
Returns
Type Description
ObjectNameMapping.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.