Class MetadataServiceStubSettings.Builder (3.44.0)

public static class MetadataServiceStubSettings.Builder extends StubSettings.Builder<MetadataServiceStubSettings,MetadataServiceStubSettings.Builder>

Builder for MetadataServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MetadataServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MetadataServiceStubSettings settings)

protected Builder(MetadataServiceStubSettings settings)
Parameter
Name Description
settings MetadataServiceStubSettings

Methods

addContextArtifactsAndExecutionsSettings()

public UnaryCallSettings.Builder<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse> addContextArtifactsAndExecutionsSettings()

Returns the builder for the settings used for calls to addContextArtifactsAndExecutions.

Returns
Type Description
Builder<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse>

addContextChildrenSettings()

public UnaryCallSettings.Builder<AddContextChildrenRequest,AddContextChildrenResponse> addContextChildrenSettings()

Returns the builder for the settings used for calls to addContextChildren.

Returns
Type Description
Builder<AddContextChildrenRequest,AddContextChildrenResponse>

addExecutionEventsSettings()

public UnaryCallSettings.Builder<AddExecutionEventsRequest,AddExecutionEventsResponse> addExecutionEventsSettings()

Returns the builder for the settings used for calls to addExecutionEvents.

Returns
Type Description
Builder<AddExecutionEventsRequest,AddExecutionEventsResponse>

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
MetadataServiceStubSettings.Builder

build()

public MetadataServiceStubSettings build()
Returns
Type Description
MetadataServiceStubSettings
Overrides
Exceptions
Type Description
IOException

createArtifactSettings()

public UnaryCallSettings.Builder<CreateArtifactRequest,Artifact> createArtifactSettings()

Returns the builder for the settings used for calls to createArtifact.

Returns
Type Description
Builder<CreateArtifactRequest,Artifact>

createContextSettings()

public UnaryCallSettings.Builder<CreateContextRequest,Context> createContextSettings()

Returns the builder for the settings used for calls to createContext.

Returns
Type Description
Builder<CreateContextRequest,Context>

createExecutionSettings()

public UnaryCallSettings.Builder<CreateExecutionRequest,Execution> createExecutionSettings()

Returns the builder for the settings used for calls to createExecution.

Returns
Type Description
Builder<CreateExecutionRequest,Execution>

createMetadataSchemaSettings()

public UnaryCallSettings.Builder<CreateMetadataSchemaRequest,MetadataSchema> createMetadataSchemaSettings()

Returns the builder for the settings used for calls to createMetadataSchema.

Returns
Type Description
Builder<CreateMetadataSchemaRequest,MetadataSchema>

createMetadataStoreOperationSettings()

public OperationCallSettings.Builder<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata> createMetadataStoreOperationSettings()

Returns the builder for the settings used for calls to createMetadataStore.

Returns
Type Description
Builder<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata>

createMetadataStoreSettings()

public UnaryCallSettings.Builder<CreateMetadataStoreRequest,Operation> createMetadataStoreSettings()

Returns the builder for the settings used for calls to createMetadataStore.

Returns
Type Description
Builder<CreateMetadataStoreRequest,Operation>

deleteArtifactOperationSettings()

public OperationCallSettings.Builder<DeleteArtifactRequest,Empty,DeleteOperationMetadata> deleteArtifactOperationSettings()

Returns the builder for the settings used for calls to deleteArtifact.

Returns
Type Description
Builder<DeleteArtifactRequest,Empty,DeleteOperationMetadata>

deleteArtifactSettings()

public UnaryCallSettings.Builder<DeleteArtifactRequest,Operation> deleteArtifactSettings()

Returns the builder for the settings used for calls to deleteArtifact.

Returns
Type Description
Builder<DeleteArtifactRequest,Operation>

deleteContextOperationSettings()

public OperationCallSettings.Builder<DeleteContextRequest,Empty,DeleteOperationMetadata> deleteContextOperationSettings()

Returns the builder for the settings used for calls to deleteContext.

Returns
Type Description
Builder<DeleteContextRequest,Empty,DeleteOperationMetadata>

deleteContextSettings()

public UnaryCallSettings.Builder<DeleteContextRequest,Operation> deleteContextSettings()

Returns the builder for the settings used for calls to deleteContext.

Returns
Type Description
Builder<DeleteContextRequest,Operation>

