Class GrpcMetadataServiceStub (3.56.0)

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.

Inheritance

java.lang.Object > MetadataServiceStub > GrpcMetadataServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcMetadataServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcMetadataServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcMetadataServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcMetadataServiceStub
Exceptions
Type Description
IOException

create(MetadataServiceStubSettings settings)

public static final GrpcMetadataServiceStub create(MetadataServiceStubSettings settings)
Parameter
Name Description
settings MetadataServiceStubSettings
Returns
Type Description
GrpcMetadataServiceStub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings MetadataServiceStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings MetadataServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

addContextArtifactsAndExecutionsCallable()

public UnaryCallable<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse> addContextArtifactsAndExecutionsCallable()
Returns
Type Description
UnaryCallable<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse>
Overrides

addContextChildrenCallable()

public UnaryCallable<AddContextChildrenRequest,AddContextChildrenResponse> addContextChildrenCallable()
Returns
Type Description
UnaryCallable<AddContextChildrenRequest,AddContextChildrenResponse>
Overrides

addExecutionEventsCallable()

public UnaryCallable<AddExecutionEventsRequest,AddExecutionEventsResponse> addExecutionEventsCallable()
Returns
Type Description
UnaryCallable<AddExecutionEventsRequest,AddExecutionEventsResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createArtifactCallable()

public UnaryCallable<CreateArtifactRequest,Artifact> createArtifactCallable()
Returns
Type Description
UnaryCallable<CreateArtifactRequest,Artifact>
Overrides

createContextCallable()

public UnaryCallable<CreateContextRequest,Context> createContextCallable()
Returns
Type Description
UnaryCallable<CreateContextRequest,Context>
Overrides

createExecutionCallable()

public UnaryCallable<CreateExecutionRequest,Execution> createExecutionCallable()
Returns
Type Description
UnaryCallable<CreateExecutionRequest,Execution>
Overrides

createMetadataSchemaCallable()

public UnaryCallable<CreateMetadataSchemaRequest,MetadataSchema> createMetadataSchemaCallable()
Returns
Type Description
UnaryCallable<CreateMetadataSchemaRequest,MetadataSchema>
Overrides

createMetadataStoreCallable()

public UnaryCallable<CreateMetadataStoreRequest,Operation> createMetadataStoreCallable()
Returns
Type Description
UnaryCallable<CreateMetadataStoreRequest,Operation>
Overrides

createMetadataStoreOperationCallable()

public OperationCallable<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata> createMetadataStoreOperationCallable()
Returns
Type Description
OperationCallable<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata>
Overrides

deleteArtifactCallable()

public UnaryCallable<DeleteArtifactRequest,Operation> deleteArtifactCallable()
Returns
Type Description
UnaryCallable<DeleteArtifactRequest,Operation>
Overrides

deleteArtifactOperationCallable()

public OperationCallable<DeleteArtifactRequest,Empty,DeleteOperationMetadata> deleteArtifactOperationCallable()
Returns
Type Description
OperationCallable<DeleteArtifactRequest,Empty,DeleteOperationMetadata>
Overrides

deleteContextCallable()

public UnaryCallable<DeleteContextRequest,Operation> deleteContextCallable()
Returns
Type Description
UnaryCallable<DeleteContextRequest,Operation>
Overrides

deleteContextOperationCallable()

public OperationCallable<DeleteContextRequest,Empty,DeleteOperationMetadata> deleteContextOperationCallable()
Returns
Type Description
OperationCallable<DeleteContextRequest,Empty,DeleteOperationMetadata>
Overrides

deleteExecutionCallable()

public UnaryCallable<DeleteExecutionRequest,Operation> deleteExecutionCallable()
Returns
Type Description
UnaryCallable<DeleteExecutionRequest,Operation>
Overrides

deleteExecutionOperationCallable()

