Class EventLink.Builder (0.27.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
TypeDescription
Descriptor

Methods

public EventLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventLink.Builder
Overrides
public EventLink build()
Returns
TypeDescription
EventLink
public EventLink buildPartial()
Returns
TypeDescription
EventLink
public EventLink.Builder clear()
Returns
TypeDescription
EventLink.Builder
Overrides
public EventLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EventLink.Builder
Overrides
public EventLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
EventLink.Builder
public EventLink.Builder clone()
Returns
TypeDescription
EventLink.Builder
Overrides
public EventLink getDefaultInstanceForType()
Returns
TypeDescription
EventLink
public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
EntityReferenceOrBuilder
public EntityReference getTarget()

Required. Reference to the target entity

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
EntityReferenceOrBuilder
public boolean hasSource()

Required. Reference to the source entity

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the target field is set.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
public EventLink.Builder mergeFrom(EventLink other)
Parameter
NameDescription
otherEventLink
Returns
TypeDescription
EventLink.Builder
public EventLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventLink.Builder
Overrides
Exceptions
TypeDescription
IOException
public EventLink.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueEntityReference
Returns
TypeDescription
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
NameDescription
valueEntityReference
Returns
TypeDescription
EventLink.Builder
public final EventLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventLink.Builder
Overrides
public EventLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventLink.Builder
Overrides
public EventLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueEntityReference
Returns
TypeDescription
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
NameDescription
builderForValueEntityReference.Builder
Returns
TypeDescription
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
NameDescription
valueEntityReference
Returns
TypeDescription
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
NameDescription
builderForValueEntityReference.Builder
Returns
TypeDescription
EventLink.Builder
public final EventLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventLink.Builder
Overrides