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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public EventLink buildPartial()
clear()
public EventLink.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public EventLink.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EventLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSource()
public EventLink.Builder clearSource()
Required. Reference to the source entity
.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];
clearTarget()
public EventLink.Builder clearTarget()
Required. Reference to the target entity
.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public EventLink.Builder clone()
Overrides
getDefaultInstanceForType()
public EventLink getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSource()
public EntityReference getSource()
Required. Reference to the source entity
.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];
getSourceBuilder()
public EntityReference.Builder getSourceBuilder()
Required. Reference to the source entity
.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];
getSourceOrBuilder()
public EntityReferenceOrBuilder getSourceOrBuilder()
Required. Reference to the source entity
.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];
getTarget()
public EntityReference getTarget()
Required. Reference to the target entity
.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];
getTargetBuilder()
public EntityReference.Builder getTargetBuilder()
Required. Reference to the target entity
.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];
getTargetOrBuilder()
public EntityReferenceOrBuilder getTargetOrBuilder()
Required. Reference to the target entity
.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];
hasSource()
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.
|
hasTarget()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EventLink other)
public EventLink.Builder mergeFrom(EventLink other)
public EventLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EventLink.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeSource(EntityReference value)
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];
mergeTarget(EntityReference value)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public EventLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSource(EntityReference value)
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];
setSource(EntityReference.Builder builderForValue)
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];
setTarget(EntityReference value)
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];
setTarget(EntityReference.Builder builderForValue)
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final EventLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides