Class DatasetServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<DatasetServiceStubSettings,DatasetServiceStubSettings.Builder>
-
- com.google.cloud.aiplatform.v1beta1.stub.DatasetServiceStubSettings.Builder
-
- Enclosing class:
- DatasetServiceStubSettings
public static class DatasetServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<DatasetServiceStubSettings,DatasetServiceStubSettings.Builder>
Builder for DatasetServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DatasetServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetServiceStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.DatasetServiceStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata>
createDatasetOperationSettings()
Returns the builder for the settings used for calls to createDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatasetRequest,com.google.longrunning.Operation>
createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDatasetRequest,com.google.protobuf.Empty,DeleteOperationMetadata>
deleteDatasetOperationSettings()
Returns the builder for the settings used for calls to deleteDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatasetRequest,com.google.longrunning.Operation>
deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteSavedQueryRequest,com.google.protobuf.Empty,DeleteOperationMetadata>
deleteSavedQueryOperationSettings()
Returns the builder for the settings used for calls to deleteSavedQuery.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSavedQueryRequest,com.google.longrunning.Operation>
deleteSavedQuerySettings()
Returns the builder for the settings used for calls to deleteSavedQuery.com.google.api.gax.rpc.OperationCallSettings.Builder<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata>
exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDataRequest,com.google.longrunning.Operation>
exportDataSettings()
Returns the builder for the settings used for calls to exportData.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAnnotationSpecRequest,AnnotationSpec>
getAnnotationSpecSettings()
Returns the builder for the settings used for calls to getAnnotationSpec.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatasetRequest,Dataset>
getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata>
importDataOperationSettings()
Returns the builder for the settings used for calls to importData.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportDataRequest,com.google.longrunning.Operation>
importDataSettings()
Returns the builder for the settings used for calls to importData.com.google.api.gax.rpc.PagedCallSettings.Builder<ListAnnotationsRequest,ListAnnotationsResponse,DatasetServiceClient.ListAnnotationsPagedResponse>
listAnnotationsSettings()
Returns the builder for the settings used for calls to listAnnotations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataItemsRequest,ListDataItemsResponse,DatasetServiceClient.ListDataItemsPagedResponse>
listDataItemsSettings()
Returns the builder for the settings used for calls to listDataItems.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,DatasetServiceClient.ListDatasetsPagedResponse>
listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DatasetServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSavedQueriesRequest,ListSavedQueriesResponse,DatasetServiceClient.ListSavedQueriesPagedResponse>
listSavedQueriesSettings()
Returns the builder for the settings used for calls to listSavedQueries.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchDataItemsRequest,SearchDataItemsResponse,DatasetServiceClient.SearchDataItemsPagedResponse>
searchDataItemsSettings()
Returns the builder for the settings used for calls to searchDataItems.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatasetRequest,Dataset>
updateDatasetSettings()
Returns the builder for the settings used for calls to updateDataset.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DatasetServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public DatasetServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatasetRequest,com.google.longrunning.Operation> createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.
-
createDatasetOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata> createDatasetOperationSettings()
Returns the builder for the settings used for calls to createDataset.
-
getDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
-
updateDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatasetRequest,Dataset> updateDatasetSettings()
Returns the builder for the settings used for calls to updateDataset.
-
listDatasetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,DatasetServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
-
deleteDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatasetRequest,com.google.longrunning.Operation> deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
-
deleteDatasetOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDatasetRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteDatasetOperationSettings()
Returns the builder for the settings used for calls to deleteDataset.
-
importDataSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportDataRequest,com.google.longrunning.Operation> importDataSettings()
Returns the builder for the settings used for calls to importData.
-
importDataOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata> importDataOperationSettings()
Returns the builder for the settings used for calls to importData.
-
exportDataSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDataRequest,com.google.longrunning.Operation> exportDataSettings()
Returns the builder for the settings used for calls to exportData.
-
exportDataOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata> exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.
-
listDataItemsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataItemsRequest,ListDataItemsResponse,DatasetServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()
Returns the builder for the settings used for calls to listDataItems.
-
searchDataItemsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchDataItemsRequest,SearchDataItemsResponse,DatasetServiceClient.SearchDataItemsPagedResponse> searchDataItemsSettings()
Returns the builder for the settings used for calls to searchDataItems.
-
listSavedQueriesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSavedQueriesRequest,ListSavedQueriesResponse,DatasetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesSettings()
Returns the builder for the settings used for calls to listSavedQueries.
-
deleteSavedQuerySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSavedQueryRequest,com.google.longrunning.Operation> deleteSavedQuerySettings()
Returns the builder for the settings used for calls to deleteSavedQuery.
-
deleteSavedQueryOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteSavedQueryRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteSavedQueryOperationSettings()
Returns the builder for the settings used for calls to deleteSavedQuery.
-
getAnnotationSpecSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecSettings()
Returns the builder for the settings used for calls to getAnnotationSpec.
-
listAnnotationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAnnotationsRequest,ListAnnotationsResponse,DatasetServiceClient.ListAnnotationsPagedResponse> listAnnotationsSettings()
Returns the builder for the settings used for calls to listAnnotations.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DatasetServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public DatasetServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<DatasetServiceStubSettings,DatasetServiceStubSettings.Builder>
- Throws:
IOException
-
-