public static final class QueryArtifactLineageSubgraphRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder> implements QueryArtifactLineageSubgraphRequestOrBuilder
Request message for [MetadataService.QueryArtifactLineageSubgraph][google.cloud.aiplatform.v1.MetadataService.QueryArtifactLineageSubgraph].Protobuf type
google.cloud.aiplatform.v1.QueryArtifactLineageSubgraphRequest| Modifier and Type | Method and Description |
|---|---|
QueryArtifactLineageSubgraphRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QueryArtifactLineageSubgraphRequest |
build() |
QueryArtifactLineageSubgraphRequest |
buildPartial() |
QueryArtifactLineageSubgraphRequest.Builder |
clear() |
QueryArtifactLineageSubgraphRequest.Builder |
clearArtifact()
Required.
|
QueryArtifactLineageSubgraphRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
QueryArtifactLineageSubgraphRequest.Builder |
clearFilter()
Filter specifying the boolean condition for the Artifacts to satisfy in
order to be part of the Lineage Subgraph.
|
QueryArtifactLineageSubgraphRequest.Builder |
clearMaxHops()
Specifies the size of the lineage graph in terms of number of hops from the
specified artifact.
|
QueryArtifactLineageSubgraphRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
QueryArtifactLineageSubgraphRequest.Builder |
clone() |
String |
getArtifact()
Required.
|
com.google.protobuf.ByteString |
getArtifactBytes()
Required.
|
QueryArtifactLineageSubgraphRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
Filter specifying the boolean condition for the Artifacts to satisfy in
order to be part of the Lineage Subgraph.
|
com.google.protobuf.ByteString |
getFilterBytes()
Filter specifying the boolean condition for the Artifacts to satisfy in
order to be part of the Lineage Subgraph.
|
int |
getMaxHops()
Specifies the size of the lineage graph in terms of number of hops from the
specified artifact.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QueryArtifactLineageSubgraphRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QueryArtifactLineageSubgraphRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
QueryArtifactLineageSubgraphRequest.Builder |
mergeFrom(QueryArtifactLineageSubgraphRequest other) |
QueryArtifactLineageSubgraphRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QueryArtifactLineageSubgraphRequest.Builder |
setArtifact(String value)
Required.
|
QueryArtifactLineageSubgraphRequest.Builder |
setArtifactBytes(com.google.protobuf.ByteString value)
Required.
|
QueryArtifactLineageSubgraphRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QueryArtifactLineageSubgraphRequest.Builder |
setFilter(String value)
Filter specifying the boolean condition for the Artifacts to satisfy in
order to be part of the Lineage Subgraph.
|
QueryArtifactLineageSubgraphRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Filter specifying the boolean condition for the Artifacts to satisfy in
order to be part of the Lineage Subgraph.
|
QueryArtifactLineageSubgraphRequest.Builder |
setMaxHops(int value)
Specifies the size of the lineage graph in terms of number of hops from the
specified artifact.
|
QueryArtifactLineageSubgraphRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QueryArtifactLineageSubgraphRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public QueryArtifactLineageSubgraphRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public QueryArtifactLineageSubgraphRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QueryArtifactLineageSubgraphRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QueryArtifactLineageSubgraphRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QueryArtifactLineageSubgraphRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public QueryArtifactLineageSubgraphRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public QueryArtifactLineageSubgraphRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public QueryArtifactLineageSubgraphRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public QueryArtifactLineageSubgraphRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public QueryArtifactLineageSubgraphRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public QueryArtifactLineageSubgraphRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryArtifactLineageSubgraphRequest.Builder>public QueryArtifactLineageSubgraphRequest.Builder mergeFrom(QueryArtifactLineageSubgraphRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public QueryArtifactLineageSubgraphRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryArtifactLineageSubgraphRequest.Builder>IOExceptionpublic String getArtifact()
Required. The resource name of the Artifact whose Lineage needs to be
retrieved as a LineageSubgraph. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
The request may error with FAILED_PRECONDITION if the number of Artifacts,
the number of Executions, or the number of Events that would be returned
for the Context exceeds 1000.
string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getArtifact in interface QueryArtifactLineageSubgraphRequestOrBuilderpublic com.google.protobuf.ByteString getArtifactBytes()
Required. The resource name of the Artifact whose Lineage needs to be
retrieved as a LineageSubgraph. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
The request may error with FAILED_PRECONDITION if the number of Artifacts,
the number of Executions, or the number of Events that would be returned
for the Context exceeds 1000.
string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getArtifactBytes in interface QueryArtifactLineageSubgraphRequestOrBuilderpublic QueryArtifactLineageSubgraphRequest.Builder setArtifact(String value)
Required. The resource name of the Artifact whose Lineage needs to be
retrieved as a LineageSubgraph. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
The request may error with FAILED_PRECONDITION if the number of Artifacts,
the number of Executions, or the number of Events that would be returned
for the Context exceeds 1000.
string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The artifact to set.public QueryArtifactLineageSubgraphRequest.Builder clearArtifact()
Required. The resource name of the Artifact whose Lineage needs to be
retrieved as a LineageSubgraph. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
The request may error with FAILED_PRECONDITION if the number of Artifacts,
the number of Executions, or the number of Events that would be returned
for the Context exceeds 1000.
string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public QueryArtifactLineageSubgraphRequest.Builder setArtifactBytes(com.google.protobuf.ByteString value)
Required. The resource name of the Artifact whose Lineage needs to be
retrieved as a LineageSubgraph. Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
The request may error with FAILED_PRECONDITION if the number of Artifacts,
the number of Executions, or the number of Events that would be returned
for the Context exceeds 1000.
string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for artifact to set.public int getMaxHops()
Specifies the size of the lineage graph in terms of number of hops from the specified artifact. Negative Value: INVALID_ARGUMENT error is returned 0: Only input artifact is returned. No value: Transitive closure is performed to return the complete graph.
int32 max_hops = 2;getMaxHops in interface QueryArtifactLineageSubgraphRequestOrBuilderpublic QueryArtifactLineageSubgraphRequest.Builder setMaxHops(int value)
Specifies the size of the lineage graph in terms of number of hops from the specified artifact. Negative Value: INVALID_ARGUMENT error is returned 0: Only input artifact is returned. No value: Transitive closure is performed to return the complete graph.
int32 max_hops = 2;value - The maxHops to set.public QueryArtifactLineageSubgraphRequest.Builder clearMaxHops()
Specifies the size of the lineage graph in terms of number of hops from the specified artifact. Negative Value: INVALID_ARGUMENT error is returned 0: Only input artifact is returned. No value: Transitive closure is performed to return the complete graph.
int32 max_hops = 2;public String getFilter()
Filter specifying the boolean condition for the Artifacts to satisfy in
order to be part of the Lineage Subgraph.
The syntax to define filter query is based on https://google.aip.dev/160.
The supported set of filters include the following:
* **Attribute filtering**:
For example: `display_name = "test"`
Supported fields include: `name`, `display_name`, `uri`, `state`,
`schema_title`, `create_time`, and `update_time`.
Time fields, such as `create_time` and `update_time`, require values
specified in RFC-3339 format.
For example: `create_time = "2020-11-19T11:30:00-04:00"`
* **Metadata field**:
To filter on metadata fields use traversal operation as follows:
`metadata.<field_name>.<type_value>`.
For example: `metadata.field_1.number_value = 10.0`
In case the field name contains special characters (such as colon), one
can embed it inside double quote.
For example: `metadata."field:1".number_value = 10.0`
Each of the above supported filter types can be combined together using
logical operators (`AND` & `OR`). Maximum nested expression depth allowed
is 5.
For example: `display_name = "test" AND metadata.field1.bool_value = true`.
string filter = 3;getFilter in interface QueryArtifactLineageSubgraphRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Filter specifying the boolean condition for the Artifacts to satisfy in
order to be part of the Lineage Subgraph.
The syntax to define filter query is based on https://google.aip.dev/160.
The supported set of filters include the following:
* **Attribute filtering**:
For example: `display_name = "test"`
Supported fields include: `name`, `display_name`, `uri`, `state`,
`schema_title`, `create_time`, and `update_time`.
Time fields, such as `create_time` and `update_time`, require values
specified in RFC-3339 format.
For example: `create_time = "2020-11-19T11:30:00-04:00"`
* **Metadata field**:
To filter on metadata fields use traversal operation as follows:
`metadata.<field_name>.<type_value>`.
For example: `metadata.field_1.number_value = 10.0`
In case the field name contains special characters (such as colon), one
can embed it inside double quote.
For example: `metadata."field:1".number_value = 10.0`
Each of the above supported filter types can be combined together using
logical operators (`AND` & `OR`). Maximum nested expression depth allowed
is 5.
For example: `display_name = "test" AND metadata.field1.bool_value = true`.
string filter = 3;getFilterBytes in interface QueryArtifactLineageSubgraphRequestOrBuilderpublic QueryArtifactLineageSubgraphRequest.Builder setFilter(String value)
Filter specifying the boolean condition for the Artifacts to satisfy in
order to be part of the Lineage Subgraph.
The syntax to define filter query is based on https://google.aip.dev/160.
The supported set of filters include the following:
* **Attribute filtering**:
For example: `display_name = "test"`
Supported fields include: `name`, `display_name`, `uri`, `state`,
`schema_title`, `create_time`, and `update_time`.
Time fields, such as `create_time` and `update_time`, require values
specified in RFC-3339 format.
For example: `create_time = "2020-11-19T11:30:00-04:00"`
* **Metadata field**:
To filter on metadata fields use traversal operation as follows:
`metadata.<field_name>.<type_value>`.
For example: `metadata.field_1.number_value = 10.0`
In case the field name contains special characters (such as colon), one
can embed it inside double quote.
For example: `metadata."field:1".number_value = 10.0`
Each of the above supported filter types can be combined together using
logical operators (`AND` & `OR`). Maximum nested expression depth allowed
is 5.
For example: `display_name = "test" AND metadata.field1.bool_value = true`.
string filter = 3;value - The filter to set.public QueryArtifactLineageSubgraphRequest.Builder clearFilter()
Filter specifying the boolean condition for the Artifacts to satisfy in
order to be part of the Lineage Subgraph.
The syntax to define filter query is based on https://google.aip.dev/160.
The supported set of filters include the following:
* **Attribute filtering**:
For example: `display_name = "test"`
Supported fields include: `name`, `display_name`, `uri`, `state`,
`schema_title`, `create_time`, and `update_time`.
Time fields, such as `create_time` and `update_time`, require values
specified in RFC-3339 format.
For example: `create_time = "2020-11-19T11:30:00-04:00"`
* **Metadata field**:
To filter on metadata fields use traversal operation as follows:
`metadata.<field_name>.<type_value>`.
For example: `metadata.field_1.number_value = 10.0`
In case the field name contains special characters (such as colon), one
can embed it inside double quote.
For example: `metadata."field:1".number_value = 10.0`
Each of the above supported filter types can be combined together using
logical operators (`AND` & `OR`). Maximum nested expression depth allowed
is 5.
For example: `display_name = "test" AND metadata.field1.bool_value = true`.
string filter = 3;public QueryArtifactLineageSubgraphRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Filter specifying the boolean condition for the Artifacts to satisfy in
order to be part of the Lineage Subgraph.
The syntax to define filter query is based on https://google.aip.dev/160.
The supported set of filters include the following:
* **Attribute filtering**:
For example: `display_name = "test"`
Supported fields include: `name`, `display_name`, `uri`, `state`,
`schema_title`, `create_time`, and `update_time`.
Time fields, such as `create_time` and `update_time`, require values
specified in RFC-3339 format.
For example: `create_time = "2020-11-19T11:30:00-04:00"`
* **Metadata field**:
To filter on metadata fields use traversal operation as follows:
`metadata.<field_name>.<type_value>`.
For example: `metadata.field_1.number_value = 10.0`
In case the field name contains special characters (such as colon), one
can embed it inside double quote.
For example: `metadata."field:1".number_value = 10.0`
Each of the above supported filter types can be combined together using
logical operators (`AND` & `OR`). Maximum nested expression depth allowed
is 5.
For example: `display_name = "test" AND metadata.field1.bool_value = true`.
string filter = 3;value - The bytes for filter to set.public final QueryArtifactLineageSubgraphRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>public final QueryArtifactLineageSubgraphRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QueryArtifactLineageSubgraphRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.