Class EntityDdl (2.38.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
TypeDescription
int

DDL_TYPE_FIELD_NUMBER

public static final int DDL_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

ENTITY_FIELD_NUMBER

public static final int ENTITY_FIELD_NUMBER
Field Value
TypeDescription
int

ENTITY_TYPE_FIELD_NUMBER

public static final int ENTITY_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

ISSUE_ID_FIELD_NUMBER

public static final int ISSUE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EntityDdl getDefaultInstance()
Returns
TypeDescription
EntityDdl

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EntityDdl.Builder newBuilder()
Returns
TypeDescription
EntityDdl.Builder

newBuilder(EntityDdl prototype)

public static EntityDdl.Builder newBuilder(EntityDdl prototype)
Parameter
NameDescription
prototypeEntityDdl
Returns
TypeDescription
EntityDdl.Builder

parseDelimitedFrom(InputStream input)

public static EntityDdl parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EntityDdl parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntityDdl parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntityDdl parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EntityDdl parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EntityDdl parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntityDdl parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityDdl
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EntityDdl> parser()
Returns
TypeDescription
Parser<EntityDdl>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDdl()

public String getDdl()

The actual ddl code.

string ddl = 3;

Returns
TypeDescription
String

The ddl.

getDdlBytes()

public ByteString getDdlBytes()

The actual ddl code.

string ddl = 3;

Returns
TypeDescription
ByteString

The bytes for ddl.

getDdlType()

public String getDdlType()

Type of DDL (Create, Alter).

string ddl_type = 1;

Returns
TypeDescription
String

The ddlType.

getDdlTypeBytes()

public ByteString getDdlTypeBytes()

Type of DDL (Create, Alter).

string ddl_type = 1;

Returns
TypeDescription
ByteString

The bytes for ddlType.

getDefaultInstanceForType()

public EntityDdl getDefaultInstanceForType()
Returns
TypeDescription
EntityDdl

getEntity()

public String getEntity()

The name of the database entity the ddl refers to.

string entity = 2;

Returns
TypeDescription
String

The entity.

getEntityBytes()

public ByteString getEntityBytes()

The name of the database entity the ddl refers to.

string entity = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of issueId.

getIssueIdList()

public ProtocolStringList getIssueIdList()

EntityIssues found for this ddl.

repeated string issue_id = 100;

Returns
TypeDescription
ProtocolStringList

A list containing the issueId.

getParserForType()

public Parser<EntityDdl> getParserForType()
Returns
TypeDescription
Parser<EntityDdl>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EntityDdl.Builder newBuilderForType()
Returns
TypeDescription
EntityDdl.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EntityDdl.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EntityDdl.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EntityDdl.Builder toBuilder()
Returns
TypeDescription
EntityDdl.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException