Class QueryContextLineageSubgraphRequest.Builder (3.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryContextLineageSubgraphRequest build()
Returns
TypeDescription
QueryContextLineageSubgraphRequest

buildPartial()

public QueryContextLineageSubgraphRequest buildPartial()
Returns
TypeDescription
QueryContextLineageSubgraphRequest

clear()

public QueryContextLineageSubgraphRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
QueryContextLineageSubgraphRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public QueryContextLineageSubgraphRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for context.

getDefaultInstanceForType()

public QueryContextLineageSubgraphRequest getDefaultInstanceForType()
Returns
TypeDescription
QueryContextLineageSubgraphRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryContextLineageSubgraphRequest other)

public QueryContextLineageSubgraphRequest.Builder mergeFrom(QueryContextLineageSubgraphRequest other)
Parameter
NameDescription
otherQueryContextLineageSubgraphRequest
Returns
TypeDescription
QueryContextLineageSubgraphRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryContextLineageSubgraphRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The context to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for context to set.

Returns
TypeDescription
QueryContextLineageSubgraphRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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