Class LineageSubgraph.Builder (3.48.0)

public static final class LineageSubgraph.Builder extends GeneratedMessageV3.Builder<LineageSubgraph.Builder> implements LineageSubgraphOrBuilder

A subgraph of the overall lineage graph. Event edges connect Artifact and Execution nodes.

Protobuf type google.cloud.aiplatform.v1.LineageSubgraph

Static Methods

getDescriptor()

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

Methods

addAllArtifacts(Iterable<? extends Artifact> values)

public LineageSubgraph.Builder addAllArtifacts(Iterable<? extends Artifact> values)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.Artifact>
Returns
Type Description
LineageSubgraph.Builder

addAllEvents(Iterable<? extends Event> values)

public LineageSubgraph.Builder addAllEvents(Iterable<? extends Event> values)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.Event>
Returns
Type Description
LineageSubgraph.Builder

addAllExecutions(Iterable<? extends Execution> values)

public LineageSubgraph.Builder addAllExecutions(Iterable<? extends Execution> values)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.Execution>
Returns
Type Description
LineageSubgraph.Builder

addArtifacts(Artifact value)

public LineageSubgraph.Builder addArtifacts(Artifact value)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameter
Name Description
value Artifact
Returns
Type Description
LineageSubgraph.Builder

addArtifacts(Artifact.Builder builderForValue)

public LineageSubgraph.Builder addArtifacts(Artifact.Builder builderForValue)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameter
Name Description
builderForValue Artifact.Builder
Returns
Type Description
LineageSubgraph.Builder

addArtifacts(int index, Artifact value)

public LineageSubgraph.Builder addArtifacts(int index, Artifact value)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameters
Name Description
index int
value Artifact
Returns
Type Description
LineageSubgraph.Builder

addArtifacts(int index, Artifact.Builder builderForValue)

public LineageSubgraph.Builder addArtifacts(int index, Artifact.Builder builderForValue)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameters
Name Description
index int
builderForValue Artifact.Builder
Returns
Type Description
LineageSubgraph.Builder

addArtifactsBuilder()

public Artifact.Builder addArtifactsBuilder()

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Returns
Type Description
Artifact.Builder

addArtifactsBuilder(int index)

public Artifact.Builder addArtifactsBuilder(int index)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
Artifact.Builder

addEvents(Event value)

public LineageSubgraph.Builder addEvents(Event value)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameter
Name Description
value Event
Returns
Type Description
LineageSubgraph.Builder

addEvents(Event.Builder builderForValue)

public LineageSubgraph.Builder addEvents(Event.Builder builderForValue)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameter
Name Description
builderForValue Event.Builder
Returns
Type Description
LineageSubgraph.Builder

addEvents(int index, Event value)

public LineageSubgraph.Builder addEvents(int index, Event value)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameters
Name Description
index int
value Event
Returns
Type Description
LineageSubgraph.Builder

addEvents(int index, Event.Builder builderForValue)

public LineageSubgraph.Builder addEvents(int index, Event.Builder builderForValue)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameters
Name Description
index int
builderForValue Event.Builder
Returns
Type Description
LineageSubgraph.Builder

addEventsBuilder()

public Event.Builder addEventsBuilder()

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Returns
Type Description
Event.Builder

addEventsBuilder(int index)

public Event.Builder addEventsBuilder(int index)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameter
Name Description
index int
Returns
Type Description
Event.Builder

addExecutions(Execution value)

public LineageSubgraph.Builder addExecutions(Execution value)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameter
Name Description
value Execution
Returns
Type Description
LineageSubgraph.Builder

addExecutions(Execution.Builder builderForValue)

public LineageSubgraph.Builder addExecutions(Execution.Builder builderForValue)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameter
Name Description
builderForValue Execution.Builder
Returns
Type Description
LineageSubgraph.Builder

addExecutions(int index, Execution value)

public LineageSubgraph.Builder addExecutions(int index, Execution value)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameters
Name Description
index int
value Execution
Returns
Type Description
LineageSubgraph.Builder

addExecutions(int index, Execution.Builder builderForValue)

public LineageSubgraph.Builder addExecutions(int index, Execution.Builder builderForValue)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameters
Name Description
index int
builderForValue Execution.Builder
Returns
Type Description
LineageSubgraph.Builder

addExecutionsBuilder()

public Execution.Builder addExecutionsBuilder()

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Returns
Type Description
Execution.Builder

addExecutionsBuilder(int index)

public Execution.Builder addExecutionsBuilder(int index)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameter
Name Description
index int
Returns
Type Description
Execution.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LineageSubgraph.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LineageSubgraph.Builder
Overrides

build()

public LineageSubgraph build()
Returns
Type Description
LineageSubgraph

buildPartial()

public LineageSubgraph buildPartial()
Returns
Type Description
LineageSubgraph

clear()

public LineageSubgraph.Builder clear()
Returns
Type Description
LineageSubgraph.Builder
Overrides

clearArtifacts()

public LineageSubgraph.Builder clearArtifacts()

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Returns
Type Description
LineageSubgraph.Builder

clearEvents()

public LineageSubgraph.Builder clearEvents()

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Returns
Type Description
LineageSubgraph.Builder

clearExecutions()

public LineageSubgraph.Builder clearExecutions()

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Returns
Type Description
LineageSubgraph.Builder

clearField(Descriptors.FieldDescriptor field)

public LineageSubgraph.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LineageSubgraph.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LineageSubgraph.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LineageSubgraph.Builder
Overrides

clone()

