public static final class QueryContextLineageSubgraphRequest.Builder extends GeneratedMessageV3.Builder<QueryContextLineageSubgraphRequest.Builder> implements QueryContextLineageSubgraphRequestOrBuilder
Request message for MetadataService.QueryContextLineageSubgraph.
Protobuf type google.cloud.aiplatform.v1beta1.QueryContextLineageSubgraphRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryContextLineageSubgraphRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public QueryContextLineageSubgraphRequest build()
Returns
buildPartial()
public QueryContextLineageSubgraphRequest buildPartial()
Returns
clear()
public QueryContextLineageSubgraphRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public QueryContextLineageSubgraphRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryContextLineageSubgraphRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public QueryContextLineageSubgraphRequest.Builder clone()
Returns
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
getDefaultInstanceForType()
public QueryContextLineageSubgraphRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(QueryContextLineageSubgraphRequest other)
public QueryContextLineageSubgraphRequest.Builder mergeFrom(QueryContextLineageSubgraphRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryContextLineageSubgraphRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public QueryContextLineageSubgraphRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryContextLineageSubgraphRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public QueryContextLineageSubgraphRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryContextLineageSubgraphRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryContextLineageSubgraphRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides