Class EntityIssue (2.45.0)

public final class EntityIssue extends GeneratedMessageV3 implements EntityIssueOrBuilder

Issue related to the entity.

Protobuf type google.cloud.clouddms.v1.EntityIssue

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
Type Description
int

DDL_FIELD_NUMBER

public static final int DDL_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_TYPE_FIELD_NUMBER

public static final int ENTITY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

POSITION_FIELD_NUMBER

public static final int POSITION_FIELD_NUMBER
Field Value
Type Description
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EntityIssue getDefaultInstance()
Returns
Type Description
EntityIssue

getDescriptor()

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

newBuilder()

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

newBuilder(EntityIssue prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCode()

public String getCode()

Error/Warning code

string code = 5;

Returns
Type Description
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

Error/Warning code

string code = 5;

Returns
Type Description
ByteString

The bytes for code.

getDdl()

public String getDdl()

The ddl which caused the issue, if relevant.

optional string ddl = 6;

Returns
Type Description
String

The ddl.

getDdlBytes()

public ByteString getDdlBytes()

The ddl which caused the issue, if relevant.

optional string ddl = 6;

Returns
Type Description
ByteString

The bytes for ddl.

getDefaultInstanceForType()

public EntityIssue getDefaultInstanceForType()
Returns
Type Description
EntityIssue

getEntityType()

public DatabaseEntityType getEntityType()

The entity type (if the DDL is for a sub entity).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 8;

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 = 8;

Returns
Type Description
int

The enum numeric value on the wire for entityType.

getId()

public String getId()

Unique Issue ID.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Unique Issue ID.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getMessage()

public String getMessage()

Issue detailed message

string message = 4;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Issue detailed message

string message = 4;

Returns
Type Description
ByteString

The bytes for message.

getParserForType()

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

getPosition()

public EntityIssue.Position getPosition()

The position of the issue found, if relevant.

optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;

Returns
Type Description
EntityIssue.Position

The position.

getPositionOrBuilder()

public EntityIssue.PositionOrBuilder getPositionOrBuilder()

The position of the issue found, if relevant.

optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;

Returns
Type Description
EntityIssue.PositionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSeverity()

public EntityIssue.IssueSeverity getSeverity()

Severity of the issue

.google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;

Returns
Type Description
EntityIssue.IssueSeverity

The severity.

getSeverityValue()

public int getSeverityValue()

Severity of the issue

.google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;

Returns
Type Description
int

The enum numeric value on the wire for severity.

getType()

public EntityIssue.IssueType getType()

The type of the issue.

.google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;

Returns
Type Description
EntityIssue.IssueType

The type.

getTypeValue()

public int getTypeValue()

The type of the issue.

.google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasDdl()

public boolean hasDdl()

The ddl which caused the issue, if relevant.

optional string ddl = 6;

Returns
Type Description
boolean

Whether the ddl field is set.

hasPosition()

public boolean hasPosition()

The position of the issue found, if relevant.

optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;

Returns
Type Description
boolean

Whether the position field is set.

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 EntityIssue.Builder newBuilderForType()
Returns
Type Description
EntityIssue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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