public static class MetadataServiceStubSettings.Builder extends StubSettings.Builder<MetadataServiceStubSettings,MetadataServiceStubSettings.Builder>
Builder for MetadataServiceStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(MetadataServiceStubSettings settings)
Methods
addContextArtifactsAndExecutionsSettings()
public UnaryCallSettings.Builder<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse> addContextArtifactsAndExecutionsSettings()
Returns the builder for the settings used for calls to addContextArtifactsAndExecutions.
addContextChildrenSettings()
public UnaryCallSettings.Builder<AddContextChildrenRequest,AddContextChildrenResponse> addContextChildrenSettings()
Returns the builder for the settings used for calls to addContextChildren.
public UnaryCallSettings.Builder<AddExecutionEventsRequest,AddExecutionEventsResponse> addExecutionEventsSettings()
Returns the builder for the settings used for calls to addExecutionEvents.
public MetadataServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
public MetadataServiceStubSettings build()
Overrides
public UnaryCallSettings.Builder<CreateArtifactRequest,Artifact> createArtifactSettings()
Returns the builder for the settings used for calls to createArtifact.
createContextSettings()
public UnaryCallSettings.Builder<CreateContextRequest,Context> createContextSettings()
Returns the builder for the settings used for calls to createContext.
public UnaryCallSettings.Builder<CreateExecutionRequest,Execution> createExecutionSettings()
Returns the builder for the settings used for calls to createExecution.
public UnaryCallSettings.Builder<CreateMetadataSchemaRequest,MetadataSchema> createMetadataSchemaSettings()
Returns the builder for the settings used for calls to createMetadataSchema.
public OperationCallSettings.Builder<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata> createMetadataStoreOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature 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.
Returns the builder for the settings used for calls to createMetadataStore.
public UnaryCallSettings.Builder<CreateMetadataStoreRequest,Operation> createMetadataStoreSettings()
Returns the builder for the settings used for calls to createMetadataStore.
public OperationCallSettings.Builder<DeleteArtifactRequest,Empty,DeleteOperationMetadata> deleteArtifactOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature 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.
Returns the builder for the settings used for calls to deleteArtifact.
public UnaryCallSettings.Builder<DeleteArtifactRequest,Operation> deleteArtifactSettings()
Returns the builder for the settings used for calls to deleteArtifact.
deleteContextOperationSettings()
public OperationCallSettings.Builder<DeleteContextRequest,Empty,DeleteOperationMetadata> deleteContextOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature 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.
Returns the builder for the settings used for calls to deleteContext.
deleteContextSettings()
public UnaryCallSettings.Builder<DeleteContextRequest,Operation> deleteContextSettings()
Returns the builder for the settings used for calls to deleteContext.
public OperationCallSettings.Builder<DeleteExecutionRequest,Empty,DeleteOperationMetadata> deleteExecutionOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature 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.
Returns the builder for the settings used for calls to deleteExecution.
public UnaryCallSettings.Builder<DeleteExecutionRequest,Operation> deleteExecutionSettings()
Returns the builder for the settings used for calls to deleteExecution.
public OperationCallSettings.Builder<DeleteMetadataStoreRequest,Empty,DeleteMetadataStoreOperationMetadata> deleteMetadataStoreOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature 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.
Returns the builder for the settings used for calls to deleteMetadataStore.
public UnaryCallSettings.Builder<DeleteMetadataStoreRequest,Operation> deleteMetadataStoreSettings()
Returns the builder for the settings used for calls to deleteMetadataStore.
public UnaryCallSettings.Builder<GetArtifactRequest,Artifact> getArtifactSettings()
Returns the builder for the settings used for calls to getArtifact.
getContextSettings()
public UnaryCallSettings.Builder<GetContextRequest,Context> getContextSettings()
Returns the builder for the settings used for calls to getContext.
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
public UnaryCallSettings.Builder<GetExecutionRequest,Execution> getExecutionSettings()
Returns the builder for the settings used for calls to getExecution.
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns Type Description Builder <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns Type Description Builder <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
public UnaryCallSettings.Builder<GetMetadataSchemaRequest,MetadataSchema> getMetadataSchemaSettings()
Returns the builder for the settings used for calls to getMetadataSchema.
public UnaryCallSettings.Builder<GetMetadataStoreRequest,MetadataStore> getMetadataStoreSettings()
Returns the builder for the settings used for calls to getMetadataStore.
public PagedCallSettings.Builder<ListArtifactsRequest,ListArtifactsResponse,MetadataServiceClient.ListArtifactsPagedResponse> listArtifactsSettings()
Returns the builder for the settings used for calls to listArtifacts.
listContextsSettings()
public PagedCallSettings.Builder<ListContextsRequest,ListContextsResponse,MetadataServiceClient.ListContextsPagedResponse> listContextsSettings()
Returns the builder for the settings used for calls to listContexts.
public PagedCallSettings.Builder<ListExecutionsRequest,ListExecutionsResponse,MetadataServiceClient.ListExecutionsPagedResponse> listExecutionsSettings()
Returns the builder for the settings used for calls to listExecutions.
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,MetadataServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
public PagedCallSettings.Builder<ListMetadataSchemasRequest,ListMetadataSchemasResponse,MetadataServiceClient.ListMetadataSchemasPagedResponse> listMetadataSchemasSettings()
Returns the builder for the settings used for calls to listMetadataSchemas.
public PagedCallSettings.Builder<ListMetadataStoresRequest,ListMetadataStoresResponse,MetadataServiceClient.ListMetadataStoresPagedResponse> listMetadataStoresSettings()
Returns the builder for the settings used for calls to listMetadataStores.
public OperationCallSettings.Builder<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata> purgeArtifactsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature 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.
Returns the builder for the settings used for calls to purgeArtifacts.
public UnaryCallSettings.Builder<PurgeArtifactsRequest,Operation> purgeArtifactsSettings()
Returns the builder for the settings used for calls to purgeArtifacts.
purgeContextsOperationSettings()
public OperationCallSettings.Builder<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata> purgeContextsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature 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.
Returns the builder for the settings used for calls to purgeContexts.
purgeContextsSettings()
public UnaryCallSettings.Builder<PurgeContextsRequest,Operation> purgeContextsSettings()
Returns the builder for the settings used for calls to purgeContexts.
public OperationCallSettings.Builder<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata> purgeExecutionsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature 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.
Returns the builder for the settings used for calls to purgeExecutions.
public UnaryCallSettings.Builder<PurgeExecutionsRequest,Operation> purgeExecutionsSettings()
Returns the builder for the settings used for calls to purgeExecutions.
public UnaryCallSettings.Builder<QueryArtifactLineageSubgraphRequest,LineageSubgraph> queryArtifactLineageSubgraphSettings()
Returns the builder for the settings used for calls to queryArtifactLineageSubgraph.
queryContextLineageSubgraphSettings()
public UnaryCallSettings.Builder<QueryContextLineageSubgraphRequest,LineageSubgraph> queryContextLineageSubgraphSettings()
Returns the builder for the settings used for calls to queryContextLineageSubgraph.
public UnaryCallSettings.Builder<QueryExecutionInputsAndOutputsRequest,LineageSubgraph> queryExecutionInputsAndOutputsSettings()
Returns the builder for the settings used for calls to queryExecutionInputsAndOutputs.
removeContextChildrenSettings()
public UnaryCallSettings.Builder<RemoveContextChildrenRequest,RemoveContextChildrenResponse> removeContextChildrenSettings()
Returns the builder for the settings used for calls to removeContextChildren.
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns Type Description Builder <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns Type Description Builder <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
public UnaryCallSettings.Builder<UpdateArtifactRequest,Artifact> updateArtifactSettings()
Returns the builder for the settings used for calls to updateArtifact.
updateContextSettings()
public UnaryCallSettings.Builder<UpdateContextRequest,Context> updateContextSettings()
Returns the builder for the settings used for calls to updateContext.
public UnaryCallSettings.Builder<UpdateExecutionRequest,Execution> updateExecutionSettings()
Returns the builder for the settings used for calls to updateExecution.