deleteExecutionOperationSettings()

public OperationCallSettings.Builder<DeleteExecutionRequest,Empty,DeleteOperationMetadata> deleteExecutionOperationSettings()

Returns the builder for the settings used for calls to deleteExecution.

Returns
Type Description
Builder<DeleteExecutionRequest,Empty,DeleteOperationMetadata>

deleteExecutionSettings()

public UnaryCallSettings.Builder<DeleteExecutionRequest,Operation> deleteExecutionSettings()

Returns the builder for the settings used for calls to deleteExecution.

Returns
Type Description
Builder<DeleteExecutionRequest,Operation>

deleteMetadataStoreOperationSettings()

public OperationCallSettings.Builder<DeleteMetadataStoreRequest,Empty,DeleteMetadataStoreOperationMetadata> deleteMetadataStoreOperationSettings()

Returns the builder for the settings used for calls to deleteMetadataStore.

Returns
Type Description
Builder<DeleteMetadataStoreRequest,Empty,DeleteMetadataStoreOperationMetadata>

deleteMetadataStoreSettings()

public UnaryCallSettings.Builder<DeleteMetadataStoreRequest,Operation> deleteMetadataStoreSettings()

Returns the builder for the settings used for calls to deleteMetadataStore.

Returns
Type Description
Builder<DeleteMetadataStoreRequest,Operation>

getArtifactSettings()

public UnaryCallSettings.Builder<GetArtifactRequest,Artifact> getArtifactSettings()

Returns the builder for the settings used for calls to getArtifact.

Returns
Type Description
Builder<GetArtifactRequest,Artifact>

getContextSettings()

public UnaryCallSettings.Builder<GetContextRequest,Context> getContextSettings()

Returns the builder for the settings used for calls to getContext.

Returns
Type Description
Builder<GetContextRequest,Context>

getExecutionSettings()

public UnaryCallSettings.Builder<GetExecutionRequest,Execution> getExecutionSettings()

Returns the builder for the settings used for calls to getExecution.

Returns
Type Description
Builder<GetExecutionRequest,Execution>

getIamPolicySettings()

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>

getLocationSettings()

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>

getMetadataSchemaSettings()

public UnaryCallSettings.Builder<GetMetadataSchemaRequest,MetadataSchema> getMetadataSchemaSettings()

Returns the builder for the settings used for calls to getMetadataSchema.

Returns
Type Description
Builder<GetMetadataSchemaRequest,MetadataSchema>

getMetadataStoreSettings()

public UnaryCallSettings.Builder<GetMetadataStoreRequest,MetadataStore> getMetadataStoreSettings()

Returns the builder for the settings used for calls to getMetadataStore.

Returns
Type Description
Builder<GetMetadataStoreRequest,MetadataStore>

listArtifactsSettings()

public PagedCallSettings.Builder<ListArtifactsRequest,ListArtifactsResponse,MetadataServiceClient.ListArtifactsPagedResponse> listArtifactsSettings()

Returns the builder for the settings used for calls to listArtifacts.

Returns
Type Description
Builder<ListArtifactsRequest,ListArtifactsResponse,ListArtifactsPagedResponse>

listContextsSettings()

public PagedCallSettings.Builder<ListContextsRequest,ListContextsResponse,MetadataServiceClient.ListContextsPagedResponse> listContextsSettings()

Returns the builder for the settings used for calls to listContexts.

Returns
Type Description
Builder<ListContextsRequest,ListContextsResponse,ListContextsPagedResponse>

listExecutionsSettings()

public PagedCallSettings.Builder<ListExecutionsRequest,ListExecutionsResponse,MetadataServiceClient.ListExecutionsPagedResponse> listExecutionsSettings()

Returns the builder for the settings used for calls to listExecutions.

Returns
Type Description
Builder<ListExecutionsRequest,ListExecutionsResponse,ListExecutionsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,MetadataServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listMetadataSchemasSettings()

public PagedCallSettings.Builder<ListMetadataSchemasRequest,ListMetadataSchemasResponse,MetadataServiceClient.ListMetadataSchemasPagedResponse> listMetadataSchemasSettings()

Returns the builder for the settings used for calls to listMetadataSchemas.

Returns
Type Description
Builder<ListMetadataSchemasRequest,ListMetadataSchemasResponse,ListMetadataSchemasPagedResponse>

