- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public class MetadataServiceSettings extends ClientSettings<MetadataServiceSettings>
Settings class to configure an instance of MetadataServiceClient.
The default instance has everything set to sensible defaults:
- The default service address (aiplatform.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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:
MetadataServiceSettings.Builder metadataServiceSettingsBuilder =
MetadataServiceSettings.newBuilder();
metadataServiceSettingsBuilder
.getMetadataStoreSettings()
.setRetrySettings(
metadataServiceSettingsBuilder
.getMetadataStoreSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
MetadataServiceSettings metadataServiceSettings = metadataServiceSettingsBuilder.build();
Static Methods
create(MetadataServiceStubSettings stub)
public static final MetadataServiceSettings create(MetadataServiceStubSettings stub)
Name | Description |
stub | MetadataServiceStubSettings |
Type | Description |
MetadataServiceSettings |
Type | Description |
IOException |
defaultApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Type | Description |
Builder |
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Type | Description |
Builder |
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Type | Description |
Builder |
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
Type | Description |
Builder |
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Type | Description |
TransportChannelProvider |
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Type | Description |
String |
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Type | Description |
List<String> |
newBuilder()
public static MetadataServiceSettings.Builder newBuilder()
Returns a new builder for this class.
Type | Description |
MetadataServiceSettings.Builder |
newBuilder(ClientContext clientContext)
public static MetadataServiceSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Name | Description |
clientContext | ClientContext |
Type | Description |
MetadataServiceSettings.Builder |
Constructors
MetadataServiceSettings(MetadataServiceSettings.Builder settingsBuilder)
protected MetadataServiceSettings(MetadataServiceSettings.Builder settingsBuilder)
Name | Description |
settingsBuilder | MetadataServiceSettings.Builder |
Methods
addContextArtifactsAndExecutionsSettings()
public UnaryCallSettings<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse> addContextArtifactsAndExecutionsSettings()
Returns the object with the settings used for calls to addContextArtifactsAndExecutions.
Type | Description |
UnaryCallSettings<AddContextArtifactsAndExecutionsRequest,AddContextArtifactsAndExecutionsResponse> |
addContextChildrenSettings()
public UnaryCallSettings<AddContextChildrenRequest,AddContextChildrenResponse> addContextChildrenSettings()
Returns the object with the settings used for calls to addContextChildren.
Type | Description |
UnaryCallSettings<AddContextChildrenRequest,AddContextChildrenResponse> |
addExecutionEventsSettings()
public UnaryCallSettings<AddExecutionEventsRequest,AddExecutionEventsResponse> addExecutionEventsSettings()
Returns the object with the settings used for calls to addExecutionEvents.
Type | Description |
UnaryCallSettings<AddExecutionEventsRequest,AddExecutionEventsResponse> |
createArtifactSettings()
public UnaryCallSettings<CreateArtifactRequest,Artifact> createArtifactSettings()
Returns the object with the settings used for calls to createArtifact.
Type | Description |
UnaryCallSettings<CreateArtifactRequest,Artifact> |
createContextSettings()
public UnaryCallSettings<CreateContextRequest,Context> createContextSettings()
Returns the object with the settings used for calls to createContext.
Type | Description |
UnaryCallSettings<CreateContextRequest,Context> |
createExecutionSettings()
public UnaryCallSettings<CreateExecutionRequest,Execution> createExecutionSettings()
Returns the object with the settings used for calls to createExecution.
Type | Description |
UnaryCallSettings<CreateExecutionRequest,Execution> |
createMetadataSchemaSettings()
public UnaryCallSettings<CreateMetadataSchemaRequest,MetadataSchema> createMetadataSchemaSettings()
Returns the object with the settings used for calls to createMetadataSchema.
Type | Description |
UnaryCallSettings<CreateMetadataSchemaRequest,MetadataSchema> |
createMetadataStoreOperationSettings()
public OperationCallSettings<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata> createMetadataStoreOperationSettings()
Returns the object with the settings used for calls to createMetadataStore.
Type | Description |
OperationCallSettings<CreateMetadataStoreRequest,MetadataStore,CreateMetadataStoreOperationMetadata> |
createMetadataStoreSettings()
public UnaryCallSettings<CreateMetadataStoreRequest,Operation> createMetadataStoreSettings()
Returns the object with the settings used for calls to createMetadataStore.
Type | Description |
UnaryCallSettings<CreateMetadataStoreRequest,Operation> |
deleteArtifactOperationSettings()
public OperationCallSettings<DeleteArtifactRequest,Empty,DeleteOperationMetadata> deleteArtifactOperationSettings()
Returns the object with the settings used for calls to deleteArtifact.
Type | Description |
OperationCallSettings<DeleteArtifactRequest,Empty,DeleteOperationMetadata> |
deleteArtifactSettings()
public UnaryCallSettings<DeleteArtifactRequest,Operation> deleteArtifactSettings()
Returns the object with the settings used for calls to deleteArtifact.
Type | Description |
UnaryCallSettings<DeleteArtifactRequest,Operation> |
deleteContextOperationSettings()
public OperationCallSettings<DeleteContextRequest,Empty,DeleteOperationMetadata> deleteContextOperationSettings()
Returns the object with the settings used for calls to deleteContext.
Type | Description |
OperationCallSettings<DeleteContextRequest,Empty,DeleteOperationMetadata> |
deleteContextSettings()
public UnaryCallSettings<DeleteContextRequest,Operation> deleteContextSettings()
Returns the object with the settings used for calls to deleteContext.
Type | Description |
UnaryCallSettings<DeleteContextRequest,Operation> |
deleteExecutionOperationSettings()
public OperationCallSettings<DeleteExecutionRequest,Empty,DeleteOperationMetadata> deleteExecutionOperationSettings()
Returns the object with the settings used for calls to deleteExecution.
Type | Description |
OperationCallSettings<DeleteExecutionRequest,Empty,DeleteOperationMetadata> |
deleteExecutionSettings()
public UnaryCallSettings<DeleteExecutionRequest,Operation> deleteExecutionSettings()
Returns the object with the settings used for calls to deleteExecution.
Type | Description |
UnaryCallSettings<DeleteExecutionRequest,Operation> |
deleteMetadataStoreOperationSettings()
public OperationCallSettings<DeleteMetadataStoreRequest,Empty,DeleteMetadataStoreOperationMetadata> deleteMetadataStoreOperationSettings()
Returns the object with the settings used for calls to deleteMetadataStore.
Type | Description |
OperationCallSettings<DeleteMetadataStoreRequest,Empty,DeleteMetadataStoreOperationMetadata> |
deleteMetadataStoreSettings()
public UnaryCallSettings<DeleteMetadataStoreRequest,Operation> deleteMetadataStoreSettings()
Returns the object with the settings used for calls to deleteMetadataStore.
Type | Description |
UnaryCallSettings<DeleteMetadataStoreRequest,Operation> |
getArtifactSettings()
public UnaryCallSettings<GetArtifactRequest,Artifact> getArtifactSettings()
Returns the object with the settings used for calls to getArtifact.
Type | Description |
UnaryCallSettings<GetArtifactRequest,Artifact> |
getContextSettings()
public UnaryCallSettings<GetContextRequest,Context> getContextSettings()
Returns the object with the settings used for calls to getContext.
Type | Description |
UnaryCallSettings<GetContextRequest,Context> |
getExecutionSettings()
public UnaryCallSettings<GetExecutionRequest,Execution> getExecutionSettings()
Returns the object with the settings used for calls to getExecution.
Type | Description |
UnaryCallSettings<GetExecutionRequest,Execution> |
getMetadataSchemaSettings()
public UnaryCallSettings<GetMetadataSchemaRequest,MetadataSchema> getMetadataSchemaSettings()
Returns the object with the settings used for calls to getMetadataSchema.
Type | Description |
UnaryCallSettings<GetMetadataSchemaRequest,MetadataSchema> |
getMetadataStoreSettings()
public UnaryCallSettings<GetMetadataStoreRequest,MetadataStore> getMetadataStoreSettings()
Returns the object with the settings used for calls to getMetadataStore.
Type | Description |
UnaryCallSettings<GetMetadataStoreRequest,MetadataStore> |
listArtifactsSettings()
public PagedCallSettings<ListArtifactsRequest,ListArtifactsResponse,MetadataServiceClient.ListArtifactsPagedResponse> listArtifactsSettings()
Returns the object with the settings used for calls to listArtifacts.
Type | Description |
PagedCallSettings<ListArtifactsRequest,ListArtifactsResponse,ListArtifactsPagedResponse> |
listContextsSettings()
public PagedCallSettings<ListContextsRequest,ListContextsResponse,MetadataServiceClient.ListContextsPagedResponse> listContextsSettings()
Returns the object with the settings used for calls to listContexts.
Type | Description |
PagedCallSettings<ListContextsRequest,ListContextsResponse,ListContextsPagedResponse> |
listExecutionsSettings()
public PagedCallSettings<ListExecutionsRequest,ListExecutionsResponse,MetadataServiceClient.ListExecutionsPagedResponse> listExecutionsSettings()
Returns the object with the settings used for calls to listExecutions.
Type | Description |
PagedCallSettings<ListExecutionsRequest,ListExecutionsResponse,ListExecutionsPagedResponse> |
listMetadataSchemasSettings()
public PagedCallSettings<ListMetadataSchemasRequest,ListMetadataSchemasResponse,MetadataServiceClient.ListMetadataSchemasPagedResponse> listMetadataSchemasSettings()
Returns the object with the settings used for calls to listMetadataSchemas.
Type | Description |
PagedCallSettings<ListMetadataSchemasRequest,ListMetadataSchemasResponse,ListMetadataSchemasPagedResponse> |
listMetadataStoresSettings()
public PagedCallSettings<ListMetadataStoresRequest,ListMetadataStoresResponse,MetadataServiceClient.ListMetadataStoresPagedResponse> listMetadataStoresSettings()
Returns the object with the settings used for calls to listMetadataStores.
Type | Description |
PagedCallSettings<ListMetadataStoresRequest,ListMetadataStoresResponse,ListMetadataStoresPagedResponse> |
purgeArtifactsOperationSettings()
public OperationCallSettings<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata> purgeArtifactsOperationSettings()
Returns the object with the settings used for calls to purgeArtifacts.
Type | Description |
OperationCallSettings<PurgeArtifactsRequest,PurgeArtifactsResponse,PurgeArtifactsMetadata> |
purgeArtifactsSettings()
public UnaryCallSettings<PurgeArtifactsRequest,Operation> purgeArtifactsSettings()
Returns the object with the settings used for calls to purgeArtifacts.
Type | Description |
UnaryCallSettings<PurgeArtifactsRequest,Operation> |
purgeContextsOperationSettings()
public OperationCallSettings<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata> purgeContextsOperationSettings()
Returns the object with the settings used for calls to purgeContexts.
Type | Description |
OperationCallSettings<PurgeContextsRequest,PurgeContextsResponse,PurgeContextsMetadata> |
purgeContextsSettings()
public UnaryCallSettings<PurgeContextsRequest,Operation> purgeContextsSettings()
Returns the object with the settings used for calls to purgeContexts.
Type | Description |
UnaryCallSettings<PurgeContextsRequest,Operation> |
purgeExecutionsOperationSettings()
public OperationCallSettings<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata> purgeExecutionsOperationSettings()
Returns the object with the settings used for calls to purgeExecutions.
Type | Description |
OperationCallSettings<PurgeExecutionsRequest,PurgeExecutionsResponse,PurgeExecutionsMetadata> |
purgeExecutionsSettings()
public UnaryCallSettings<PurgeExecutionsRequest,Operation> purgeExecutionsSettings()
Returns the object with the settings used for calls to purgeExecutions.
Type | Description |
UnaryCallSettings<PurgeExecutionsRequest,Operation> |
queryArtifactLineageSubgraphSettings()
public UnaryCallSettings<QueryArtifactLineageSubgraphRequest,LineageSubgraph> queryArtifactLineageSubgraphSettings()
Returns the object with the settings used for calls to queryArtifactLineageSubgraph.
Type | Description |
UnaryCallSettings<QueryArtifactLineageSubgraphRequest,LineageSubgraph> |
queryContextLineageSubgraphSettings()
public UnaryCallSettings<QueryContextLineageSubgraphRequest,LineageSubgraph> queryContextLineageSubgraphSettings()
Returns the object with the settings used for calls to queryContextLineageSubgraph.
Type | Description |
UnaryCallSettings<QueryContextLineageSubgraphRequest,LineageSubgraph> |
queryExecutionInputsAndOutputsSettings()
public UnaryCallSettings<QueryExecutionInputsAndOutputsRequest,LineageSubgraph> queryExecutionInputsAndOutputsSettings()
Returns the object with the settings used for calls to queryExecutionInputsAndOutputs.
Type | Description |
UnaryCallSettings<QueryExecutionInputsAndOutputsRequest,LineageSubgraph> |
toBuilder()
public MetadataServiceSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Type | Description |
MetadataServiceSettings.Builder |
updateArtifactSettings()
public UnaryCallSettings<UpdateArtifactRequest,Artifact> updateArtifactSettings()
Returns the object with the settings used for calls to updateArtifact.
Type | Description |
UnaryCallSettings<UpdateArtifactRequest,Artifact> |
updateContextSettings()
public UnaryCallSettings<UpdateContextRequest,Context> updateContextSettings()
Returns the object with the settings used for calls to updateContext.
Type | Description |
UnaryCallSettings<UpdateContextRequest,Context> |
updateExecutionSettings()
public UnaryCallSettings<UpdateExecutionRequest,Execution> updateExecutionSettings()
Returns the object with the settings used for calls to updateExecution.
Type | Description |
UnaryCallSettings<UpdateExecutionRequest,Execution> |