Class MetadataServiceSettings.Builder (3.38.0)

public static class MetadataServiceSettings.Builder extends ClientSettings.Builder<MetadataServiceSettings,MetadataServiceSettings.Builder>

Builder for MetadataServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > MetadataServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(MetadataServiceSettings settings)

protected Builder(MetadataServiceSettings settings)
Parameter
NameDescription
settingsMetadataServiceSettings

Builder(MetadataServiceStubSettings.Builder stubSettings)

protected Builder(MetadataServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsMetadataServiceStubSettings.Builder

Methods

addContextArtifactsAndExecutionsSettings()

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

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

Returns
TypeDescription
Builder<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse>

addContextChildrenSettings()

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

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

Returns
TypeDescription
Builder<AddContextChildrenRequest,AddContextChildrenResponse>

addExecutionEventsSettings()

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

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

Returns
TypeDescription
Builder<AddExecutionEventsRequest,AddExecutionEventsResponse>

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

public MetadataServiceSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
MetadataServiceSettings.Builder

build()

public MetadataServiceSettings build()
Returns
TypeDescription
MetadataServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createArtifactSettings()

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

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

Returns
TypeDescription
Builder<CreateArtifactRequest,Artifact>

createContextSettings()

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

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

Returns
TypeDescription
Builder<CreateContextRequest,Context>

createExecutionSettings()

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

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

Returns
TypeDescription
Builder<CreateExecutionRequest,Execution>

createMetadataSchemaSettings()

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

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

Returns
TypeDescription
Builder<CreateMetadataSchemaRequest,MetadataSchema>

createMetadataStoreOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata>

createMetadataStoreSettings()

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

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

Returns
TypeDescription
Builder<CreateMetadataStoreRequest,Operation>

deleteArtifactOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteArtifactRequest,Empty,DeleteOperationMetadata>

deleteArtifactSettings()

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

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

Returns
TypeDescription
Builder<DeleteArtifactRequest,Operation>

deleteContextOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteContextRequest,Empty,DeleteOperationMetadata>

deleteContextSettings()

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

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

Returns
TypeDescription
Builder<DeleteContextRequest,Operation>

deleteExecutionOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteExecutionRequest,Empty,DeleteOperationMetadata>

deleteExecutionSettings()

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

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

Returns
TypeDescription
Builder<DeleteExecutionRequest,Operation>

deleteMetadataStoreOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteMetadataStoreRequest,Empty,DeleteMetadataStoreOperationMetadata>

deleteMetadataStoreSettings()

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

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

Returns
TypeDescription
Builder<DeleteMetadataStoreRequest,Operation>

getArtifactSettings()

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

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

Returns
TypeDescription
Builder<GetArtifactRequest,Artifact>

getContextSettings()

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

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

Returns
TypeDescription
Builder<GetContextRequest,Context>

getExecutionSettings()

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

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

Returns
TypeDescription
Builder<GetExecutionRequest,Execution>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<GetMetadataSchemaRequest,MetadataSchema>

getMetadataStoreSettings()

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

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

Returns
TypeDescription
Builder<GetMetadataStoreRequest,MetadataStore>

getStubSettingsBuilder()

public MetadataServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
MetadataServiceStubSettings.Builder

listArtifactsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListMetadataStoresRequest,ListMetadataStoresResponse,ListMetadataStoresPagedResponse>

purgeArtifactsOperationSettings()

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

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

Returns
TypeDescription
Builder<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata>

purgeArtifactsSettings()

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

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

Returns
TypeDescription
Builder<PurgeArtifactsRequest,Operation>

purgeContextsOperationSettings()

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

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

Returns
TypeDescription
Builder<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata>

purgeContextsSettings()

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

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

Returns
TypeDescription
Builder<PurgeContextsRequest,Operation>

purgeExecutionsOperationSettings()

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

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

Returns
TypeDescription
Builder<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata>

purgeExecutionsSettings()

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

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

Returns
TypeDescription
Builder<PurgeExecutionsRequest,Operation>

queryArtifactLineageSubgraphSettings()

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

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

Returns
TypeDescription
Builder<QueryArtifactLineageSubgraphRequest,LineageSubgraph>

queryContextLineageSubgraphSettings()

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

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

Returns
TypeDescription
Builder<QueryContextLineageSubgraphRequest,LineageSubgraph>

queryExecutionInputsAndOutputsSettings()

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

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

Returns
TypeDescription
Builder<QueryExecutionInputsAndOutputsRequest,LineageSubgraph>

removeContextChildrenSettings()

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

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

Returns
TypeDescription
Builder<RemoveContextChildrenRequest,RemoveContextChildrenResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateArtifactSettings()

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

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

Returns
TypeDescription
Builder<UpdateArtifactRequest,Artifact>

updateContextSettings()

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

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

Returns
TypeDescription
Builder<UpdateContextRequest,Context>

updateExecutionSettings()

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

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

Returns
TypeDescription
Builder<UpdateExecutionRequest,Execution>