public LineageSubgraph.Builder clone()
Returns
Type Description
LineageSubgraph.Builder
Overrides

getArtifacts(int index)

public Artifact getArtifacts(int index)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
Artifact

getArtifactsBuilder(int index)

public Artifact.Builder getArtifactsBuilder(int index)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
Artifact.Builder

getArtifactsBuilderList()

public List<Artifact.Builder> getArtifactsBuilderList()

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Returns
Type Description
List<Builder>

getArtifactsCount()

public int getArtifactsCount()

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Returns
Type Description
int

getArtifactsList()

public List<Artifact> getArtifactsList()

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Returns
Type Description
List<Artifact>

getArtifactsOrBuilder(int index)

public ArtifactOrBuilder getArtifactsOrBuilder(int index)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
ArtifactOrBuilder

getArtifactsOrBuilderList()

public List<? extends ArtifactOrBuilder> getArtifactsOrBuilderList()

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.ArtifactOrBuilder>

getDefaultInstanceForType()

public LineageSubgraph getDefaultInstanceForType()
Returns
Type Description
LineageSubgraph

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEvents(int index)

public Event getEvents(int index)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameter
Name Description
index int
Returns
Type Description
Event

getEventsBuilder(int index)

public Event.Builder getEventsBuilder(int index)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameter
Name Description
index int
Returns
Type Description
Event.Builder

getEventsBuilderList()

public List<Event.Builder> getEventsBuilderList()

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Returns
Type Description
List<Builder>

getEventsCount()

public int getEventsCount()

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Returns
Type Description
int

getEventsList()

public List<Event> getEventsList()

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Returns
Type Description
List<Event>

getEventsOrBuilder(int index)

public EventOrBuilder getEventsOrBuilder(int index)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameter
Name Description
index int
Returns
Type Description
EventOrBuilder

getEventsOrBuilderList()

public List<? extends EventOrBuilder> getEventsOrBuilderList()

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.EventOrBuilder>

getExecutions(int index)

public Execution getExecutions(int index)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameter
Name Description
index int
Returns
Type Description
Execution

getExecutionsBuilder(int index)

public Execution.Builder getExecutionsBuilder(int index)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameter
Name Description
index int
Returns
Type Description
Execution.Builder

getExecutionsBuilderList()

public List<Execution.Builder> getExecutionsBuilderList()

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Returns
Type Description
List<Builder>

getExecutionsCount()

public int getExecutionsCount()

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Returns
Type Description
int

getExecutionsList()

public List<Execution> getExecutionsList()

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Returns
Type Description
List<Execution>

getExecutionsOrBuilder(int index)

public ExecutionOrBuilder getExecutionsOrBuilder(int index)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameter
Name Description
index int
Returns
Type Description
ExecutionOrBuilder

getExecutionsOrBuilderList()

public List<? extends ExecutionOrBuilder> getExecutionsOrBuilderList()

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.ExecutionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LineageSubgraph other)

public LineageSubgraph.Builder mergeFrom(LineageSubgraph other)
Parameter
Name Description
other LineageSubgraph
Returns
Type Description
LineageSubgraph.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LineageSubgraph.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineageSubgraph.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LineageSubgraph.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LineageSubgraph.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LineageSubgraph.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LineageSubgraph.Builder
Overrides

removeArtifacts(int index)

public LineageSubgraph.Builder removeArtifacts(int index)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
LineageSubgraph.Builder

removeEvents(int index)

public LineageSubgraph.Builder removeEvents(int index)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameter
Name Description
index int
Returns
Type Description
LineageSubgraph.Builder

removeExecutions(int index)

public LineageSubgraph.Builder removeExecutions(int index)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameter
Name Description
index int
Returns
Type Description
LineageSubgraph.Builder

setArtifacts(int index, Artifact value)

public LineageSubgraph.Builder setArtifacts(int index, Artifact value)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameters
Name Description
index int
value Artifact
Returns
Type Description
LineageSubgraph.Builder

setArtifacts(int index, Artifact.Builder builderForValue)

public LineageSubgraph.Builder setArtifacts(int index, Artifact.Builder builderForValue)

The Artifact nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;

Parameters
Name Description
index int
builderForValue Artifact.Builder
Returns
Type Description
LineageSubgraph.Builder

setEvents(int index, Event value)

public LineageSubgraph.Builder setEvents(int index, Event value)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameters
Name Description
index int
value Event
Returns
Type Description
LineageSubgraph.Builder

setEvents(int index, Event.Builder builderForValue)

public LineageSubgraph.Builder setEvents(int index, Event.Builder builderForValue)

The Event edges between Artifacts and Executions in the subgraph.

repeated .google.cloud.aiplatform.v1.Event events = 3;

Parameters
Name Description
index int
builderForValue Event.Builder
Returns
Type Description
LineageSubgraph.Builder

setExecutions(int index, Execution value)

public LineageSubgraph.Builder setExecutions(int index, Execution value)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameters
Name Description
index int
value Execution
Returns
Type Description
LineageSubgraph.Builder

setExecutions(int index, Execution.Builder builderForValue)

public LineageSubgraph.Builder setExecutions(int index, Execution.Builder builderForValue)

The Execution nodes in the subgraph.

repeated .google.cloud.aiplatform.v1.Execution executions = 2;

Parameters
Name Description
index int
builderForValue Execution.Builder
Returns
Type Description
LineageSubgraph.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LineageSubgraph.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LineageSubgraph.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LineageSubgraph.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LineageSubgraph.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LineageSubgraph.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LineageSubgraph.Builder
Overrides