Class EntityGraphEnrichment (0.3.0)

public final class EntityGraphEnrichment extends GeneratedMessage implements EntityGraphEnrichmentOrBuilder

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

Protobuf type google.backstory.EntityGraphEnrichment

Static Fields

DATA_TABLE_FIELD_NUMBER

public static final int DATA_TABLE_FIELD_NUMBER
Field Value
Type Description
int

ENRICHMENT_TYPE_FIELD_NUMBER

public static final int ENRICHMENT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

OVERRIDDEN_ENTITY_FIELD_NUMBER

public static final int OVERRIDDEN_ENTITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EntityGraphEnrichment getDefaultInstance()
Returns
Type Description
EntityGraphEnrichment

getDescriptor()

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

newBuilder()

public static EntityGraphEnrichment.Builder newBuilder()
Returns
Type Description
EntityGraphEnrichment.Builder

newBuilder(EntityGraphEnrichment prototype)

public static EntityGraphEnrichment.Builder newBuilder(EntityGraphEnrichment prototype)
Parameter
Name Description
prototype EntityGraphEnrichment
Returns
Type Description
EntityGraphEnrichment.Builder

parseDelimitedFrom(InputStream input)

public static EntityGraphEnrichment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityGraphEnrichment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EntityGraphEnrichment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntityGraphEnrichment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntityGraphEnrichment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntityGraphEnrichment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntityGraphEnrichment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityGraphEnrichment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EntityGraphEnrichment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityGraphEnrichment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EntityGraphEnrichment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntityGraphEnrichment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityGraphEnrichment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EntityGraphEnrichment> parser()
Returns
Type Description
Parser<EntityGraphEnrichment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

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

getParserForType()

public Parser<EntityGraphEnrichment> getParserForType()
Returns
Type Description
Parser<EntityGraphEnrichment>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EntityGraphEnrichment.Builder newBuilderForType()
Returns
Type Description
EntityGraphEnrichment.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected EntityGraphEnrichment.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EntityGraphEnrichment.Builder
Overrides

toBuilder()

public EntityGraphEnrichment.Builder toBuilder()
Returns
Type Description
EntityGraphEnrichment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException