public static class DatasetServiceStubSettings.Builder extends StubSettings.Builder<DatasetServiceStubSettings,DatasetServiceStubSettings.Builder>
Builder for DatasetServiceStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(DatasetServiceStubSettings settings)
Methods
public DatasetServiceStubSettings.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.
public DatasetServiceStubSettings build()
Overrides
public OperationCallSettings.Builder<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata> createDatasetOperationSettings()
Returns the builder for the settings used for calls to createDataset.
public UnaryCallSettings.Builder<CreateDatasetRequest,Operation> createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.
public OperationCallSettings.Builder<CreateDatasetVersionRequest,DatasetVersion,CreateDatasetVersionOperationMetadata> createDatasetVersionOperationSettings()
Returns the builder for the settings used for calls to createDatasetVersion.
public UnaryCallSettings.Builder<CreateDatasetVersionRequest,Operation> createDatasetVersionSettings()
Returns the builder for the settings used for calls to createDatasetVersion.
public OperationCallSettings.Builder<DeleteDatasetRequest,Empty,DeleteOperationMetadata> deleteDatasetOperationSettings()
Returns the builder for the settings used for calls to deleteDataset.
public UnaryCallSettings.Builder<DeleteDatasetRequest,Operation> deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
public OperationCallSettings.Builder<DeleteDatasetVersionRequest,Empty,DeleteOperationMetadata> deleteDatasetVersionOperationSettings()
Returns the builder for the settings used for calls to deleteDatasetVersion.
public UnaryCallSettings.Builder<DeleteDatasetVersionRequest,Operation> deleteDatasetVersionSettings()
Returns the builder for the settings used for calls to deleteDatasetVersion.
public OperationCallSettings.Builder<DeleteSavedQueryRequest,Empty,DeleteOperationMetadata> deleteSavedQueryOperationSettings()
Returns the builder for the settings used for calls to deleteSavedQuery.
public UnaryCallSettings.Builder<DeleteSavedQueryRequest,Operation> deleteSavedQuerySettings()
Returns the builder for the settings used for calls to deleteSavedQuery.
public OperationCallSettings.Builder<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata> exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.
public UnaryCallSettings.Builder<ExportDataRequest,Operation> exportDataSettings()
Returns the builder for the settings used for calls to exportData.
public UnaryCallSettings.Builder<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecSettings()
Returns the builder for the settings used for calls to getAnnotationSpec.
public UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
public UnaryCallSettings.Builder<GetDatasetVersionRequest,DatasetVersion> getDatasetVersionSettings()
Returns the builder for the settings used for calls to getDatasetVersion.
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Returns |
Type |
Description |
String |
|
Overrides
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> |
|
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> |
|
public OperationCallSettings.Builder<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata> importDataOperationSettings()
Returns the builder for the settings used for calls to importData.
public UnaryCallSettings.Builder<ImportDataRequest,Operation> importDataSettings()
Returns the builder for the settings used for calls to importData.
public PagedCallSettings.Builder<ListAnnotationsRequest,ListAnnotationsResponse,DatasetServiceClient.ListAnnotationsPagedResponse> listAnnotationsSettings()
Returns the builder for the settings used for calls to listAnnotations.
public PagedCallSettings.Builder<ListDataItemsRequest,ListDataItemsResponse,DatasetServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()
Returns the builder for the settings used for calls to listDataItems.
public PagedCallSettings.Builder<ListDatasetVersionsRequest,ListDatasetVersionsResponse,DatasetServiceClient.ListDatasetVersionsPagedResponse> listDatasetVersionsSettings()
Returns the builder for the settings used for calls to listDatasetVersions.
public PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,DatasetServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DatasetServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
public PagedCallSettings.Builder<ListSavedQueriesRequest,ListSavedQueriesResponse,DatasetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesSettings()
Returns the builder for the settings used for calls to listSavedQueries.
public OperationCallSettings.Builder<RestoreDatasetVersionRequest,DatasetVersion,RestoreDatasetVersionOperationMetadata> restoreDatasetVersionOperationSettings()
Returns the builder for the settings used for calls to restoreDatasetVersion.
public UnaryCallSettings.Builder<RestoreDatasetVersionRequest,Operation> restoreDatasetVersionSettings()
Returns the builder for the settings used for calls to restoreDatasetVersion.
public PagedCallSettings.Builder<SearchDataItemsRequest,SearchDataItemsResponse,DatasetServiceClient.SearchDataItemsPagedResponse> searchDataItemsSettings()
Returns the builder for the settings used for calls to searchDataItems.
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> |
|
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> |
|
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
public UnaryCallSettings.Builder<UpdateDatasetRequest,Dataset> updateDatasetSettings()
Returns the builder for the settings used for calls to updateDataset.