public final class QueryArtifactLineageSubgraphRequest extends com.google.protobuf.GeneratedMessageV3 implements QueryArtifactLineageSubgraphRequestOrBuilder
Request message for [MetadataService.QueryArtifactLineageSubgraph][google.cloud.aiplatform.v1beta1.MetadataService.QueryArtifactLineageSubgraph].Protobuf type
google.cloud.aiplatform.v1beta1.QueryArtifactLineageSubgraphRequest| Modifier and Type | Class and Description |
|---|---|
static class |
QueryArtifactLineageSubgraphRequest.Builder
Request message for [MetadataService.QueryArtifactLineageSubgraph][google.cloud.aiplatform.v1beta1.MetadataService.QueryArtifactLineageSubgraph].
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARTIFACT_FIELD_NUMBER |
static int |
FILTER_FIELD_NUMBER |
static int |
MAX_HOPS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArtifact()
Required.
|
com.google.protobuf.ByteString |
getArtifactBytes()
Required.
|
static QueryArtifactLineageSubgraphRequest |
getDefaultInstance() |
QueryArtifactLineageSubgraphRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<QueryArtifactLineageSubgraphRequest> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QueryArtifactLineageSubgraphRequest.Builder |
newBuilder() |
static QueryArtifactLineageSubgraphRequest.Builder |
newBuilder(QueryArtifactLineageSubgraphRequest prototype) |
QueryArtifactLineageSubgraphRequest.Builder |
newBuilderForType() |
protected QueryArtifactLineageSubgraphRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static QueryArtifactLineageSubgraphRequest |
parseDelimitedFrom(InputStream input) |
static QueryArtifactLineageSubgraphRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryArtifactLineageSubgraphRequest |
parseFrom(byte[] data) |
static QueryArtifactLineageSubgraphRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryArtifactLineageSubgraphRequest |
parseFrom(ByteBuffer data) |
static QueryArtifactLineageSubgraphRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryArtifactLineageSubgraphRequest |
parseFrom(com.google.protobuf.ByteString data) |
static QueryArtifactLineageSubgraphRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryArtifactLineageSubgraphRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QueryArtifactLineageSubgraphRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryArtifactLineageSubgraphRequest |
parseFrom(InputStream input) |
static QueryArtifactLineageSubgraphRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QueryArtifactLineageSubgraphRequest> |
parser() |
QueryArtifactLineageSubgraphRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ARTIFACT_FIELD_NUMBER
public static final int MAX_HOPS_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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`
Each of the above supported filter types can be combined together using
logical operators (`AND` & `OR`).
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`
Each of the above supported filter types can be combined together using
logical operators (`AND` & `OR`).
For example: `display_name = "test" AND metadata.field1.bool_value = true`.
string filter = 3;getFilterBytes in interface QueryArtifactLineageSubgraphRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static QueryArtifactLineageSubgraphRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryArtifactLineageSubgraphRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryArtifactLineageSubgraphRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryArtifactLineageSubgraphRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryArtifactLineageSubgraphRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryArtifactLineageSubgraphRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryArtifactLineageSubgraphRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static QueryArtifactLineageSubgraphRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryArtifactLineageSubgraphRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static QueryArtifactLineageSubgraphRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryArtifactLineageSubgraphRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static QueryArtifactLineageSubgraphRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic QueryArtifactLineageSubgraphRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static QueryArtifactLineageSubgraphRequest.Builder newBuilder()
public static QueryArtifactLineageSubgraphRequest.Builder newBuilder(QueryArtifactLineageSubgraphRequest prototype)
public QueryArtifactLineageSubgraphRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected QueryArtifactLineageSubgraphRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static QueryArtifactLineageSubgraphRequest getDefaultInstance()
public static com.google.protobuf.Parser<QueryArtifactLineageSubgraphRequest> parser()
public com.google.protobuf.Parser<QueryArtifactLineageSubgraphRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public QueryArtifactLineageSubgraphRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.