Class GrpcMetadataServiceStub
- java.lang.Object
-
- com.google.cloud.aiplatform.v1.stub.MetadataServiceStub
-
- com.google.cloud.aiplatform.v1.stub.GrpcMetadataServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcMetadataServiceStub(MetadataServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcMetadataServiceStub, using the given settings.protectedGrpcMetadataServiceStub(MetadataServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcMetadataServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcMetadataServiceStub
protected GrpcMetadataServiceStub(MetadataServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcMetadataServiceStub
protected GrpcMetadataServiceStub(MetadataServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcMetadataServiceStub create(MetadataServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcMetadataServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcMetadataServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStubin classMetadataServiceStub
-
createMetadataStoreCallable
public com.google.api.gax.rpc.UnaryCallable<CreateMetadataStoreRequest,com.google.longrunning.Operation> createMetadataStoreCallable()
- Overrides:
createMetadataStoreCallablein classMetadataServiceStub
-
createMetadataStoreOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata> createMetadataStoreOperationCallable()
- Overrides:
createMetadataStoreOperationCallablein classMetadataServiceStub
-
getMetadataStoreCallable
public com.google.api.gax.rpc.UnaryCallable<GetMetadataStoreRequest,MetadataStore> getMetadataStoreCallable()
- Overrides:
getMetadataStoreCallablein classMetadataServiceStub
-
listMetadataStoresCallable
public com.google.api.gax.rpc.UnaryCallable<ListMetadataStoresRequest,ListMetadataStoresResponse> listMetadataStoresCallable()
- Overrides:
listMetadataStoresCallablein classMetadataServiceStub
-
listMetadataStoresPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListMetadataStoresRequest,MetadataServiceClient.ListMetadataStoresPagedResponse> listMetadataStoresPagedCallable()
- Overrides:
listMetadataStoresPagedCallablein classMetadataServiceStub
-
deleteMetadataStoreCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteMetadataStoreRequest,com.google.longrunning.Operation> deleteMetadataStoreCallable()
- Overrides:
deleteMetadataStoreCallablein classMetadataServiceStub
-
deleteMetadataStoreOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteMetadataStoreRequest,com.google.protobuf.Empty,DeleteMetadataStoreOperationMetadata> deleteMetadataStoreOperationCallable()
- Overrides:
deleteMetadataStoreOperationCallablein classMetadataServiceStub
-
createArtifactCallable
public com.google.api.gax.rpc.UnaryCallable<CreateArtifactRequest,Artifact> createArtifactCallable()
- Overrides:
createArtifactCallablein classMetadataServiceStub
-
getArtifactCallable
public com.google.api.gax.rpc.UnaryCallable<GetArtifactRequest,Artifact> getArtifactCallable()
- Overrides:
getArtifactCallablein classMetadataServiceStub
-
listArtifactsCallable
public com.google.api.gax.rpc.UnaryCallable<ListArtifactsRequest,ListArtifactsResponse> listArtifactsCallable()
- Overrides:
listArtifactsCallablein classMetadataServiceStub
-
listArtifactsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListArtifactsRequest,MetadataServiceClient.ListArtifactsPagedResponse> listArtifactsPagedCallable()
- Overrides:
listArtifactsPagedCallablein classMetadataServiceStub
-
updateArtifactCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateArtifactRequest,Artifact> updateArtifactCallable()
- Overrides:
updateArtifactCallablein classMetadataServiceStub
-
deleteArtifactCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteArtifactRequest,com.google.longrunning.Operation> deleteArtifactCallable()
- Overrides:
deleteArtifactCallablein classMetadataServiceStub
-
deleteArtifactOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteArtifactRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteArtifactOperationCallable()
- Overrides:
deleteArtifactOperationCallablein classMetadataServiceStub
-
purgeArtifactsCallable
public com.google.api.gax.rpc.UnaryCallable<PurgeArtifactsRequest,com.google.longrunning.Operation> purgeArtifactsCallable()
- Overrides:
purgeArtifactsCallablein classMetadataServiceStub
-
purgeArtifactsOperationCallable
public com.google.api.gax.rpc.OperationCallable<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata> purgeArtifactsOperationCallable()
- Overrides:
purgeArtifactsOperationCallablein classMetadataServiceStub
-
createContextCallable
public com.google.api.gax.rpc.UnaryCallable<CreateContextRequest,Context> createContextCallable()
- Overrides:
createContextCallablein classMetadataServiceStub
-
getContextCallable
public com.google.api.gax.rpc.UnaryCallable<GetContextRequest,Context> getContextCallable()
- Overrides:
getContextCallablein classMetadataServiceStub
-
listContextsCallable
public com.google.api.gax.rpc.UnaryCallable<ListContextsRequest,ListContextsResponse> listContextsCallable()
- Overrides:
listContextsCallablein classMetadataServiceStub
-
listContextsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListContextsRequest,MetadataServiceClient.ListContextsPagedResponse> listContextsPagedCallable()
- Overrides:
listContextsPagedCallablein classMetadataServiceStub
-
updateContextCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateContextRequest,Context> updateContextCallable()
- Overrides:
updateContextCallablein classMetadataServiceStub
-
deleteContextCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteContextRequest,com.google.longrunning.Operation> deleteContextCallable()
- Overrides:
deleteContextCallablein classMetadataServiceStub
-
deleteContextOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteContextRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteContextOperationCallable()
- Overrides:
deleteContextOperationCallablein classMetadataServiceStub
-
purgeContextsCallable
public com.google.api.gax.rpc.UnaryCallable<PurgeContextsRequest,com.google.longrunning.Operation> purgeContextsCallable()
- Overrides:
purgeContextsCallablein classMetadataServiceStub
-
purgeContextsOperationCallable
public com.google.api.gax.rpc.OperationCallable<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata> purgeContextsOperationCallable()
- Overrides:
purgeContextsOperationCallablein classMetadataServiceStub
-
addContextArtifactsAndExecutionsCallable
public com.google.api.gax.rpc.UnaryCallable<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse> addContextArtifactsAndExecutionsCallable()
- Overrides:
addContextArtifactsAndExecutionsCallablein classMetadataServiceStub
-
addContextChildrenCallable
public com.google.api.gax.rpc.UnaryCallable<AddContextChildrenRequest,AddContextChildrenResponse> addContextChildrenCallable()
- Overrides:
addContextChildrenCallablein classMetadataServiceStub
-
removeContextChildrenCallable
public com.google.api.gax.rpc.UnaryCallable<RemoveContextChildrenRequest,RemoveContextChildrenResponse> removeContextChildrenCallable()
- Overrides:
removeContextChildrenCallablein classMetadataServiceStub
-
queryContextLineageSubgraphCallable
public com.google.api.gax.rpc.UnaryCallable<QueryContextLineageSubgraphRequest,LineageSubgraph> queryContextLineageSubgraphCallable()
- Overrides:
queryContextLineageSubgraphCallablein classMetadataServiceStub
-
createExecutionCallable
public com.google.api.gax.rpc.UnaryCallable<CreateExecutionRequest,Execution> createExecutionCallable()
- Overrides:
createExecutionCallablein classMetadataServiceStub
-
getExecutionCallable
public com.google.api.gax.rpc.UnaryCallable<GetExecutionRequest,Execution> getExecutionCallable()
- Overrides:
getExecutionCallablein classMetadataServiceStub
-
listExecutionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListExecutionsRequest,ListExecutionsResponse> listExecutionsCallable()
- Overrides:
listExecutionsCallablein classMetadataServiceStub
-
listExecutionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListExecutionsRequest,MetadataServiceClient.ListExecutionsPagedResponse> listExecutionsPagedCallable()
- Overrides:
listExecutionsPagedCallablein classMetadataServiceStub
-
updateExecutionCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateExecutionRequest,Execution> updateExecutionCallable()
- Overrides:
updateExecutionCallablein classMetadataServiceStub
-
deleteExecutionCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteExecutionRequest,com.google.longrunning.Operation> deleteExecutionCallable()
- Overrides:
deleteExecutionCallablein classMetadataServiceStub
-
deleteExecutionOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteExecutionRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteExecutionOperationCallable()
- Overrides:
deleteExecutionOperationCallablein classMetadataServiceStub
-
purgeExecutionsCallable
public com.google.api.gax.rpc.UnaryCallable<PurgeExecutionsRequest,com.google.longrunning.Operation> purgeExecutionsCallable()
- Overrides:
purgeExecutionsCallablein classMetadataServiceStub
-
purgeExecutionsOperationCallable
public com.google.api.gax.rpc.OperationCallable<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata> purgeExecutionsOperationCallable()
- Overrides:
purgeExecutionsOperationCallablein classMetadataServiceStub
-
addExecutionEventsCallable
public com.google.api.gax.rpc.UnaryCallable<AddExecutionEventsRequest,AddExecutionEventsResponse> addExecutionEventsCallable()
- Overrides:
addExecutionEventsCallablein classMetadataServiceStub
-
queryExecutionInputsAndOutputsCallable
public com.google.api.gax.rpc.UnaryCallable<QueryExecutionInputsAndOutputsRequest,LineageSubgraph> queryExecutionInputsAndOutputsCallable()
- Overrides:
queryExecutionInputsAndOutputsCallablein classMetadataServiceStub
-
createMetadataSchemaCallable
public com.google.api.gax.rpc.UnaryCallable<CreateMetadataSchemaRequest,MetadataSchema> createMetadataSchemaCallable()
- Overrides:
createMetadataSchemaCallablein classMetadataServiceStub
-
getMetadataSchemaCallable
public com.google.api.gax.rpc.UnaryCallable<GetMetadataSchemaRequest,MetadataSchema> getMetadataSchemaCallable()
- Overrides:
getMetadataSchemaCallablein classMetadataServiceStub
-
listMetadataSchemasCallable
public com.google.api.gax.rpc.UnaryCallable<ListMetadataSchemasRequest,ListMetadataSchemasResponse> listMetadataSchemasCallable()
- Overrides:
listMetadataSchemasCallablein classMetadataServiceStub
-
listMetadataSchemasPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListMetadataSchemasRequest,MetadataServiceClient.ListMetadataSchemasPagedResponse> listMetadataSchemasPagedCallable()
- Overrides:
listMetadataSchemasPagedCallablein classMetadataServiceStub
-
queryArtifactLineageSubgraphCallable
public com.google.api.gax.rpc.UnaryCallable<QueryArtifactLineageSubgraphRequest,LineageSubgraph> queryArtifactLineageSubgraphCallable()
- Overrides:
queryArtifactLineageSubgraphCallablein classMetadataServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classMetadataServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,MetadataServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classMetadataServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classMetadataServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classMetadataServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classMetadataServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classMetadataServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classMetadataServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-