@Generated(value="by gapic-generator-java") public class MetadataServiceSettings extends com.google.api.gax.rpc.ClientSettings<MetadataServiceSettings>
MetadataServiceClient.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getMetadataStore to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
MetadataServiceSettings.Builder metadataServiceSettingsBuilder =
MetadataServiceSettings.newBuilder();
metadataServiceSettingsBuilder
.getMetadataStoreSettings()
.setRetrySettings(
metadataServiceSettingsBuilder
.getMetadataStoreSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
MetadataServiceSettings metadataServiceSettings = metadataServiceSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataServiceSettings.Builder
Builder for MetadataServiceSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MetadataServiceSettings(MetadataServiceSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallSettings<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse> |
addContextArtifactsAndExecutionsSettings()
Returns the object with the settings used for calls to addContextArtifactsAndExecutions.
|
com.google.api.gax.rpc.UnaryCallSettings<AddContextChildrenRequest,AddContextChildrenResponse> |
addContextChildrenSettings()
Returns the object with the settings used for calls to addContextChildren.
|
com.google.api.gax.rpc.UnaryCallSettings<AddExecutionEventsRequest,AddExecutionEventsResponse> |
addExecutionEventsSettings()
Returns the object with the settings used for calls to addExecutionEvents.
|
static MetadataServiceSettings |
create(MetadataServiceStubSettings stub) |
com.google.api.gax.rpc.UnaryCallSettings<CreateArtifactRequest,Artifact> |
createArtifactSettings()
Returns the object with the settings used for calls to createArtifact.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateContextRequest,Context> |
createContextSettings()
Returns the object with the settings used for calls to createContext.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateExecutionRequest,Execution> |
createExecutionSettings()
Returns the object with the settings used for calls to createExecution.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateMetadataSchemaRequest,MetadataSchema> |
createMetadataSchemaSettings()
Returns the object with the settings used for calls to createMetadataSchema.
|
com.google.api.gax.rpc.OperationCallSettings<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata> |
createMetadataStoreOperationSettings()
Returns the object with the settings used for calls to createMetadataStore.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateMetadataStoreRequest,com.google.longrunning.Operation> |
createMetadataStoreSettings()
Returns the object with the settings used for calls to createMetadataStore.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteArtifactRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteArtifactOperationSettings()
Returns the object with the settings used for calls to deleteArtifact.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteArtifactRequest,com.google.longrunning.Operation> |
deleteArtifactSettings()
Returns the object with the settings used for calls to deleteArtifact.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteContextRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteContextOperationSettings()
Returns the object with the settings used for calls to deleteContext.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteContextRequest,com.google.longrunning.Operation> |
deleteContextSettings()
Returns the object with the settings used for calls to deleteContext.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteExecutionRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteExecutionOperationSettings()
Returns the object with the settings used for calls to deleteExecution.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteExecutionRequest,com.google.longrunning.Operation> |
deleteExecutionSettings()
Returns the object with the settings used for calls to deleteExecution.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteMetadataStoreRequest,com.google.protobuf.Empty,DeleteMetadataStoreOperationMetadata> |
deleteMetadataStoreOperationSettings()
Returns the object with the settings used for calls to deleteMetadataStore.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteMetadataStoreRequest,com.google.longrunning.Operation> |
deleteMetadataStoreSettings()
Returns the object with the settings used for calls to deleteMetadataStore.
|
com.google.api.gax.rpc.UnaryCallSettings<GetArtifactRequest,Artifact> |
getArtifactSettings()
Returns the object with the settings used for calls to getArtifact.
|
com.google.api.gax.rpc.UnaryCallSettings<GetContextRequest,Context> |
getContextSettings()
Returns the object with the settings used for calls to getContext.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetExecutionRequest,Execution> |
getExecutionSettings()
Returns the object with the settings used for calls to getExecution.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the object with the settings used for calls to getLocation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetMetadataSchemaRequest,MetadataSchema> |
getMetadataSchemaSettings()
Returns the object with the settings used for calls to getMetadataSchema.
|
com.google.api.gax.rpc.UnaryCallSettings<GetMetadataStoreRequest,MetadataStore> |
getMetadataStoreSettings()
Returns the object with the settings used for calls to getMetadataStore.
|
com.google.api.gax.rpc.PagedCallSettings<ListArtifactsRequest,ListArtifactsResponse,MetadataServiceClient.ListArtifactsPagedResponse> |
listArtifactsSettings()
Returns the object with the settings used for calls to listArtifacts.
|
com.google.api.gax.rpc.PagedCallSettings<ListContextsRequest,ListContextsResponse,MetadataServiceClient.ListContextsPagedResponse> |
listContextsSettings()
Returns the object with the settings used for calls to listContexts.
|
com.google.api.gax.rpc.PagedCallSettings<ListExecutionsRequest,ListExecutionsResponse,MetadataServiceClient.ListExecutionsPagedResponse> |
listExecutionsSettings()
Returns the object with the settings used for calls to listExecutions.
|
com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,MetadataServiceClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
|
com.google.api.gax.rpc.PagedCallSettings<ListMetadataSchemasRequest,ListMetadataSchemasResponse,MetadataServiceClient.ListMetadataSchemasPagedResponse> |
listMetadataSchemasSettings()
Returns the object with the settings used for calls to listMetadataSchemas.
|
com.google.api.gax.rpc.PagedCallSettings<ListMetadataStoresRequest,ListMetadataStoresResponse,MetadataServiceClient.ListMetadataStoresPagedResponse> |
listMetadataStoresSettings()
Returns the object with the settings used for calls to listMetadataStores.
|
static MetadataServiceSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static MetadataServiceSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.OperationCallSettings<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata> |
purgeArtifactsOperationSettings()
Returns the object with the settings used for calls to purgeArtifacts.
|
com.google.api.gax.rpc.UnaryCallSettings<PurgeArtifactsRequest,com.google.longrunning.Operation> |
purgeArtifactsSettings()
Returns the object with the settings used for calls to purgeArtifacts.
|
com.google.api.gax.rpc.OperationCallSettings<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata> |
purgeContextsOperationSettings()
Returns the object with the settings used for calls to purgeContexts.
|
com.google.api.gax.rpc.UnaryCallSettings<PurgeContextsRequest,com.google.longrunning.Operation> |
purgeContextsSettings()
Returns the object with the settings used for calls to purgeContexts.
|
com.google.api.gax.rpc.OperationCallSettings<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata> |
purgeExecutionsOperationSettings()
Returns the object with the settings used for calls to purgeExecutions.
|
com.google.api.gax.rpc.UnaryCallSettings<PurgeExecutionsRequest,com.google.longrunning.Operation> |
purgeExecutionsSettings()
Returns the object with the settings used for calls to purgeExecutions.
|
com.google.api.gax.rpc.UnaryCallSettings<QueryArtifactLineageSubgraphRequest,LineageSubgraph> |
queryArtifactLineageSubgraphSettings()
Returns the object with the settings used for calls to queryArtifactLineageSubgraph.
|
com.google.api.gax.rpc.UnaryCallSettings<QueryContextLineageSubgraphRequest,LineageSubgraph> |
queryContextLineageSubgraphSettings()
Returns the object with the settings used for calls to queryContextLineageSubgraph.
|
com.google.api.gax.rpc.UnaryCallSettings<QueryExecutionInputsAndOutputsRequest,LineageSubgraph> |
queryExecutionInputsAndOutputsSettings()
Returns the object with the settings used for calls to queryExecutionInputsAndOutputs.
|
com.google.api.gax.rpc.UnaryCallSettings<RemoveContextChildrenRequest,RemoveContextChildrenResponse> |
removeContextChildrenSettings()
Returns the object with the settings used for calls to removeContextChildren.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
MetadataServiceSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateArtifactRequest,Artifact> |
updateArtifactSettings()
Returns the object with the settings used for calls to updateArtifact.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateContextRequest,Context> |
updateContextSettings()
Returns the object with the settings used for calls to updateContext.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateExecutionRequest,Execution> |
updateExecutionSettings()
Returns the object with the settings used for calls to updateExecution.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, toStringprotected MetadataServiceSettings(MetadataServiceSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<CreateMetadataStoreRequest,com.google.longrunning.Operation> createMetadataStoreSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata> createMetadataStoreOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetMetadataStoreRequest,MetadataStore> getMetadataStoreSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListMetadataStoresRequest,ListMetadataStoresResponse,MetadataServiceClient.ListMetadataStoresPagedResponse> listMetadataStoresSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteMetadataStoreRequest,com.google.longrunning.Operation> deleteMetadataStoreSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteMetadataStoreRequest,com.google.protobuf.Empty,DeleteMetadataStoreOperationMetadata> deleteMetadataStoreOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateArtifactRequest,Artifact> createArtifactSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetArtifactRequest,Artifact> getArtifactSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListArtifactsRequest,ListArtifactsResponse,MetadataServiceClient.ListArtifactsPagedResponse> listArtifactsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateArtifactRequest,Artifact> updateArtifactSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteArtifactRequest,com.google.longrunning.Operation> deleteArtifactSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteArtifactRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteArtifactOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<PurgeArtifactsRequest,com.google.longrunning.Operation> purgeArtifactsSettings()
public com.google.api.gax.rpc.OperationCallSettings<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata> purgeArtifactsOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateContextRequest,Context> createContextSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetContextRequest,Context> getContextSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListContextsRequest,ListContextsResponse,MetadataServiceClient.ListContextsPagedResponse> listContextsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateContextRequest,Context> updateContextSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteContextRequest,com.google.longrunning.Operation> deleteContextSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteContextRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteContextOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<PurgeContextsRequest,com.google.longrunning.Operation> purgeContextsSettings()
public com.google.api.gax.rpc.OperationCallSettings<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata> purgeContextsOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse> addContextArtifactsAndExecutionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<AddContextChildrenRequest,AddContextChildrenResponse> addContextChildrenSettings()
public com.google.api.gax.rpc.UnaryCallSettings<RemoveContextChildrenRequest,RemoveContextChildrenResponse> removeContextChildrenSettings()
public com.google.api.gax.rpc.UnaryCallSettings<QueryContextLineageSubgraphRequest,LineageSubgraph> queryContextLineageSubgraphSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateExecutionRequest,Execution> createExecutionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetExecutionRequest,Execution> getExecutionSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListExecutionsRequest,ListExecutionsResponse,MetadataServiceClient.ListExecutionsPagedResponse> listExecutionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateExecutionRequest,Execution> updateExecutionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteExecutionRequest,com.google.longrunning.Operation> deleteExecutionSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteExecutionRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteExecutionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<PurgeExecutionsRequest,com.google.longrunning.Operation> purgeExecutionsSettings()
public com.google.api.gax.rpc.OperationCallSettings<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata> purgeExecutionsOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<AddExecutionEventsRequest,AddExecutionEventsResponse> addExecutionEventsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<QueryExecutionInputsAndOutputsRequest,LineageSubgraph> queryExecutionInputsAndOutputsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateMetadataSchemaRequest,MetadataSchema> createMetadataSchemaSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetMetadataSchemaRequest,MetadataSchema> getMetadataSchemaSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListMetadataSchemasRequest,ListMetadataSchemasResponse,MetadataServiceClient.ListMetadataSchemasPagedResponse> listMetadataSchemasSettings()
public com.google.api.gax.rpc.UnaryCallSettings<QueryArtifactLineageSubgraphRequest,LineageSubgraph> queryArtifactLineageSubgraphSettings()
public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,MetadataServiceClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public static final MetadataServiceSettings create(MetadataServiceStubSettings stub) throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static MetadataServiceSettings.Builder newBuilder()
public static MetadataServiceSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public MetadataServiceSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<MetadataServiceSettings>Copyright © 2024 Google LLC. All rights reserved.