public final class EntityDdl extends GeneratedMessageV3 implements EntityDdlOrBuilder
A single DDL statement for a specific entity
Protobuf type google.cloud.clouddms.v1.EntityDdl
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
DDL_FIELD_NUMBER
public static final int DDL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DDL_TYPE_FIELD_NUMBER
public static final int DDL_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENTITY_TYPE_FIELD_NUMBER
public static final int ENTITY_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ISSUE_ID_FIELD_NUMBER
public static final int ISSUE_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EntityDdl getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EntityDdl.Builder newBuilder()
newBuilder(EntityDdl prototype)
public static EntityDdl.Builder newBuilder(EntityDdl prototype)
Parameter |
Name |
Description |
prototype |
EntityDdl
|
public static EntityDdl parseDelimitedFrom(InputStream input)
public static EntityDdl parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EntityDdl parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EntityDdl parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EntityDdl parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntityDdl parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntityDdl parseFrom(CodedInputStream input)
public static EntityDdl parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EntityDdl parseFrom(InputStream input)
public static EntityDdl parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EntityDdl parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EntityDdl parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EntityDdl> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDdl()
The actual ddl code.
string ddl = 3;
Returns |
Type |
Description |
String |
The ddl.
|
getDdlBytes()
public ByteString getDdlBytes()
The actual ddl code.
string ddl = 3;
Returns |
Type |
Description |
ByteString |
The bytes for ddl.
|
getDdlType()
public String getDdlType()
Type of DDL (Create, Alter).
string ddl_type = 1;
Returns |
Type |
Description |
String |
The ddlType.
|
getDdlTypeBytes()
public ByteString getDdlTypeBytes()
Type of DDL (Create, Alter).
string ddl_type = 1;
Returns |
Type |
Description |
ByteString |
The bytes for ddlType.
|
getDefaultInstanceForType()
public EntityDdl getDefaultInstanceForType()
getEntity()
public String getEntity()
The name of the database entity the ddl refers to.
string entity = 2;
Returns |
Type |
Description |
String |
The entity.
|
getEntityBytes()
public ByteString getEntityBytes()
The name of the database entity the ddl refers to.
string entity = 2;
Returns |
Type |
Description |
ByteString |
The bytes for entity.
|
getEntityType()
public DatabaseEntityType getEntityType()
The entity type (if the DDL is for a sub entity).
.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;
getEntityTypeValue()
public int getEntityTypeValue()
The entity type (if the DDL is for a sub entity).
.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for entityType.
|
getIssueId(int index)
public String getIssueId(int index)
EntityIssues found for this ddl.
repeated string issue_id = 100;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The issueId at the given index.
|
getIssueIdBytes(int index)
public ByteString getIssueIdBytes(int index)
EntityIssues found for this ddl.
repeated string issue_id = 100;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the issueId at the given index.
|
getIssueIdCount()
public int getIssueIdCount()
EntityIssues found for this ddl.
repeated string issue_id = 100;
Returns |
Type |
Description |
int |
The count of issueId.
|
getIssueIdList()
public ProtocolStringList getIssueIdList()
EntityIssues found for this ddl.
repeated string issue_id = 100;
getParserForType()
public Parser<EntityDdl> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EntityDdl.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EntityDdl.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public EntityDdl.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides