public static final class Link.Builder extends GeneratedMessageV3.Builder<Link.Builder> implements LinkOrBuilder
Links represent the data flow between source (upstream) and target (downstream) assets in transformation pipelines.
Links are created when LineageEvents record data transformation between related assets.
Protobuf type google.cloud.datacatalog.lineage.v1.Link
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Link.BuilderImplements
LinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Link.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Link.Builder |
build()
public Link build()
Returns | |
---|---|
Type | Description |
Link |
buildPartial()
public Link buildPartial()
Returns | |
---|---|
Type | Description |
Link |
clear()
public Link.Builder clear()
Returns | |
---|---|
Type | Description |
Link.Builder |
clearEndTime()
public Link.Builder clearEndTime()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Returns | |
---|---|
Type | Description |
Link.Builder |
clearField(Descriptors.FieldDescriptor field)
public Link.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Link.Builder |
clearName()
public Link.Builder clearName()
Output only. Immutable. The name of the link. Format:
projects/{project}/locations/{location}/links/{link}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Link.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Link.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Link.Builder |
clearSource()
public Link.Builder clearSource()
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Returns | |
---|---|
Type | Description |
Link.Builder |
clearStartTime()
public Link.Builder clearStartTime()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Returns | |
---|---|
Type | Description |
Link.Builder |
clearTarget()
public Link.Builder clearTarget()
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Returns | |
---|---|
Type | Description |
Link.Builder |
clone()
public Link.Builder clone()
Returns | |
---|---|
Type | Description |
Link.Builder |
getDefaultInstanceForType()
public Link getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Link |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getName()
public String getName()
Output only. Immutable. The name of the link. Format:
projects/{project}/locations/{location}/links/{link}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Immutable. The name of the link. Format:
projects/{project}/locations/{location}/links/{link}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getSource()
public EntityReference getSource()
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Returns | |
---|---|
Type | Description |
EntityReference |
The source. |
getSourceBuilder()
public EntityReference.Builder getSourceBuilder()
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Returns | |
---|---|
Type | Description |
EntityReference.Builder |
getSourceOrBuilder()
public EntityReferenceOrBuilder getSourceOrBuilder()
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Returns | |
---|---|
Type | Description |
EntityReferenceOrBuilder |
getStartTime()
public Timestamp getStartTime()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Returns | |
---|---|
Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getTarget()
public EntityReference getTarget()
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Returns | |
---|---|
Type | Description |
EntityReference |
The target. |
getTargetBuilder()
public EntityReference.Builder getTargetBuilder()
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Returns | |
---|---|
Type | Description |
EntityReference.Builder |
getTargetOrBuilder()
public EntityReferenceOrBuilder getTargetOrBuilder()
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Returns | |
---|---|
Type | Description |
EntityReferenceOrBuilder |
hasEndTime()
public boolean hasEndTime()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime field is set. |
hasSource()
public boolean hasSource()
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the source field is set. |
hasStartTime()
public boolean hasStartTime()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the startTime field is set. |
hasTarget()
public boolean hasTarget()
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the target field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public Link.Builder mergeEndTime(Timestamp value)
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Link.Builder |
mergeFrom(Link other)
public Link.Builder mergeFrom(Link other)
Parameter | |
---|---|
Name | Description |
other |
Link |
Returns | |
---|---|
Type | Description |
Link.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Link.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Link.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Link.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Link.Builder |
mergeSource(EntityReference value)
public Link.Builder mergeSource(EntityReference value)
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Parameter | |
---|---|
Name | Description |
value |
EntityReference |
Returns | |
---|---|
Type | Description |
Link.Builder |
mergeStartTime(Timestamp value)
public Link.Builder mergeStartTime(Timestamp value)
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Link.Builder |
mergeTarget(EntityReference value)
public Link.Builder mergeTarget(EntityReference value)
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Parameter | |
---|---|
Name | Description |
value |
EntityReference |
Returns | |
---|---|
Type | Description |
Link.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Link.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Link.Builder |
setEndTime(Timestamp value)
public Link.Builder setEndTime(Timestamp value)
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Link.Builder |
setEndTime(Timestamp.Builder builderForValue)
public Link.Builder setEndTime(Timestamp.Builder builderForValue)
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Link.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Link.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Link.Builder |
setName(String value)
public Link.Builder setName(String value)
Output only. Immutable. The name of the link. Format:
projects/{project}/locations/{location}/links/{link}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Link.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Link.Builder setNameBytes(ByteString value)
Output only. Immutable. The name of the link. Format:
projects/{project}/locations/{location}/links/{link}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Link.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Link.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Link.Builder |
setSource(EntityReference value)
public Link.Builder setSource(EntityReference value)
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Parameter | |
---|---|
Name | Description |
value |
EntityReference |
Returns | |
---|---|
Type | Description |
Link.Builder |
setSource(EntityReference.Builder builderForValue)
public Link.Builder setSource(EntityReference.Builder builderForValue)
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
EntityReference.Builder |
Returns | |
---|---|
Type | Description |
Link.Builder |
setStartTime(Timestamp value)
public Link.Builder setStartTime(Timestamp value)
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Link.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Link.Builder setStartTime(Timestamp.Builder builderForValue)
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Link.Builder |
setTarget(EntityReference value)
public Link.Builder setTarget(EntityReference value)
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Parameter | |
---|---|
Name | Description |
value |
EntityReference |
Returns | |
---|---|
Type | Description |
Link.Builder |
setTarget(EntityReference.Builder builderForValue)
public Link.Builder setTarget(EntityReference.Builder builderForValue)
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
EntityReference.Builder |
Returns | |
---|---|
Type | Description |
Link.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Link.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Link.Builder |