Class EntityMappingLogEntry.Builder (2.22.0)

public static final class EntityMappingLogEntry.Builder extends GeneratedMessageV3.Builder<EntityMappingLogEntry.Builder> implements EntityMappingLogEntryOrBuilder

A single record of a rule which was used for a mapping.

Protobuf type google.cloud.clouddms.v1.EntityMappingLogEntry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntityMappingLogEntry build()
Returns
TypeDescription
EntityMappingLogEntry

buildPartial()

public EntityMappingLogEntry buildPartial()
Returns
TypeDescription
EntityMappingLogEntry

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMappingComment()

public EntityMappingLogEntry.Builder clearMappingComment()

Comment.

string mapping_comment = 3;

Returns
TypeDescription
EntityMappingLogEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityMappingLogEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EntityMappingLogEntry.Builder
Overrides

clearRuleId()

public EntityMappingLogEntry.Builder clearRuleId()

Which rule caused this log entry.

string rule_id = 1;

Returns
TypeDescription
EntityMappingLogEntry.Builder

This builder for chaining.

clearRuleRevisionId()

public EntityMappingLogEntry.Builder clearRuleRevisionId()

Rule revision ID.

string rule_revision_id = 2;

Returns
TypeDescription
EntityMappingLogEntry.Builder

This builder for chaining.

clone()

public EntityMappingLogEntry.Builder clone()
Returns
TypeDescription
EntityMappingLogEntry.Builder
Overrides

getDefaultInstanceForType()

public EntityMappingLogEntry getDefaultInstanceForType()
Returns
TypeDescription
EntityMappingLogEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMappingComment()

public String getMappingComment()

Comment.

string mapping_comment = 3;

Returns
TypeDescription
String

The mappingComment.

getMappingCommentBytes()

public ByteString getMappingCommentBytes()

Comment.

string mapping_comment = 3;

Returns
TypeDescription
ByteString

The bytes for mappingComment.

getRuleId()

public String getRuleId()

Which rule caused this log entry.

string rule_id = 1;

Returns
TypeDescription
String

The ruleId.

getRuleIdBytes()

public ByteString getRuleIdBytes()

Which rule caused this log entry.

string rule_id = 1;

Returns
TypeDescription
ByteString

The bytes for ruleId.

getRuleRevisionId()

public String getRuleRevisionId()

Rule revision ID.

string rule_revision_id = 2;

Returns
TypeDescription
String

The ruleRevisionId.

getRuleRevisionIdBytes()

public ByteString getRuleRevisionIdBytes()

Rule revision ID.

string rule_revision_id = 2;

Returns
TypeDescription
ByteString

The bytes for ruleRevisionId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EntityMappingLogEntry other)

public EntityMappingLogEntry.Builder mergeFrom(EntityMappingLogEntry other)
Parameter
NameDescription
otherEntityMappingLogEntry
Returns
TypeDescription
EntityMappingLogEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public EntityMappingLogEntry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EntityMappingLogEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMappingComment(String value)

public EntityMappingLogEntry.Builder setMappingComment(String value)

Comment.

string mapping_comment = 3;

Parameter
NameDescription
valueString

The mappingComment to set.

Returns
TypeDescription
EntityMappingLogEntry.Builder

This builder for chaining.

setMappingCommentBytes(ByteString value)

public EntityMappingLogEntry.Builder setMappingCommentBytes(ByteString value)

Comment.

string mapping_comment = 3;

Parameter
NameDescription
valueByteString

The bytes for mappingComment to set.

Returns
TypeDescription
EntityMappingLogEntry.Builder

This builder for chaining.

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

public EntityMappingLogEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EntityMappingLogEntry.Builder
Overrides

setRuleId(String value)

public EntityMappingLogEntry.Builder setRuleId(String value)

Which rule caused this log entry.

string rule_id = 1;

Parameter
NameDescription
valueString

The ruleId to set.

Returns
TypeDescription
EntityMappingLogEntry.Builder

This builder for chaining.

setRuleIdBytes(ByteString value)

public EntityMappingLogEntry.Builder setRuleIdBytes(ByteString value)

Which rule caused this log entry.

string rule_id = 1;

Parameter
NameDescription
valueByteString

The bytes for ruleId to set.

Returns
TypeDescription
EntityMappingLogEntry.Builder

This builder for chaining.

setRuleRevisionId(String value)

public EntityMappingLogEntry.Builder setRuleRevisionId(String value)

Rule revision ID.

string rule_revision_id = 2;

Parameter
NameDescription
valueString

The ruleRevisionId to set.

Returns
TypeDescription
EntityMappingLogEntry.Builder

This builder for chaining.

setRuleRevisionIdBytes(ByteString value)

public EntityMappingLogEntry.Builder setRuleRevisionIdBytes(ByteString value)

Rule revision ID.

string rule_revision_id = 2;

Parameter
NameDescription
valueByteString

The bytes for ruleRevisionId to set.

Returns
TypeDescription
EntityMappingLogEntry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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