Class EntityGraphEnrichment.Builder (0.3.0)

public static final class EntityGraphEnrichment.Builder extends GeneratedMessage.Builder<EntityGraphEnrichment.Builder> implements EntityGraphEnrichmentOrBuilder

EntityGraphEnrichment contains the data table name and the enrichment applied to the entity.

Protobuf type google.backstory.EntityGraphEnrichment

Static Methods

getDescriptor()

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

Methods

build()

public EntityGraphEnrichment build()
Returns
Type Description
EntityGraphEnrichment

buildPartial()

public EntityGraphEnrichment buildPartial()
Returns
Type Description
EntityGraphEnrichment

clear()

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

clearDataTable()

public EntityGraphEnrichment.Builder clearDataTable()

The name of the data table.

string data_table = 1;

Returns
Type Description
EntityGraphEnrichment.Builder

This builder for chaining.

clearEnrichmentType()

public EntityGraphEnrichment.Builder clearEnrichmentType()

The type of enrichment.

.google.backstory.EntityGraphEnrichment.EnrichmentType enrichment_type = 3;

Returns
Type Description
EntityGraphEnrichment.Builder

This builder for chaining.

clearOverriddenEntity()

public EntityGraphEnrichment.Builder clearOverriddenEntity()

The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE.

.google.backstory.Entity overridden_entity = 2;

Returns
Type Description
EntityGraphEnrichment.Builder

getDataTable()

public String getDataTable()

The name of the data table.

string data_table = 1;

Returns
Type Description
String

The dataTable.

getDataTableBytes()

public ByteString getDataTableBytes()

The name of the data table.

string data_table = 1;

Returns
Type Description
ByteString

The bytes for dataTable.

getDefaultInstanceForType()

public EntityGraphEnrichment getDefaultInstanceForType()
Returns
Type Description
EntityGraphEnrichment

getDescriptorForType()

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

getEnrichmentType()

public EntityGraphEnrichment.EnrichmentType getEnrichmentType()

The type of enrichment.

.google.backstory.EntityGraphEnrichment.EnrichmentType enrichment_type = 3;

Returns
Type Description
EntityGraphEnrichment.EnrichmentType

The enrichmentType.

getEnrichmentTypeValue()

public int getEnrichmentTypeValue()

The type of enrichment.

.google.backstory.EntityGraphEnrichment.EnrichmentType enrichment_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for enrichmentType.

getOverriddenEntity()

public Entity getOverriddenEntity()

The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE.

.google.backstory.Entity overridden_entity = 2;

Returns
Type Description
Entity

The overriddenEntity.

getOverriddenEntityBuilder()

public Entity.Builder getOverriddenEntityBuilder()

The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE.

.google.backstory.Entity overridden_entity = 2;

Returns
Type Description
Entity.Builder

getOverriddenEntityOrBuilder()

public EntityOrBuilder getOverriddenEntityOrBuilder()

The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE.

.google.backstory.Entity overridden_entity = 2;

Returns
Type Description
EntityOrBuilder

hasOverriddenEntity()

public boolean hasOverriddenEntity()

The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE.

.google.backstory.Entity overridden_entity = 2;

Returns
Type Description
boolean

Whether the overriddenEntity field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntityGraphEnrichment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOverriddenEntity(Entity value)

public EntityGraphEnrichment.Builder mergeOverriddenEntity(Entity value)

The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE.

.google.backstory.Entity overridden_entity = 2;

Parameter
Name Description
value Entity
Returns
Type Description
EntityGraphEnrichment.Builder

setDataTable(String value)

public EntityGraphEnrichment.Builder setDataTable(String value)

The name of the data table.

string data_table = 1;

Parameter
Name Description
value String

The dataTable to set.

Returns
Type Description
EntityGraphEnrichment.Builder

This builder for chaining.

setDataTableBytes(ByteString value)

public EntityGraphEnrichment.Builder setDataTableBytes(ByteString value)

The name of the data table.

string data_table = 1;

Parameter
Name Description
value ByteString

The bytes for dataTable to set.

Returns
Type Description
EntityGraphEnrichment.Builder

This builder for chaining.

setEnrichmentType(EntityGraphEnrichment.EnrichmentType value)

public EntityGraphEnrichment.Builder setEnrichmentType(EntityGraphEnrichment.EnrichmentType value)

The type of enrichment.

.google.backstory.EntityGraphEnrichment.EnrichmentType enrichment_type = 3;

Parameter
Name Description
value EntityGraphEnrichment.EnrichmentType

The enrichmentType to set.

Returns
Type Description
EntityGraphEnrichment.Builder

This builder for chaining.

setEnrichmentTypeValue(int value)

public EntityGraphEnrichment.Builder setEnrichmentTypeValue(int value)

The type of enrichment.

.google.backstory.EntityGraphEnrichment.EnrichmentType enrichment_type = 3;

Parameter
Name Description
value int

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

Returns
Type Description
EntityGraphEnrichment.Builder

This builder for chaining.

setOverriddenEntity(Entity value)

public EntityGraphEnrichment.Builder setOverriddenEntity(Entity value)

The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE.

.google.backstory.Entity overridden_entity = 2;

Parameter
Name Description
value Entity
Returns
Type Description
EntityGraphEnrichment.Builder

setOverriddenEntity(Entity.Builder builderForValue)

public EntityGraphEnrichment.Builder setOverriddenEntity(Entity.Builder builderForValue)

The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE.

.google.backstory.Entity overridden_entity = 2;

Parameter
Name Description
builderForValue Entity.Builder
Returns
Type Description
EntityGraphEnrichment.Builder