Class GrpcMetadataServiceStub (3.14.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcMetadataServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcMetadataServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcMetadataServiceStub
Exceptions
TypeDescription
IOException

create(MetadataServiceStubSettings settings)

public static final GrpcMetadataServiceStub create(MetadataServiceStubSettings settings)
Parameter
NameDescription
settingsMetadataServiceStubSettings
Returns
TypeDescription
GrpcMetadataServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsMetadataServiceStubSettings
clientContextClientContext

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
NameDescription
settingsMetadataServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

addContextArtifactsAndExecutionsCallable()

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

addContextChildrenCallable()

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

addExecutionEventsCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createArtifactCallable()

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

createContextCallable()

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

createExecutionCallable()

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

createMetadataSchemaCallable()

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

createMetadataStoreCallable()

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

createMetadataStoreOperationCallable()

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

deleteArtifactCallable()

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

deleteArtifactOperationCallable()

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

deleteContextCallable()

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

deleteContextOperationCallable()

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

deleteExecutionCallable()

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

deleteExecutionOperationCallable()

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

deleteMetadataStoreCallable()

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

deleteMetadataStoreOperationCallable()

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

getArtifactCallable()

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

getContextCallable()

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

getExecutionCallable()

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

getIamPolicyCallable()

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

getLocationCallable()

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

getMetadataSchemaCallable()

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

getMetadataStoreCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listArtifactsCallable()

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

listArtifactsPagedCallable()

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

listContextsCallable()

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

listContextsPagedCallable()

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

listExecutionsCallable()

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

listExecutionsPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,MetadataServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listMetadataSchemasCallable()

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

listMetadataSchemasPagedCallable()

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

listMetadataStoresCallable()

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

listMetadataStoresPagedCallable()

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

purgeArtifactsCallable()

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

purgeArtifactsOperationCallable()

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

purgeContextsCallable()

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

purgeContextsOperationCallable()

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

purgeExecutionsCallable()

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

purgeExecutionsOperationCallable()

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

queryArtifactLineageSubgraphCallable()

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

queryContextLineageSubgraphCallable()

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

queryExecutionInputsAndOutputsCallable()

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

removeContextChildrenCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateArtifactCallable()

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

updateContextCallable()

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

updateExecutionCallable()

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