Package com.google.cloud.clouddms.v1
Class EntityDdl
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.EntityDdl
-
- All Implemented Interfaces:
EntityDdlOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class EntityDdl extends com.google.protobuf.GeneratedMessageV3 implements EntityDdlOrBuilder
A single DDL statement for a specific entity
Protobuf typegoogle.cloud.clouddms.v1.EntityDdl
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityDdl.Builder
A single DDL statement for a specific 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
DDL_FIELD_NUMBER
static int
DDL_TYPE_FIELD_NUMBER
static int
ENTITY_FIELD_NUMBER
static int
ENTITY_TYPE_FIELD_NUMBER
static int
ISSUE_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getDdl()
The actual ddl code.com.google.protobuf.ByteString
getDdlBytes()
The actual ddl code.String
getDdlType()
Type of DDL (Create, Alter).com.google.protobuf.ByteString
getDdlTypeBytes()
Type of DDL (Create, Alter).static EntityDdl
getDefaultInstance()
EntityDdl
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEntity()
The name of the database entity the ddl refers to.com.google.protobuf.ByteString
getEntityBytes()
The name of the database entity the ddl refers to.DatabaseEntityType
getEntityType()
The entity type (if the DDL is for a sub entity).int
getEntityTypeValue()
The entity type (if the DDL is for a sub entity).String
getIssueId(int index)
EntityIssues found for this ddl.com.google.protobuf.ByteString
getIssueIdBytes(int index)
EntityIssues found for this ddl.int
getIssueIdCount()
EntityIssues found for this ddl.com.google.protobuf.ProtocolStringList
getIssueIdList()
EntityIssues found for this ddl.com.google.protobuf.Parser<EntityDdl>
getParserForType()
int
getSerializedSize()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static EntityDdl.Builder
newBuilder()
static EntityDdl.Builder
newBuilder(EntityDdl prototype)
EntityDdl.Builder
newBuilderForType()
protected EntityDdl.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static EntityDdl
parseDelimitedFrom(InputStream input)
static EntityDdl
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EntityDdl
parseFrom(byte[] data)
static EntityDdl
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EntityDdl
parseFrom(com.google.protobuf.ByteString data)
static EntityDdl
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EntityDdl
parseFrom(com.google.protobuf.CodedInputStream input)
static EntityDdl
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EntityDdl
parseFrom(InputStream input)
static EntityDdl
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EntityDdl
parseFrom(ByteBuffer data)
static EntityDdl
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<EntityDdl>
parser()
EntityDdl.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
-
DDL_TYPE_FIELD_NUMBER
public static final int DDL_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DDL_FIELD_NUMBER
public static final int DDL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITY_TYPE_FIELD_NUMBER
public static final int ENTITY_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISSUE_ID_FIELD_NUMBER
public static final int ISSUE_ID_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
-
getDdlType
public String getDdlType()
Type of DDL (Create, Alter).
string ddl_type = 1;
- Specified by:
getDdlType
in interfaceEntityDdlOrBuilder
- Returns:
- The ddlType.
-
getDdlTypeBytes
public com.google.protobuf.ByteString getDdlTypeBytes()
Type of DDL (Create, Alter).
string ddl_type = 1;
- Specified by:
getDdlTypeBytes
in interfaceEntityDdlOrBuilder
- Returns:
- The bytes for ddlType.
-
getEntity
public String getEntity()
The name of the database entity the ddl refers to.
string entity = 2;
- Specified by:
getEntity
in interfaceEntityDdlOrBuilder
- Returns:
- The entity.
-
getEntityBytes
public com.google.protobuf.ByteString getEntityBytes()
The name of the database entity the ddl refers to.
string entity = 2;
- Specified by:
getEntityBytes
in interfaceEntityDdlOrBuilder
- Returns:
- The bytes for entity.
-
getDdl
public String getDdl()
The actual ddl code.
string ddl = 3;
- Specified by:
getDdl
in interfaceEntityDdlOrBuilder
- Returns:
- The ddl.
-
getDdlBytes
public com.google.protobuf.ByteString getDdlBytes()
The actual ddl code.
string ddl = 3;
- Specified by:
getDdlBytes
in interfaceEntityDdlOrBuilder
- Returns:
- The bytes for ddl.
-
getEntityTypeValue
public int getEntityTypeValue()
The entity type (if the DDL is for a sub entity).
.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;
- Specified by:
getEntityTypeValue
in interfaceEntityDdlOrBuilder
- Returns:
- The enum numeric value on the wire for entityType.
-
getEntityType
public DatabaseEntityType getEntityType()
The entity type (if the DDL is for a sub entity).
.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;
- Specified by:
getEntityType
in interfaceEntityDdlOrBuilder
- Returns:
- The entityType.
-
getIssueIdList
public com.google.protobuf.ProtocolStringList getIssueIdList()
EntityIssues found for this ddl.
repeated string issue_id = 100;
- Specified by:
getIssueIdList
in interfaceEntityDdlOrBuilder
- Returns:
- A list containing the issueId.
-
getIssueIdCount
public int getIssueIdCount()
EntityIssues found for this ddl.
repeated string issue_id = 100;
- Specified by:
getIssueIdCount
in interfaceEntityDdlOrBuilder
- Returns:
- The count of issueId.
-
getIssueId
public String getIssueId(int index)
EntityIssues found for this ddl.
repeated string issue_id = 100;
- Specified by:
getIssueId
in interfaceEntityDdlOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The issueId at the given index.
-
getIssueIdBytes
public com.google.protobuf.ByteString getIssueIdBytes(int index)
EntityIssues found for this ddl.
repeated string issue_id = 100;
- Specified by:
getIssueIdBytes
in interfaceEntityDdlOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the issueId at the given index.
-
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 EntityDdl parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityDdl parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityDdl parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityDdl parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityDdl parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityDdl parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityDdl parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EntityDdl parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EntityDdl parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EntityDdl parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EntityDdl parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EntityDdl parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EntityDdl.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EntityDdl.Builder newBuilder()
-
newBuilder
public static EntityDdl.Builder newBuilder(EntityDdl prototype)
-
toBuilder
public EntityDdl.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EntityDdl.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static EntityDdl getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EntityDdl> parser()
-
getParserForType
public com.google.protobuf.Parser<EntityDdl> 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 EntityDdl getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-