public OperationCallable<DeleteExecutionRequest,Empty,DeleteOperationMetadata> deleteExecutionOperationCallable()
Returns
Type Description
OperationCallable<DeleteExecutionRequest,Empty,DeleteOperationMetadata>
Overrides

deleteMetadataStoreCallable()

public UnaryCallable<DeleteMetadataStoreRequest,Operation> deleteMetadataStoreCallable()
Returns
Type Description
UnaryCallable<DeleteMetadataStoreRequest,Operation>
Overrides

deleteMetadataStoreOperationCallable()

public OperationCallable<DeleteMetadataStoreRequest,Empty,DeleteMetadataStoreOperationMetadata> deleteMetadataStoreOperationCallable()
Returns
Type Description
OperationCallable<DeleteMetadataStoreRequest,Empty,DeleteMetadataStoreOperationMetadata>
Overrides

getArtifactCallable()

public UnaryCallable<GetArtifactRequest,Artifact> getArtifactCallable()
Returns
Type Description
UnaryCallable<GetArtifactRequest,Artifact>
Overrides

getContextCallable()

public UnaryCallable<GetContextRequest,Context> getContextCallable()
Returns
Type Description
UnaryCallable<GetContextRequest,Context>
Overrides

getExecutionCallable()

public UnaryCallable<GetExecutionRequest,Execution> getExecutionCallable()
Returns
Type Description
UnaryCallable<GetExecutionRequest,Execution>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getMetadataSchemaCallable()

public UnaryCallable<GetMetadataSchemaRequest,MetadataSchema> getMetadataSchemaCallable()
Returns
Type Description
UnaryCallable<GetMetadataSchemaRequest,MetadataSchema>
Overrides

getMetadataStoreCallable()

public UnaryCallable<GetMetadataStoreRequest,MetadataStore> getMetadataStoreCallable()
Returns
Type Description
UnaryCallable<GetMetadataStoreRequest,MetadataStore>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listArtifactsCallable()

public UnaryCallable<ListArtifactsRequest,ListArtifactsResponse> listArtifactsCallable()
Returns
Type Description
UnaryCallable<ListArtifactsRequest,ListArtifactsResponse>
Overrides

listArtifactsPagedCallable()

public UnaryCallable<ListArtifactsRequest,MetadataServiceClient.ListArtifactsPagedResponse> listArtifactsPagedCallable()
Returns
Type Description
UnaryCallable<ListArtifactsRequest,ListArtifactsPagedResponse>
Overrides

listContextsCallable()

public UnaryCallable<ListContextsRequest,ListContextsResponse> listContextsCallable()
Returns
Type Description
UnaryCallable<ListContextsRequest,ListContextsResponse>
Overrides

listContextsPagedCallable()

public UnaryCallable<ListContextsRequest,MetadataServiceClient.ListContextsPagedResponse> listContextsPagedCallable()
Returns
Type Description
UnaryCallable<ListContextsRequest,ListContextsPagedResponse>
Overrides

listExecutionsCallable()

public UnaryCallable<ListExecutionsRequest,ListExecutionsResponse> listExecutionsCallable()
Returns
Type Description
UnaryCallable<ListExecutionsRequest,ListExecutionsResponse>
Overrides

listExecutionsPagedCallable()

public UnaryCallable<ListExecutionsRequest,MetadataServiceClient.ListExecutionsPagedResponse> listExecutionsPagedCallable()
Returns
Type Description
UnaryCallable<ListExecutionsRequest,ListExecutionsPagedResponse>
Overrides

listLocationsCallable()

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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listMetadataSchemasCallable()

public UnaryCallable<ListMetadataSchemasRequest,ListMetadataSchemasResponse> listMetadataSchemasCallable()
Returns
Type Description
UnaryCallable<ListMetadataSchemasRequest,ListMetadataSchemasResponse>
Overrides

listMetadataSchemasPagedCallable()

