Class EventLink.Builder (0.47.0)

public static final class EventLink.Builder extends GeneratedMessageV3.Builder<EventLink.Builder> implements EventLinkOrBuilder

A lineage between source and target entities.

Protobuf type google.cloud.datacatalog.lineage.v1.EventLink

Implements

EventLinkOrBuilder

Static Methods

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

Methods

public EventLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EventLink.Builder
Overrides
public EventLink build()
Returns
Type Description
EventLink
public EventLink buildPartial()
Returns
Type Description
EventLink
public EventLink.Builder clear()
Returns
Type Description
EventLink.Builder
Overrides
public EventLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EventLink.Builder
Overrides
public EventLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EventLink.Builder
Overrides
public EventLink.Builder clearSource()

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventLink.Builder
public EventLink.Builder clearTarget()

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventLink.Builder
public EventLink.Builder clone()
Returns
Type Description
EventLink.Builder
Overrides
public EventLink getDefaultInstanceForType()
Returns
Type Description
EventLink
public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public EntityReference getSource()

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityReference

The source.

public EntityReference.Builder getSourceBuilder()

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityReference.Builder
public EntityReferenceOrBuilder getSourceOrBuilder()

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityReferenceOrBuilder
public EntityReference getTarget()

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityReference

The target.

public EntityReference.Builder getTargetBuilder()

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityReference.Builder
public EntityReferenceOrBuilder getTargetOrBuilder()

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityReferenceOrBuilder
public boolean hasSource()

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the source field is set.

public boolean hasTarget()

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the target field is set.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public EventLink.Builder mergeFrom(EventLink other)
Parameter
Name Description
other EventLink
Returns
Type Description
EventLink.Builder
public EventLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventLink.Builder
Overrides
Exceptions
Type Description
IOException
public EventLink.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EventLink.Builder
Overrides
public EventLink.Builder mergeSource(EntityReference value)

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EntityReference
Returns
Type Description
EventLink.Builder
public EventLink.Builder mergeTarget(EntityReference value)

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EntityReference
Returns
Type Description
EventLink.Builder
public final EventLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EventLink.Builder
Overrides
public EventLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EventLink.Builder
Overrides
public EventLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EventLink.Builder
Overrides
public EventLink.Builder setSource(EntityReference value)

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EntityReference
Returns
Type Description
EventLink.Builder
public EventLink.Builder setSource(EntityReference.Builder builderForValue)

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EntityReference.Builder
Returns
Type Description
EventLink.Builder
public EventLink.Builder setTarget(EntityReference value)

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EntityReference
Returns
Type Description
EventLink.Builder
public EventLink.Builder setTarget(EntityReference.Builder builderForValue)

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EntityReference.Builder
Returns
Type Description
EventLink.Builder
public final EventLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EventLink.Builder
Overrides