Class EntityIssue (2.36.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
TypeDescription
int

DDL_FIELD_NUMBER

public static final int DDL_FIELD_NUMBER
Field Value
TypeDescription
int

ENTITY_TYPE_FIELD_NUMBER

public static final int ENTITY_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

POSITION_FIELD_NUMBER

public static final int POSITION_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EntityIssue getDefaultInstance()
Returns
TypeDescription
EntityIssue

getDescriptor()

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

newBuilder()

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

newBuilder(EntityIssue prototype)

public static EntityIssue.Builder newBuilder(EntityIssue prototype)
Parameter
NameDescription
prototypeEntityIssue
Returns
TypeDescription
EntityIssue.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCode()

public String getCode()

Error/Warning code

string code = 5;

Returns
TypeDescription
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

Error/Warning code

string code = 5;

Returns
TypeDescription
ByteString

The bytes for code.

getDdl()

public String getDdl()

The ddl which caused the issue, if relevant.

optional string ddl = 6;

Returns
TypeDescription
String

The ddl.

getDdlBytes()

public ByteString getDdlBytes()

The ddl which caused the issue, if relevant.

optional string ddl = 6;

Returns
TypeDescription
ByteString

The bytes for ddl.

getDefaultInstanceForType()

public EntityIssue getDefaultInstanceForType()
Returns
TypeDescription
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
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 = 8;

Returns
TypeDescription
int

The enum numeric value on the wire for entityType.

getId()

public String getId()

Unique Issue ID.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Unique Issue ID.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getMessage()

public String getMessage()

Issue detailed message

string message = 4;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Issue detailed message

string message = 4;

Returns
TypeDescription
ByteString

The bytes for message.

getParserForType()

public Parser<EntityIssue> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
EntityIssue.PositionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSeverity()

public EntityIssue.IssueSeverity getSeverity()

Severity of the issue

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

Returns
TypeDescription
EntityIssue.IssueSeverity

The severity.

getSeverityValue()

public int getSeverityValue()

Severity of the issue

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

Returns
TypeDescription
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
TypeDescription
EntityIssue.IssueType

The type.

getTypeValue()

public int getTypeValue()

The type of the issue.

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

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

Whether the position field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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