public UnaryCallable<ListMetadataSchemasRequest,MetadataServiceClient.ListMetadataSchemasPagedResponse> listMetadataSchemasPagedCallable()
Returns
Type Description
UnaryCallable<ListMetadataSchemasRequest,ListMetadataSchemasPagedResponse>
Overrides

listMetadataStoresCallable()

public UnaryCallable<ListMetadataStoresRequest,ListMetadataStoresResponse> listMetadataStoresCallable()
Returns
Type Description
UnaryCallable<ListMetadataStoresRequest,ListMetadataStoresResponse>
Overrides

listMetadataStoresPagedCallable()

public UnaryCallable<ListMetadataStoresRequest,MetadataServiceClient.ListMetadataStoresPagedResponse> listMetadataStoresPagedCallable()
Returns
Type Description
UnaryCallable<ListMetadataStoresRequest,ListMetadataStoresPagedResponse>
Overrides

purgeArtifactsCallable()

public UnaryCallable<PurgeArtifactsRequest,Operation> purgeArtifactsCallable()
Returns
Type Description
UnaryCallable<PurgeArtifactsRequest,Operation>
Overrides

purgeArtifactsOperationCallable()

public OperationCallable<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata> purgeArtifactsOperationCallable()
Returns
Type Description
OperationCallable<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata>
Overrides

purgeContextsCallable()

public UnaryCallable<PurgeContextsRequest,Operation> purgeContextsCallable()
Returns
Type Description
UnaryCallable<PurgeContextsRequest,Operation>
Overrides

purgeContextsOperationCallable()

public OperationCallable<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata> purgeContextsOperationCallable()
Returns
Type Description
OperationCallable<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata>
Overrides

purgeExecutionsCallable()

public UnaryCallable<PurgeExecutionsRequest,Operation> purgeExecutionsCallable()
Returns
Type Description
UnaryCallable<PurgeExecutionsRequest,Operation>
Overrides

purgeExecutionsOperationCallable()

public OperationCallable<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata> purgeExecutionsOperationCallable()
Returns
Type Description
OperationCallable<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata>
Overrides

queryArtifactLineageSubgraphCallable()

public UnaryCallable<QueryArtifactLineageSubgraphRequest,LineageSubgraph> queryArtifactLineageSubgraphCallable()
Returns
Type Description
UnaryCallable<QueryArtifactLineageSubgraphRequest,LineageSubgraph>
Overrides

queryContextLineageSubgraphCallable()

public UnaryCallable<QueryContextLineageSubgraphRequest,LineageSubgraph> queryContextLineageSubgraphCallable()
Returns
Type Description
UnaryCallable<QueryContextLineageSubgraphRequest,LineageSubgraph>
Overrides

queryExecutionInputsAndOutputsCallable()

public UnaryCallable<QueryExecutionInputsAndOutputsRequest,LineageSubgraph> queryExecutionInputsAndOutputsCallable()
Returns
Type Description
UnaryCallable<QueryExecutionInputsAndOutputsRequest,LineageSubgraph>
Overrides

removeContextChildrenCallable()

public UnaryCallable<RemoveContextChildrenRequest,RemoveContextChildrenResponse> removeContextChildrenCallable()
Returns
Type Description
UnaryCallable<RemoveContextChildrenRequest,RemoveContextChildrenResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateArtifactCallable()

public UnaryCallable<UpdateArtifactRequest,Artifact> updateArtifactCallable()
Returns
Type Description
UnaryCallable<UpdateArtifactRequest,Artifact>
Overrides

updateContextCallable()

public UnaryCallable<UpdateContextRequest,Context> updateContextCallable()
Returns
Type Description
UnaryCallable<UpdateContextRequest,Context>
Overrides

updateExecutionCallable()

public UnaryCallable<UpdateExecutionRequest,Execution> updateExecutionCallable()
Returns
Type Description
UnaryCallable<UpdateExecutionRequest,Execution>
Overrides