Class LineageSubgraph.Builder (3.31.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Artifact>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Event>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Execution>
Returns
TypeDescription
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
NameDescription
valueArtifact
Returns
TypeDescription
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
NameDescription
builderForValueArtifact.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueArtifact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueArtifact.Builder
Returns
TypeDescription
LineageSubgraph.Builder

addArtifactsBuilder()

public Artifact.Builder addArtifactsBuilder()

The Artifact nodes in the subgraph.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueEvent
Returns
TypeDescription
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
NameDescription
builderForValueEvent.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEvent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEvent.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueExecution
Returns
TypeDescription
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
NameDescription
builderForValueExecution.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueExecution
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExecution.Builder
Returns
TypeDescription
LineageSubgraph.Builder

addExecutionsBuilder()

public Execution.Builder addExecutionsBuilder()

The Execution nodes in the subgraph.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Execution.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LineageSubgraph.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LineageSubgraph.Builder
Overrides

build()

public LineageSubgraph build()
Returns
TypeDescription
LineageSubgraph

buildPartial()

public LineageSubgraph buildPartial()
Returns
TypeDescription
LineageSubgraph

clear()

public LineageSubgraph.Builder clear()
Returns
TypeDescription
LineageSubgraph.Builder
Overrides

clearArtifacts()

public LineageSubgraph.Builder clearArtifacts()

The Artifact nodes in the subgraph.

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

Returns
TypeDescription
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
TypeDescription
LineageSubgraph.Builder

clearExecutions()

public LineageSubgraph.Builder clearExecutions()

The Execution nodes in the subgraph.

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

Returns
TypeDescription
LineageSubgraph.Builder

clearField(Descriptors.FieldDescriptor field)

public LineageSubgraph.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LineageSubgraph.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LineageSubgraph.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LineageSubgraph.Builder
Overrides

clone()

public LineageSubgraph.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Artifact.Builder

getArtifactsBuilderList()

public List<Artifact.Builder> getArtifactsBuilderList()

The Artifact nodes in the subgraph.

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

Returns
TypeDescription
List<Builder>

getArtifactsCount()

public int getArtifactsCount()

The Artifact nodes in the subgraph.

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

Returns
TypeDescription
int

getArtifactsList()

public List<Artifact> getArtifactsList()

The Artifact nodes in the subgraph.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ArtifactOrBuilder

getArtifactsOrBuilderList()

public List<? extends ArtifactOrBuilder> getArtifactsOrBuilderList()

The Artifact nodes in the subgraph.

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

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

getDefaultInstanceForType()

public LineageSubgraph getDefaultInstanceForType()
Returns
TypeDescription
LineageSubgraph

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Execution.Builder

getExecutionsBuilderList()

public List<Execution.Builder> getExecutionsBuilderList()

The Execution nodes in the subgraph.

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

Returns
TypeDescription
List<Builder>

getExecutionsCount()

public int getExecutionsCount()

The Execution nodes in the subgraph.

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

Returns
TypeDescription
int

getExecutionsList()

public List<Execution> getExecutionsList()

The Execution nodes in the subgraph.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ExecutionOrBuilder

getExecutionsOrBuilderList()

public List<? extends ExecutionOrBuilder> getExecutionsOrBuilderList()

The Execution nodes in the subgraph.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LineageSubgraph other)

public LineageSubgraph.Builder mergeFrom(LineageSubgraph other)
Parameter
NameDescription
otherLineageSubgraph
Returns
TypeDescription
LineageSubgraph.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LineageSubgraph.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LineageSubgraph.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LineageSubgraph.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LineageSubgraph.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LineageSubgraph.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueArtifact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueArtifact.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEvent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEvent.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueExecution
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExecution.Builder
Returns
TypeDescription
LineageSubgraph.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LineageSubgraph.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LineageSubgraph.Builder
Overrides

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

public LineageSubgraph.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LineageSubgraph.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LineageSubgraph.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LineageSubgraph.Builder
Overrides