Class EntityMapping (2.75.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.75.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  EntityMapping   extends   GeneratedMessageV3   implements   EntityMappingOrBuilder  
   Details of the mappings of a database entity.
 Protobuf type google.cloud.clouddms.v1.EntityMapping
    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
   
  DRAFT_ENTITY_FIELD_NUMBER 
  
    
public   static   final   int   DRAFT_ENTITY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  DRAFT_TYPE_FIELD_NUMBER 
  
    
public   static   final   int   DRAFT_TYPE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  MAPPING_LOG_FIELD_NUMBER 
  
    
public   static   final   int   MAPPING_LOG_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SOURCE_ENTITY_FIELD_NUMBER 
  
    
public   static   final   int   SOURCE_ENTITY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SOURCE_TYPE_FIELD_NUMBER 
  
    
public   static   final   int   SOURCE_TYPE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   EntityMapping   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   EntityMapping . Builder   newBuilder ()  
  
  newBuilder(EntityMapping prototype) 
  
    
public   static   EntityMapping . Builder   newBuilder ( EntityMapping   prototype )  
  
  
  
    
public   static   EntityMapping   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   EntityMapping   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   EntityMapping   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   EntityMapping   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   EntityMapping   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   EntityMapping   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   EntityMapping   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   EntityMapping   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   EntityMapping   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   EntityMapping   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   EntityMapping   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   EntityMapping   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<EntityMapping>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   EntityMapping   getDefaultInstanceForType ()  
  
  getDraftEntity() 
  
    
public   String   getDraftEntity ()  
   Target entity full name.
 The draft entity can also include a column, index or constraint using the
 same naming notation schema.table.column.
 string draft_entity = 2;
    
      
        Returns  
      
        Type Description  
      
        String The draftEntity.
 
     
  
  getDraftEntityBytes() 
  
    
public   ByteString   getDraftEntityBytes ()  
   Target entity full name.
 The draft entity can also include a column, index or constraint using the
 same naming notation schema.table.column.
 string draft_entity = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for draftEntity.
 
     
  
  getDraftType() 
  
    
public   DatabaseEntityType   getDraftType ()  
   Type of draft entity.
 .google.cloud.clouddms.v1.DatabaseEntityType draft_type = 5;
getDraftTypeValue() 
  
    
public   int   getDraftTypeValue ()  
   Type of draft entity.
 .google.cloud.clouddms.v1.DatabaseEntityType draft_type = 5;
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for draftType.
 
     
  
  getMappingLog(int index) 
  
    
public   EntityMappingLogEntry   getMappingLog ( int   index )  
   Entity mapping log entries.
 Multiple rules can be effective and contribute changes to a converted
 entity, such as a rule can handle the entity name, another rule can handle
 an entity type. In addition, rules which did not change the entity are also
 logged along with the reason preventing them to do so.
 repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getMappingLogCount() 
  
    
public   int   getMappingLogCount ()  
   Entity mapping log entries.
 Multiple rules can be effective and contribute changes to a converted
 entity, such as a rule can handle the entity name, another rule can handle
 an entity type. In addition, rules which did not change the entity are also
 logged along with the reason preventing them to do so.
 repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getMappingLogList() 
  
    
public   List<EntityMappingLogEntry>   getMappingLogList ()  
   Entity mapping log entries.
 Multiple rules can be effective and contribute changes to a converted
 entity, such as a rule can handle the entity name, another rule can handle
 an entity type. In addition, rules which did not change the entity are also
 logged along with the reason preventing them to do so.
 repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3;
getMappingLogOrBuilder(int index) 
  
    
public   EntityMappingLogEntryOrBuilder   getMappingLogOrBuilder ( int   index )  
   Entity mapping log entries.
 Multiple rules can be effective and contribute changes to a converted
 entity, such as a rule can handle the entity name, another rule can handle
 an entity type. In addition, rules which did not change the entity are also
 logged along with the reason preventing them to do so.
 repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getMappingLogOrBuilderList() 
  
    
public   List <?   extends   EntityMappingLogEntryOrBuilder >  getMappingLogOrBuilderList ()  
   Entity mapping log entries.
 Multiple rules can be effective and contribute changes to a converted
 entity, such as a rule can handle the entity name, another rule can handle
 an entity type. In addition, rules which did not change the entity are also
 logged along with the reason preventing them to do so.
 repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3;
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.clouddms.v1.EntityMappingLogEntryOrBuilder > 
     
  
  getParserForType() 
  
    
public   Parser<EntityMapping>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getSourceEntity() 
  
    
public   String   getSourceEntity ()  
   Source entity full name.
 The source entity can also be a column, index or constraint using the
 same naming notation schema.table.column.
 string source_entity = 1;
    
      
        Returns  
      
        Type Description  
      
        String The sourceEntity.
 
     
  
  getSourceEntityBytes() 
  
    
public   ByteString   getSourceEntityBytes ()  
   Source entity full name.
 The source entity can also be a column, index or constraint using the
 same naming notation schema.table.column.
 string source_entity = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for sourceEntity.
 
     
  
  getSourceType() 
  
    
public   DatabaseEntityType   getSourceType ()  
   Type of source entity.
 .google.cloud.clouddms.v1.DatabaseEntityType source_type = 4;
getSourceTypeValue() 
  
    
public   int   getSourceTypeValue ()  
   Type of source entity.
 .google.cloud.clouddms.v1.DatabaseEntityType source_type = 4;
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for sourceType.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   EntityMapping . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   EntityMapping . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   EntityMapping . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]