Package com.google.cloud.clouddms.v1
Class EntityIssue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
- com.google.cloud.clouddms.v1.EntityIssue.Builder
-
- All Implemented Interfaces:
EntityIssueOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- EntityIssue
public static final class EntityIssue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder> implements EntityIssueOrBuilder
Issue related to the entity.
Protobuf typegoogle.cloud.clouddms.v1.EntityIssue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityIssue.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
EntityIssue
build()
EntityIssue
buildPartial()
EntityIssue.Builder
clear()
EntityIssue.Builder
clearCode()
Error/Warning codeEntityIssue.Builder
clearDdl()
The ddl which caused the issue, if relevant.EntityIssue.Builder
clearEntityType()
The entity type (if the DDL is for a sub entity).EntityIssue.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EntityIssue.Builder
clearId()
Unique Issue ID.EntityIssue.Builder
clearMessage()
Issue detailed messageEntityIssue.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EntityIssue.Builder
clearPosition()
The position of the issue found, if relevant.EntityIssue.Builder
clearSeverity()
Severity of the issueEntityIssue.Builder
clearType()
The type of the issue.EntityIssue.Builder
clone()
String
getCode()
Error/Warning codecom.google.protobuf.ByteString
getCodeBytes()
Error/Warning codeString
getDdl()
The ddl which caused the issue, if relevant.com.google.protobuf.ByteString
getDdlBytes()
The ddl which caused the issue, if relevant.EntityIssue
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
DatabaseEntityType
getEntityType()
The entity type (if the DDL is for a sub entity).int
getEntityTypeValue()
The entity type (if the DDL is for a sub entity).String
getId()
Unique Issue ID.com.google.protobuf.ByteString
getIdBytes()
Unique Issue ID.String
getMessage()
Issue detailed messagecom.google.protobuf.ByteString
getMessageBytes()
Issue detailed messageEntityIssue.Position
getPosition()
The position of the issue found, if relevant.EntityIssue.Position.Builder
getPositionBuilder()
The position of the issue found, if relevant.EntityIssue.PositionOrBuilder
getPositionOrBuilder()
The position of the issue found, if relevant.EntityIssue.IssueSeverity
getSeverity()
Severity of the issueint
getSeverityValue()
Severity of the issueEntityIssue.IssueType
getType()
The type of the issue.int
getTypeValue()
The type of the issue.boolean
hasDdl()
The ddl which caused the issue, if relevant.boolean
hasPosition()
The position of the issue found, if relevant.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EntityIssue.Builder
mergeFrom(EntityIssue other)
EntityIssue.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EntityIssue.Builder
mergeFrom(com.google.protobuf.Message other)
EntityIssue.Builder
mergePosition(EntityIssue.Position value)
The position of the issue found, if relevant.EntityIssue.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EntityIssue.Builder
setCode(String value)
Error/Warning codeEntityIssue.Builder
setCodeBytes(com.google.protobuf.ByteString value)
Error/Warning codeEntityIssue.Builder
setDdl(String value)
The ddl which caused the issue, if relevant.EntityIssue.Builder
setDdlBytes(com.google.protobuf.ByteString value)
The ddl which caused the issue, if relevant.EntityIssue.Builder
setEntityType(DatabaseEntityType value)
The entity type (if the DDL is for a sub entity).EntityIssue.Builder
setEntityTypeValue(int value)
The entity type (if the DDL is for a sub entity).EntityIssue.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
EntityIssue.Builder
setId(String value)
Unique Issue ID.EntityIssue.Builder
setIdBytes(com.google.protobuf.ByteString value)
Unique Issue ID.EntityIssue.Builder
setMessage(String value)
Issue detailed messageEntityIssue.Builder
setMessageBytes(com.google.protobuf.ByteString value)
Issue detailed messageEntityIssue.Builder
setPosition(EntityIssue.Position value)
The position of the issue found, if relevant.EntityIssue.Builder
setPosition(EntityIssue.Position.Builder builderForValue)
The position of the issue found, if relevant.EntityIssue.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
EntityIssue.Builder
setSeverity(EntityIssue.IssueSeverity value)
Severity of the issueEntityIssue.Builder
setSeverityValue(int value)
Severity of the issueEntityIssue.Builder
setType(EntityIssue.IssueType value)
The type of the issue.EntityIssue.Builder
setTypeValue(int value)
The type of the issue.EntityIssue.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
clear
public EntityIssue.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
getDefaultInstanceForType
public EntityIssue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EntityIssue build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EntityIssue buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EntityIssue.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
setField
public EntityIssue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
clearField
public EntityIssue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
clearOneof
public EntityIssue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
setRepeatedField
public EntityIssue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
addRepeatedField
public EntityIssue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
mergeFrom
public EntityIssue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EntityIssue.Builder>
-
mergeFrom
public EntityIssue.Builder mergeFrom(EntityIssue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
mergeFrom
public EntityIssue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EntityIssue.Builder>
- Throws:
IOException
-
getId
public String getId()
Unique Issue ID.
string id = 1;
- Specified by:
getId
in interfaceEntityIssueOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Unique Issue ID.
string id = 1;
- Specified by:
getIdBytes
in interfaceEntityIssueOrBuilder
- Returns:
- The bytes for id.
-
setId
public EntityIssue.Builder setId(String value)
Unique Issue ID.
string id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public EntityIssue.Builder clearId()
Unique Issue ID.
string id = 1;
- Returns:
- This builder for chaining.
-
setIdBytes
public EntityIssue.Builder setIdBytes(com.google.protobuf.ByteString value)
Unique Issue ID.
string id = 1;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
The type of the issue.
.google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;
- Specified by:
getTypeValue
in interfaceEntityIssueOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public EntityIssue.Builder setTypeValue(int value)
The type of the issue.
.google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public EntityIssue.IssueType getType()
The type of the issue.
.google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;
- Specified by:
getType
in interfaceEntityIssueOrBuilder
- Returns:
- The type.
-
setType
public EntityIssue.Builder setType(EntityIssue.IssueType value)
The type of the issue.
.google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public EntityIssue.Builder clearType()
The type of the issue.
.google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;
- Returns:
- This builder for chaining.
-
getSeverityValue
public int getSeverityValue()
Severity of the issue
.google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;
- Specified by:
getSeverityValue
in interfaceEntityIssueOrBuilder
- Returns:
- The enum numeric value on the wire for severity.
-
setSeverityValue
public EntityIssue.Builder setSeverityValue(int value)
Severity of the issue
.google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;
- Parameters:
value
- The enum numeric value on the wire for severity to set.- Returns:
- This builder for chaining.
-
getSeverity
public EntityIssue.IssueSeverity getSeverity()
Severity of the issue
.google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;
- Specified by:
getSeverity
in interfaceEntityIssueOrBuilder
- Returns:
- The severity.
-
setSeverity
public EntityIssue.Builder setSeverity(EntityIssue.IssueSeverity value)
Severity of the issue
.google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;
- Parameters:
value
- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
public EntityIssue.Builder clearSeverity()
Severity of the issue
.google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;
- Returns:
- This builder for chaining.
-
getMessage
public String getMessage()
Issue detailed message
string message = 4;
- Specified by:
getMessage
in interfaceEntityIssueOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
Issue detailed message
string message = 4;
- Specified by:
getMessageBytes
in interfaceEntityIssueOrBuilder
- Returns:
- The bytes for message.
-
setMessage
public EntityIssue.Builder setMessage(String value)
Issue detailed message
string message = 4;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
public EntityIssue.Builder clearMessage()
Issue detailed message
string message = 4;
- Returns:
- This builder for chaining.
-
setMessageBytes
public EntityIssue.Builder setMessageBytes(com.google.protobuf.ByteString value)
Issue detailed message
string message = 4;
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
getCode
public String getCode()
Error/Warning code
string code = 5;
- Specified by:
getCode
in interfaceEntityIssueOrBuilder
- Returns:
- The code.
-
getCodeBytes
public com.google.protobuf.ByteString getCodeBytes()
Error/Warning code
string code = 5;
- Specified by:
getCodeBytes
in interfaceEntityIssueOrBuilder
- Returns:
- The bytes for code.
-
setCode
public EntityIssue.Builder setCode(String value)
Error/Warning code
string code = 5;
- Parameters:
value
- The code to set.- Returns:
- This builder for chaining.
-
clearCode
public EntityIssue.Builder clearCode()
Error/Warning code
string code = 5;
- Returns:
- This builder for chaining.
-
setCodeBytes
public EntityIssue.Builder setCodeBytes(com.google.protobuf.ByteString value)
Error/Warning code
string code = 5;
- Parameters:
value
- The bytes for code to set.- Returns:
- This builder for chaining.
-
hasDdl
public boolean hasDdl()
The ddl which caused the issue, if relevant.
optional string ddl = 6;
- Specified by:
hasDdl
in interfaceEntityIssueOrBuilder
- Returns:
- Whether the ddl field is set.
-
getDdl
public String getDdl()
The ddl which caused the issue, if relevant.
optional string ddl = 6;
- Specified by:
getDdl
in interfaceEntityIssueOrBuilder
- Returns:
- The ddl.
-
getDdlBytes
public com.google.protobuf.ByteString getDdlBytes()
The ddl which caused the issue, if relevant.
optional string ddl = 6;
- Specified by:
getDdlBytes
in interfaceEntityIssueOrBuilder
- Returns:
- The bytes for ddl.
-
setDdl
public EntityIssue.Builder setDdl(String value)
The ddl which caused the issue, if relevant.
optional string ddl = 6;
- Parameters:
value
- The ddl to set.- Returns:
- This builder for chaining.
-
clearDdl
public EntityIssue.Builder clearDdl()
The ddl which caused the issue, if relevant.
optional string ddl = 6;
- Returns:
- This builder for chaining.
-
setDdlBytes
public EntityIssue.Builder setDdlBytes(com.google.protobuf.ByteString value)
The ddl which caused the issue, if relevant.
optional string ddl = 6;
- Parameters:
value
- The bytes for ddl to set.- Returns:
- This builder for chaining.
-
hasPosition
public boolean hasPosition()
The position of the issue found, if relevant.
optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
- Specified by:
hasPosition
in interfaceEntityIssueOrBuilder
- Returns:
- Whether the position field is set.
-
getPosition
public EntityIssue.Position getPosition()
The position of the issue found, if relevant.
optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
- Specified by:
getPosition
in interfaceEntityIssueOrBuilder
- Returns:
- The position.
-
setPosition
public EntityIssue.Builder setPosition(EntityIssue.Position value)
The position of the issue found, if relevant.
optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
-
setPosition
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;
-
mergePosition
public EntityIssue.Builder mergePosition(EntityIssue.Position value)
The position of the issue found, if relevant.
optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
-
clearPosition
public EntityIssue.Builder clearPosition()
The position of the issue found, if relevant.
optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
-
getPositionBuilder
public EntityIssue.Position.Builder getPositionBuilder()
The position of the issue found, if relevant.
optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
-
getPositionOrBuilder
public EntityIssue.PositionOrBuilder getPositionOrBuilder()
The position of the issue found, if relevant.
optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
- Specified by:
getPositionOrBuilder
in interfaceEntityIssueOrBuilder
-
getEntityTypeValue
public int getEntityTypeValue()
The entity type (if the DDL is for a sub entity).
.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 8;
- Specified by:
getEntityTypeValue
in interfaceEntityIssueOrBuilder
- Returns:
- The enum numeric value on the wire for entityType.
-
setEntityTypeValue
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;
- Parameters:
value
- The enum numeric value on the wire for entityType to set.- Returns:
- This builder for chaining.
-
getEntityType
public DatabaseEntityType getEntityType()
The entity type (if the DDL is for a sub entity).
.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 8;
- Specified by:
getEntityType
in interfaceEntityIssueOrBuilder
- Returns:
- The entityType.
-
setEntityType
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;
- Parameters:
value
- The entityType to set.- Returns:
- 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:
- This builder for chaining.
-
setUnknownFields
public final EntityIssue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
mergeUnknownFields
public final EntityIssue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
-
-