Class DatasetServiceStubSettings.Builder (3.49.0)

public static class DatasetServiceStubSettings.Builder extends StubSettings.Builder<DatasetServiceStubSettings,DatasetServiceStubSettings.Builder>

Builder for DatasetServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DatasetServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DatasetServiceStubSettings settings)

protected Builder(DatasetServiceStubSettings settings)
Parameter
Name Description
settings DatasetServiceStubSettings

Methods

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

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DatasetServiceStubSettings.Builder

build()

public DatasetServiceStubSettings build()
Returns
Type Description
DatasetServiceStubSettings
Overrides
Exceptions
Type Description
IOException

createDatasetOperationSettings()

public OperationCallSettings.Builder<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata> createDatasetOperationSettings()

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

Returns
Type Description
Builder<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata>

createDatasetSettings()

public UnaryCallSettings.Builder<CreateDatasetRequest,Operation> createDatasetSettings()

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

Returns
Type Description
Builder<CreateDatasetRequest,Operation>

createDatasetVersionOperationSettings()

public OperationCallSettings.Builder<CreateDatasetVersionRequest,DatasetVersion,CreateDatasetVersionOperationMetadata> createDatasetVersionOperationSettings()

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

Returns
Type Description
Builder<CreateDatasetVersionRequest,DatasetVersion,CreateDatasetVersionOperationMetadata>

createDatasetVersionSettings()

public UnaryCallSettings.Builder<CreateDatasetVersionRequest,Operation> createDatasetVersionSettings()

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

Returns
Type Description
Builder<CreateDatasetVersionRequest,Operation>

deleteDatasetOperationSettings()

public OperationCallSettings.Builder<DeleteDatasetRequest,Empty,DeleteOperationMetadata> deleteDatasetOperationSettings()

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

Returns
Type Description
Builder<DeleteDatasetRequest,Empty,DeleteOperationMetadata>

deleteDatasetSettings()

public UnaryCallSettings.Builder<DeleteDatasetRequest,Operation> deleteDatasetSettings()

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

Returns
Type Description
Builder<DeleteDatasetRequest,Operation>

deleteDatasetVersionOperationSettings()

public OperationCallSettings.Builder<DeleteDatasetVersionRequest,Empty,DeleteOperationMetadata> deleteDatasetVersionOperationSettings()

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

Returns
Type Description
Builder<DeleteDatasetVersionRequest,Empty,DeleteOperationMetadata>

deleteDatasetVersionSettings()

public UnaryCallSettings.Builder<DeleteDatasetVersionRequest,Operation> deleteDatasetVersionSettings()

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

Returns
Type Description
Builder<DeleteDatasetVersionRequest,Operation>

deleteSavedQueryOperationSettings()

public OperationCallSettings.Builder<DeleteSavedQueryRequest,Empty,DeleteOperationMetadata> deleteSavedQueryOperationSettings()

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

Returns
Type Description
Builder<DeleteSavedQueryRequest,Empty,DeleteOperationMetadata>

deleteSavedQuerySettings()

public UnaryCallSettings.Builder<DeleteSavedQueryRequest,Operation> deleteSavedQuerySettings()

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

Returns
Type Description
Builder<DeleteSavedQueryRequest,Operation>

exportDataOperationSettings()

public OperationCallSettings.Builder<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata> exportDataOperationSettings()

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

Returns
Type Description
Builder<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata>

exportDataSettings()

public UnaryCallSettings.Builder<ExportDataRequest,Operation> exportDataSettings()

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

Returns
Type Description
Builder<ExportDataRequest,Operation>

getAnnotationSpecSettings()

public UnaryCallSettings.Builder<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecSettings()

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

Returns
Type Description
Builder<GetAnnotationSpecRequest,AnnotationSpec>

getDatasetSettings()

public UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()

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

Returns
Type Description
Builder<GetDatasetRequest,Dataset>

getDatasetVersionSettings()

public UnaryCallSettings.Builder<GetDatasetVersionRequest,DatasetVersion> getDatasetVersionSettings()

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

Returns
Type Description
Builder<GetDatasetVersionRequest,DatasetVersion>

getIamPolicySettings()

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>

getLocationSettings()

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>

importDataOperationSettings()

public OperationCallSettings.Builder<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata> importDataOperationSettings()

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

Returns
Type Description
Builder<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata>

importDataSettings()

public UnaryCallSettings.Builder<ImportDataRequest,Operation> importDataSettings()

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

Returns
Type Description
Builder<ImportDataRequest,Operation>

listAnnotationsSettings()

public PagedCallSettings.Builder<ListAnnotationsRequest,ListAnnotationsResponse,DatasetServiceClient.ListAnnotationsPagedResponse> listAnnotationsSettings()

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

Returns
Type Description
Builder<ListAnnotationsRequest,ListAnnotationsResponse,ListAnnotationsPagedResponse>

listDataItemsSettings()

public PagedCallSettings.Builder<ListDataItemsRequest,ListDataItemsResponse,DatasetServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()

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

Returns
Type Description
Builder<ListDataItemsRequest,ListDataItemsResponse,ListDataItemsPagedResponse>

listDatasetVersionsSettings()

public PagedCallSettings.Builder<ListDatasetVersionsRequest,ListDatasetVersionsResponse,DatasetServiceClient.ListDatasetVersionsPagedResponse> listDatasetVersionsSettings()

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

Returns
Type Description
Builder<ListDatasetVersionsRequest,ListDatasetVersionsResponse,ListDatasetVersionsPagedResponse>

listDatasetsSettings()

public PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,DatasetServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()

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

Returns
Type Description
Builder<ListDatasetsRequest,ListDatasetsResponse,ListDatasetsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DatasetServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listSavedQueriesSettings()

public PagedCallSettings.Builder<ListSavedQueriesRequest,ListSavedQueriesResponse,DatasetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesSettings()

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

Returns
Type Description
Builder<ListSavedQueriesRequest,ListSavedQueriesResponse,ListSavedQueriesPagedResponse>

restoreDatasetVersionOperationSettings()

public OperationCallSettings.Builder<RestoreDatasetVersionRequest,DatasetVersion,RestoreDatasetVersionOperationMetadata> restoreDatasetVersionOperationSettings()

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

Returns
Type Description
Builder<RestoreDatasetVersionRequest,DatasetVersion,RestoreDatasetVersionOperationMetadata>

restoreDatasetVersionSettings()

public UnaryCallSettings.Builder<RestoreDatasetVersionRequest,Operation> restoreDatasetVersionSettings()

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

Returns
Type Description
Builder<RestoreDatasetVersionRequest,Operation>

searchDataItemsSettings()

public PagedCallSettings.Builder<SearchDataItemsRequest,SearchDataItemsResponse,DatasetServiceClient.SearchDataItemsPagedResponse> searchDataItemsSettings()

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

Returns
Type Description
Builder<SearchDataItemsRequest,SearchDataItemsResponse,SearchDataItemsPagedResponse>

setIamPolicySettings()

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>

testIamPermissionsSettings()

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateDatasetSettings()

public UnaryCallSettings.Builder<UpdateDatasetRequest,Dataset> updateDatasetSettings()

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

Returns
Type Description
Builder<UpdateDatasetRequest,Dataset>

updateDatasetVersionSettings()

public UnaryCallSettings.Builder<UpdateDatasetVersionRequest,DatasetVersion> updateDatasetVersionSettings()

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

Returns
Type Description
Builder<UpdateDatasetVersionRequest,DatasetVersion>