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
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>)
Static Fields
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ObjectNameMapping getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ObjectNameMapping.Builder newBuilder()
newBuilder(ObjectNameMapping prototype)
public static ObjectNameMapping.Builder newBuilder(ObjectNameMapping prototype)
public static ObjectNameMapping parseDelimitedFrom(InputStream input)
public static ObjectNameMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ObjectNameMapping parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ObjectNameMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ObjectNameMapping parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ObjectNameMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ObjectNameMapping parseFrom(CodedInputStream input)
public static ObjectNameMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ObjectNameMapping parseFrom(InputStream input)
public static ObjectNameMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ObjectNameMapping parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ObjectNameMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ObjectNameMapping> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ObjectNameMapping getDefaultInstanceForType()
getParserForType()
public Parser<ObjectNameMapping> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSource()
public NameMappingKey getSource()
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;
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ObjectNameMapping.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ObjectNameMapping.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ObjectNameMapping.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides