Class QueryContextLineageSubgraphRequest.Builder (3.84.0)

public static final class QueryContextLineageSubgraphRequest.Builder extends GeneratedMessage.Builder<QueryContextLineageSubgraphRequest.Builder> implements QueryContextLineageSubgraphRequestOrBuilder

Request message for MetadataService.QueryContextLineageSubgraph.

Protobuf type google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest

Static Methods

getDescriptor()

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

Methods

build()

public QueryContextLineageSubgraphRequest build()
Returns
Type Description
QueryContextLineageSubgraphRequest

buildPartial()

public QueryContextLineageSubgraphRequest buildPartial()
Returns
Type Description
QueryContextLineageSubgraphRequest

clear()

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

clearContext()

public QueryContextLineageSubgraphRequest.Builder clearContext()

Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

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 context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
QueryContextLineageSubgraphRequest.Builder

This builder for chaining.

getContext()

public String getContext()

Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

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 context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The context.

getContextBytes()

public ByteString getContextBytes()

Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

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 context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for context.

getDefaultInstanceForType()

public QueryContextLineageSubgraphRequest getDefaultInstanceForType()
Returns
Type Description
QueryContextLineageSubgraphRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryContextLineageSubgraphRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setContext(String value)

public QueryContextLineageSubgraphRequest.Builder setContext(String value)

Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

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 context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The context to set.

Returns
Type Description
QueryContextLineageSubgraphRequest.Builder

This builder for chaining.

setContextBytes(ByteString value)

public QueryContextLineageSubgraphRequest.Builder setContextBytes(ByteString value)

Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

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 context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for context to set.

Returns
Type Description
QueryContextLineageSubgraphRequest.Builder

This builder for chaining.