Class EntityIssue.Builder (2.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EntityIssue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EntityIssue.Builder
Overrides

build()

public EntityIssue build()
Returns
TypeDescription
EntityIssue

buildPartial()

public EntityIssue buildPartial()
Returns
TypeDescription
EntityIssue

clear()

public EntityIssue.Builder clear()
Returns
TypeDescription
EntityIssue.Builder
Overrides

clearCode()

public EntityIssue.Builder clearCode()

Error/Warning code

string code = 5;

Returns
TypeDescription
EntityIssue.Builder

This builder for chaining.

clearDdl()

public EntityIssue.Builder clearDdl()

The ddl which caused the issue, if relevant.

optional string ddl = 6;

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EntityIssue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EntityIssue.Builder
Overrides

clearId()

public EntityIssue.Builder clearId()

Unique Issue ID.

string id = 1;

Returns
TypeDescription
EntityIssue.Builder

This builder for chaining.

clearMessage()

public EntityIssue.Builder clearMessage()

Issue detailed message

string message = 4;

Returns
TypeDescription
EntityIssue.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
EntityIssue.Builder

clearSeverity()

public EntityIssue.Builder clearSeverity()

Severity of the issue

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

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

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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.

getPositionBuilder()

public EntityIssue.Position.Builder getPositionBuilder()

The position of the issue found, if relevant.

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

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EntityIssue other)

public EntityIssue.Builder mergeFrom(EntityIssue other)
Parameter
NameDescription
otherEntityIssue
Returns
TypeDescription
EntityIssue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EntityIssue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityIssue.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EntityIssue.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueEntityIssue.Position
Returns
TypeDescription
EntityIssue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntityIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EntityIssue.Builder
Overrides

setCode(String value)

public EntityIssue.Builder setCode(String value)

Error/Warning code

string code = 5;

Parameter
NameDescription
valueString

The code to set.

Returns
TypeDescription
EntityIssue.Builder

This builder for chaining.

setCodeBytes(ByteString value)

public EntityIssue.Builder setCodeBytes(ByteString value)

Error/Warning code

string code = 5;

Parameter
NameDescription
valueByteString

The bytes for code to set.

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

The ddl to set.

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

The bytes for ddl to set.

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

The entityType to set.

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

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

Returns
TypeDescription
EntityIssue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EntityIssue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EntityIssue.Builder
Overrides

setId(String value)

public EntityIssue.Builder setId(String value)

Unique Issue ID.

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
EntityIssue.Builder

This builder for chaining.

setIdBytes(ByteString value)

public EntityIssue.Builder setIdBytes(ByteString value)

Unique Issue ID.

string id = 1;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
EntityIssue.Builder

This builder for chaining.

setMessage(String value)

public EntityIssue.Builder setMessage(String value)

Issue detailed message

string message = 4;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
EntityIssue.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public EntityIssue.Builder setMessageBytes(ByteString value)

Issue detailed message

string message = 4;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
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
NameDescription
valueEntityIssue.Position
Returns
TypeDescription
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
NameDescription
builderForValueEntityIssue.Position.Builder
Returns
TypeDescription
EntityIssue.Builder

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

public EntityIssue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueEntityIssue.IssueSeverity

The severity to set.

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

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

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

The type to set.

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

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

Returns
TypeDescription
EntityIssue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EntityIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EntityIssue.Builder
Overrides