Class EntityDdl (2.42.0)

public final class EntityDdl extends GeneratedMessageV3 implements EntityDdlOrBuilder

A single DDL statement for a specific entity

Protobuf type google.cloud.clouddms.v1.EntityDdl

Implements

EntityDdlOrBuilder

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()
Returns
Type Description
EntityDdl

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EntityDdl.Builder newBuilder()
Returns
Type Description
EntityDdl.Builder

newBuilder(EntityDdl prototype)

public static EntityDdl.Builder newBuilder(EntityDdl prototype)
Parameter
Name Description
prototype EntityDdl
Returns
Type Description
EntityDdl.Builder

parseDelimitedFrom(InputStream input)

public static EntityDdl parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntityDdl
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityDdl
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EntityDdl parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EntityDdl
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityDdl
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntityDdl parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EntityDdl
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityDdl
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntityDdl parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EntityDdl
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityDdl
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EntityDdl parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntityDdl
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityDdl
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EntityDdl parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EntityDdl
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityDdl
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EntityDdl> parser()
Returns
Type Description
Parser<EntityDdl>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDdl()

public String 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()
Returns
Type Description
EntityDdl

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;

Returns
Type Description
DatabaseEntityType

The entityType.

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;

Returns
Type Description
ProtocolStringList

A list containing the issueId.

getParserForType()

public Parser<EntityDdl> getParserForType()
Returns
Type Description
Parser<EntityDdl>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EntityDdl.Builder newBuilderForType()
Returns
Type Description
EntityDdl.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EntityDdl.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EntityDdl.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EntityDdl.Builder toBuilder()
Returns
Type Description
EntityDdl.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException