Package com.google.cloud.clouddms.v1
Class EntityMapping
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.EntityMapping
-
- All Implemented Interfaces:
EntityMappingOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class EntityMapping extends com.google.protobuf.GeneratedMessageV3 implements EntityMappingOrBuilder
Details of the mappings of a database entity.
Protobuf typegoogle.cloud.clouddms.v1.EntityMapping
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityMapping.Builder
Details of the mappings of a database entity.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
DRAFT_ENTITY_FIELD_NUMBER
static int
DRAFT_TYPE_FIELD_NUMBER
static int
MAPPING_LOG_FIELD_NUMBER
static int
SOURCE_ENTITY_FIELD_NUMBER
static int
SOURCE_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static EntityMapping
getDefaultInstance()
EntityMapping
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDraftEntity()
Target entity full name.com.google.protobuf.ByteString
getDraftEntityBytes()
Target entity full name.DatabaseEntityType
getDraftType()
Type of draft entity.int
getDraftTypeValue()
Type of draft entity.EntityMappingLogEntry
getMappingLog(int index)
Entity mapping log entries.int
getMappingLogCount()
Entity mapping log entries.List<EntityMappingLogEntry>
getMappingLogList()
Entity mapping log entries.EntityMappingLogEntryOrBuilder
getMappingLogOrBuilder(int index)
Entity mapping log entries.List<? extends EntityMappingLogEntryOrBuilder>
getMappingLogOrBuilderList()
Entity mapping log entries.com.google.protobuf.Parser<EntityMapping>
getParserForType()
int
getSerializedSize()
String
getSourceEntity()
Source entity full name.com.google.protobuf.ByteString
getSourceEntityBytes()
Source entity full name.DatabaseEntityType
getSourceType()
Type of source entity.int
getSourceTypeValue()
Type of source entity.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static EntityMapping.Builder
newBuilder()
static EntityMapping.Builder
newBuilder(EntityMapping prototype)
EntityMapping.Builder
newBuilderForType()
protected EntityMapping.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static EntityMapping
parseDelimitedFrom(InputStream input)
static EntityMapping
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EntityMapping
parseFrom(byte[] data)
static EntityMapping
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EntityMapping
parseFrom(com.google.protobuf.ByteString data)
static EntityMapping
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EntityMapping
parseFrom(com.google.protobuf.CodedInputStream input)
static EntityMapping
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EntityMapping
parseFrom(InputStream input)
static EntityMapping
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EntityMapping
parseFrom(ByteBuffer data)
static EntityMapping
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<EntityMapping>
parser()
EntityMapping.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SOURCE_ENTITY_FIELD_NUMBER
public static final int SOURCE_ENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRAFT_ENTITY_FIELD_NUMBER
public static final int DRAFT_ENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRAFT_TYPE_FIELD_NUMBER
public static final int DRAFT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAPPING_LOG_FIELD_NUMBER
public static final int MAPPING_LOG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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;
- Specified by:
getSourceEntity
in interfaceEntityMappingOrBuilder
- Returns:
- The sourceEntity.
-
getSourceEntityBytes
public com.google.protobuf.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;
- Specified by:
getSourceEntityBytes
in interfaceEntityMappingOrBuilder
- Returns:
- The bytes for sourceEntity.
-
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;
- Specified by:
getDraftEntity
in interfaceEntityMappingOrBuilder
- Returns:
- The draftEntity.
-
getDraftEntityBytes
public com.google.protobuf.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;
- Specified by:
getDraftEntityBytes
in interfaceEntityMappingOrBuilder
- Returns:
- The bytes for draftEntity.
-
getSourceTypeValue
public int getSourceTypeValue()
Type of source entity.
.google.cloud.clouddms.v1.DatabaseEntityType source_type = 4;
- Specified by:
getSourceTypeValue
in interfaceEntityMappingOrBuilder
- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
public DatabaseEntityType getSourceType()
Type of source entity.
.google.cloud.clouddms.v1.DatabaseEntityType source_type = 4;
- Specified by:
getSourceType
in interfaceEntityMappingOrBuilder
- Returns:
- The sourceType.
-
getDraftTypeValue
public int getDraftTypeValue()
Type of draft entity.
.google.cloud.clouddms.v1.DatabaseEntityType draft_type = 5;
- Specified by:
getDraftTypeValue
in interfaceEntityMappingOrBuilder
- Returns:
- The enum numeric value on the wire for draftType.
-
getDraftType
public DatabaseEntityType getDraftType()
Type of draft entity.
.google.cloud.clouddms.v1.DatabaseEntityType draft_type = 5;
- Specified by:
getDraftType
in interfaceEntityMappingOrBuilder
- Returns:
- The draftType.
-
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;
- Specified by:
getMappingLogList
in interfaceEntityMappingOrBuilder
-
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;
- Specified by:
getMappingLogOrBuilderList
in interfaceEntityMappingOrBuilder
-
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;
- Specified by:
getMappingLogCount
in interfaceEntityMappingOrBuilder
-
getMappingLog
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;
- Specified by:
getMappingLog
in interfaceEntityMappingOrBuilder
-
getMappingLogOrBuilder
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;
- Specified by:
getMappingLogOrBuilder
in interfaceEntityMappingOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EntityMapping parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EntityMapping parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EntityMapping parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EntityMapping parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EntityMapping parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EntityMapping parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EntityMapping.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EntityMapping.Builder newBuilder()
-
newBuilder
public static EntityMapping.Builder newBuilder(EntityMapping prototype)
-
toBuilder
public EntityMapping.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EntityMapping.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static EntityMapping getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EntityMapping> parser()
-
getParserForType
public com.google.protobuf.Parser<EntityMapping> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public EntityMapping getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-