listMetadataStoresSettings()

public PagedCallSettings.Builder<ListMetadataStoresRequest,ListMetadataStoresResponse,MetadataServiceClient.ListMetadataStoresPagedResponse> listMetadataStoresSettings()

Returns the builder for the settings used for calls to listMetadataStores.

Returns
Type Description
Builder<ListMetadataStoresRequest,ListMetadataStoresResponse,ListMetadataStoresPagedResponse>

purgeArtifactsOperationSettings()

public OperationCallSettings.Builder<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata> purgeArtifactsOperationSettings()

Returns the builder for the settings used for calls to purgeArtifacts.

Returns
Type Description
Builder<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata>

purgeArtifactsSettings()

public UnaryCallSettings.Builder<PurgeArtifactsRequest,Operation> purgeArtifactsSettings()

Returns the builder for the settings used for calls to purgeArtifacts.

Returns
Type Description
Builder<PurgeArtifactsRequest,Operation>

purgeContextsOperationSettings()

public OperationCallSettings.Builder<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata> purgeContextsOperationSettings()

Returns the builder for the settings used for calls to purgeContexts.

Returns
Type Description
Builder<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata>

purgeContextsSettings()

public UnaryCallSettings.Builder<PurgeContextsRequest,Operation> purgeContextsSettings()

Returns the builder for the settings used for calls to purgeContexts.

Returns
Type Description
Builder<PurgeContextsRequest,Operation>

purgeExecutionsOperationSettings()

public OperationCallSettings.Builder<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata> purgeExecutionsOperationSettings()

Returns the builder for the settings used for calls to purgeExecutions.

Returns
Type Description
Builder<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata>

purgeExecutionsSettings()

public UnaryCallSettings.Builder<PurgeExecutionsRequest,Operation> purgeExecutionsSettings()

Returns the builder for the settings used for calls to purgeExecutions.

Returns
Type Description
Builder<PurgeExecutionsRequest,Operation>

queryArtifactLineageSubgraphSettings()

public UnaryCallSettings.Builder<QueryArtifactLineageSubgraphRequest,LineageSubgraph> queryArtifactLineageSubgraphSettings()

Returns the builder for the settings used for calls to queryArtifactLineageSubgraph.

Returns
Type Description
Builder<QueryArtifactLineageSubgraphRequest,LineageSubgraph>

queryContextLineageSubgraphSettings()

public UnaryCallSettings.Builder<QueryContextLineageSubgraphRequest,LineageSubgraph> queryContextLineageSubgraphSettings()

Returns the builder for the settings used for calls to queryContextLineageSubgraph.

Returns
Type Description
Builder<QueryContextLineageSubgraphRequest,LineageSubgraph>

queryExecutionInputsAndOutputsSettings()

public UnaryCallSettings.Builder<QueryExecutionInputsAndOutputsRequest,LineageSubgraph> queryExecutionInputsAndOutputsSettings()

Returns the builder for the settings used for calls to queryExecutionInputsAndOutputs.

Returns
Type Description
Builder<QueryExecutionInputsAndOutputsRequest,LineageSubgraph>

removeContextChildrenSettings()

public UnaryCallSettings.Builder<RemoveContextChildrenRequest,RemoveContextChildrenResponse> removeContextChildrenSettings()

Returns the builder for the settings used for calls to removeContextChildren.

Returns
Type Description
Builder<RemoveContextChildrenRequest,RemoveContextChildrenResponse>

setIamPolicySettings()

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>

testIamPermissionsSettings()

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateArtifactSettings()

public UnaryCallSettings.Builder<UpdateArtifactRequest,Artifact> updateArtifactSettings()

Returns the builder for the settings used for calls to updateArtifact.

Returns
Type Description
Builder<UpdateArtifactRequest,Artifact>

updateContextSettings()

public UnaryCallSettings.Builder<UpdateContextRequest,Context> updateContextSettings()

Returns the builder for the settings used for calls to updateContext.

Returns
Type Description
Builder<UpdateContextRequest,Context>

updateExecutionSettings()

public UnaryCallSettings.Builder<UpdateExecutionRequest,Execution> updateExecutionSettings()

Returns the builder for the settings used for calls to updateExecution.

Returns
Type Description
Builder<UpdateExecutionRequest,Execution>