Class QueryContextLineageSubgraphRequest.Builder (3.43.0)

public static final class QueryContextLineageSubgraphRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryContextLineageSubgraphRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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