Class EntityIssue.Builder (2.45.0)

public static final class EntityIssue.Builder extends GeneratedMessageV3.Builder<EntityIssue.Builder> implements EntityIssueOrBuilder

Issue related to the entity.

Protobuf type google.cloud.clouddms.v1.EntityIssue

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EntityIssue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EntityIssue.Builder
Overrides

build()

public EntityIssue build()
Returns
Type Description
EntityIssue

buildPartial()

public EntityIssue buildPartial()
Returns
Type Description
EntityIssue

clear()

public EntityIssue.Builder clear()
Returns
Type Description
EntityIssue.Builder
Overrides

clearCode()

public EntityIssue.Builder clearCode()

Error/Warning code

string code = 5;

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

clearDdl()

public EntityIssue.Builder clearDdl()

The ddl which caused the issue, if relevant.

optional string ddl = 6;

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

clearEntityType()

public EntityIssue.Builder clearEntityType()

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

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

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EntityIssue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EntityIssue.Builder
Overrides

clearId()

public EntityIssue.Builder clearId()

Unique Issue ID.

string id = 1;

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

clearMessage()

public EntityIssue.Builder clearMessage()

Issue detailed message

string message = 4;

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EntityIssue.Builder
Overrides

clearPosition()

public EntityIssue.Builder clearPosition()

The position of the issue found, if relevant.

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

Returns
Type Description
EntityIssue.Builder

clearSeverity()

public EntityIssue.Builder clearSeverity()

Severity of the issue

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

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

clearType()

public EntityIssue.Builder clearType()

The type of the issue.

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

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

getPositionBuilder()

public EntityIssue.Position.Builder getPositionBuilder()

The position of the issue found, if relevant.

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

Returns
Type Description
EntityIssue.Position.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntityIssue other)

public EntityIssue.Builder mergeFrom(EntityIssue other)
Parameter
Name Description
other EntityIssue
Returns
Type Description
EntityIssue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EntityIssue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityIssue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EntityIssue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EntityIssue.Builder
Overrides

mergePosition(EntityIssue.Position value)

public EntityIssue.Builder mergePosition(EntityIssue.Position value)

The position of the issue found, if relevant.

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

Parameter
Name Description
value EntityIssue.Position
Returns
Type Description
EntityIssue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntityIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntityIssue.Builder
Overrides

setCode(String value)

public EntityIssue.Builder setCode(String value)

Error/Warning code

string code = 5;

Parameter
Name Description
value String

The code to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setCodeBytes(ByteString value)

public EntityIssue.Builder setCodeBytes(ByteString value)

Error/Warning code

string code = 5;

Parameter
Name Description
value ByteString

The bytes for code to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setDdl(String value)

public EntityIssue.Builder setDdl(String value)

The ddl which caused the issue, if relevant.

optional string ddl = 6;

Parameter
Name Description
value String

The ddl to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setDdlBytes(ByteString value)

public EntityIssue.Builder setDdlBytes(ByteString value)

The ddl which caused the issue, if relevant.

optional string ddl = 6;

Parameter
Name Description
value ByteString

The bytes for ddl to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setEntityType(DatabaseEntityType value)

public EntityIssue.Builder setEntityType(DatabaseEntityType value)

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

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

Parameter
Name Description
value DatabaseEntityType

The entityType to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setEntityTypeValue(int value)

public EntityIssue.Builder setEntityTypeValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for entityType to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EntityIssue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EntityIssue.Builder
Overrides

setId(String value)

public EntityIssue.Builder setId(String value)

Unique Issue ID.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setIdBytes(ByteString value)

public EntityIssue.Builder setIdBytes(ByteString value)

Unique Issue ID.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setMessage(String value)

public EntityIssue.Builder setMessage(String value)

Issue detailed message

string message = 4;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public EntityIssue.Builder setMessageBytes(ByteString value)

Issue detailed message

string message = 4;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setPosition(EntityIssue.Position value)

public EntityIssue.Builder setPosition(EntityIssue.Position value)

The position of the issue found, if relevant.

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

Parameter
Name Description
value EntityIssue.Position
Returns
Type Description
EntityIssue.Builder

setPosition(EntityIssue.Position.Builder builderForValue)

public EntityIssue.Builder setPosition(EntityIssue.Position.Builder builderForValue)

The position of the issue found, if relevant.

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

Parameter
Name Description
builderForValue EntityIssue.Position.Builder
Returns
Type Description
EntityIssue.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EntityIssue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EntityIssue.Builder
Overrides

setSeverity(EntityIssue.IssueSeverity value)

public EntityIssue.Builder setSeverity(EntityIssue.IssueSeverity value)

Severity of the issue

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

Parameter
Name Description
value EntityIssue.IssueSeverity

The severity to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setSeverityValue(int value)

public EntityIssue.Builder setSeverityValue(int value)

Severity of the issue

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

Parameter
Name Description
value int

The enum numeric value on the wire for severity to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setType(EntityIssue.IssueType value)

public EntityIssue.Builder setType(EntityIssue.IssueType value)

The type of the issue.

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

Parameter
Name Description
value EntityIssue.IssueType

The type to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setTypeValue(int value)

public EntityIssue.Builder setTypeValue(int value)

The type of the issue.

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

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
EntityIssue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EntityIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntityIssue.Builder
Overrides