Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class GrpcMetadataServiceStub extends MetadataServiceStub
gRPC stub implementation for the MetadataService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcMetadataServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcMetadataServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcMetadataServiceStub create(MetadataServiceStubSettings settings)
Constructors
GrpcMetadataServiceStub(MetadataServiceStubSettings settings, ClientContext clientContext)
protected GrpcMetadataServiceStub(MetadataServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcMetadataServiceStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcMetadataServiceStub(MetadataServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcMetadataServiceStub(MetadataServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMetadataServiceStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
addContextArtifactsAndExecutionsCallable()
public UnaryCallable<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse> addContextArtifactsAndExecutionsCallable()
Overrides
addContextChildrenCallable()
public UnaryCallable<AddContextChildrenRequest,AddContextChildrenResponse> addContextChildrenCallable()
Overrides
public UnaryCallable<AddExecutionEventsRequest,AddExecutionEventsResponse> addExecutionEventsCallable()
Overrides
public boolean awaitTermination(long duration, TimeUnit unit)
public final void close()
Overrides
public UnaryCallable<CreateArtifactRequest,Artifact> createArtifactCallable()
Overrides
createContextCallable()
public UnaryCallable<CreateContextRequest,Context> createContextCallable()
Overrides
public UnaryCallable<CreateExecutionRequest,Execution> createExecutionCallable()
Overrides
public UnaryCallable<CreateMetadataSchemaRequest,MetadataSchema> createMetadataSchemaCallable()
Overrides
public UnaryCallable<CreateMetadataStoreRequest,Operation> createMetadataStoreCallable()
Overrides
public OperationCallable<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata> createMetadataStoreOperationCallable()
Overrides
public UnaryCallable<DeleteArtifactRequest,Operation> deleteArtifactCallable()
Overrides
public OperationCallable<DeleteArtifactRequest,Empty,DeleteOperationMetadata> deleteArtifactOperationCallable()
Overrides
deleteContextCallable()
public UnaryCallable<DeleteContextRequest,Operation> deleteContextCallable()
Overrides
deleteContextOperationCallable()
public OperationCallable<DeleteContextRequest,Empty,DeleteOperationMetadata> deleteContextOperationCallable()
Overrides
public UnaryCallable<DeleteExecutionRequest,Operation> deleteExecutionCallable()
Overrides
public OperationCallable<DeleteExecutionRequest,Empty,DeleteOperationMetadata> deleteExecutionOperationCallable()
Overrides
public UnaryCallable<DeleteMetadataStoreRequest,Operation> deleteMetadataStoreCallable()
Overrides
public OperationCallable<DeleteMetadataStoreRequest,Empty,DeleteMetadataStoreOperationMetadata> deleteMetadataStoreOperationCallable()
Overrides
public UnaryCallable<GetArtifactRequest,Artifact> getArtifactCallable()
Overrides
getContextCallable()
public UnaryCallable<GetContextRequest,Context> getContextCallable()
Overrides
public UnaryCallable<GetExecutionRequest,Execution> getExecutionCallable()
Overrides
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type
Description
UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
Overrides
public UnaryCallable<GetMetadataSchemaRequest,MetadataSchema> getMetadataSchemaCallable()
Overrides
public UnaryCallable<GetMetadataStoreRequest,MetadataStore> getMetadataStoreCallable()
Overrides
public GrpcOperationsStub getOperationsStub()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListArtifactsRequest,ListArtifactsResponse> listArtifactsCallable()
Overrides
listArtifactsPagedCallable()
public UnaryCallable<ListArtifactsRequest,MetadataServiceClient.ListArtifactsPagedResponse> listArtifactsPagedCallable()
Overrides
listContextsCallable()
public UnaryCallable<ListContextsRequest,ListContextsResponse> listContextsCallable()
Overrides
listContextsPagedCallable()
public UnaryCallable<ListContextsRequest,MetadataServiceClient.ListContextsPagedResponse> listContextsPagedCallable()
Overrides
public UnaryCallable<ListExecutionsRequest,ListExecutionsResponse> listExecutionsCallable()
Overrides
listExecutionsPagedCallable()
public UnaryCallable<ListExecutionsRequest,MetadataServiceClient.ListExecutionsPagedResponse> listExecutionsPagedCallable()
Overrides
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type
Description
UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse >
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,MetadataServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
public UnaryCallable<ListMetadataSchemasRequest,ListMetadataSchemasResponse> listMetadataSchemasCallable()
Overrides
listMetadataSchemasPagedCallable()
public UnaryCallable<ListMetadataSchemasRequest,MetadataServiceClient.ListMetadataSchemasPagedResponse> listMetadataSchemasPagedCallable()
Overrides
public UnaryCallable<ListMetadataStoresRequest,ListMetadataStoresResponse> listMetadataStoresCallable()
Overrides
listMetadataStoresPagedCallable()
public UnaryCallable<ListMetadataStoresRequest,MetadataServiceClient.ListMetadataStoresPagedResponse> listMetadataStoresPagedCallable()
Overrides
public UnaryCallable<PurgeArtifactsRequest,Operation> purgeArtifactsCallable()
Overrides
public OperationCallable<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata> purgeArtifactsOperationCallable()
Overrides
purgeContextsCallable()
public UnaryCallable<PurgeContextsRequest,Operation> purgeContextsCallable()
Overrides
purgeContextsOperationCallable()
public OperationCallable<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata> purgeContextsOperationCallable()
Overrides
public UnaryCallable<PurgeExecutionsRequest,Operation> purgeExecutionsCallable()
Overrides
public OperationCallable<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata> purgeExecutionsOperationCallable()
Overrides
public UnaryCallable<QueryArtifactLineageSubgraphRequest,LineageSubgraph> queryArtifactLineageSubgraphCallable()
Overrides
queryContextLineageSubgraphCallable()
public UnaryCallable<QueryContextLineageSubgraphRequest,LineageSubgraph> queryContextLineageSubgraphCallable()
Overrides
public UnaryCallable<QueryExecutionInputsAndOutputsRequest,LineageSubgraph> queryExecutionInputsAndOutputsCallable()
Overrides
removeContextChildrenCallable()
public UnaryCallable<RemoveContextChildrenRequest,RemoveContextChildrenResponse> removeContextChildrenCallable()
Overrides
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
public void shutdownNow()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
Overrides
public UnaryCallable<UpdateArtifactRequest,Artifact> updateArtifactCallable()
Overrides
updateContextCallable()
public UnaryCallable<UpdateContextRequest,Context> updateContextCallable()
Overrides
public UnaryCallable<UpdateExecutionRequest,Execution> updateExecutionCallable()
Overrides