Class DatasetServiceSettings.Builder (3.25.0)

public static class DatasetServiceSettings.Builder extends ClientSettings.Builder<DatasetServiceSettings,DatasetServiceSettings.Builder>

Builder for DatasetServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DatasetServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DatasetServiceSettings settings)

protected Builder(DatasetServiceSettings settings)
Parameter
NameDescription
settingsDatasetServiceSettings

Builder(DatasetServiceStubSettings.Builder stubSettings)

protected Builder(DatasetServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDatasetServiceStubSettings.Builder

Methods

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

public DatasetServiceSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DatasetServiceSettings.Builder

build()

public DatasetServiceSettings build()
Returns
TypeDescription
DatasetServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createDatasetOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata>

createDatasetSettings()

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

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

Returns
TypeDescription
Builder<CreateDatasetRequest,Operation>

deleteDatasetOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteDatasetRequest,Empty,DeleteOperationMetadata>

deleteDatasetSettings()

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

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

Returns
TypeDescription
Builder<DeleteDatasetRequest,Operation>

deleteSavedQueryOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteSavedQueryRequest,Empty,DeleteOperationMetadata>

deleteSavedQuerySettings()

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

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

Returns
TypeDescription
Builder<DeleteSavedQueryRequest,Operation>

exportDataOperationSettings()

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

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

Returns
TypeDescription
Builder<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata>

exportDataSettings()

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

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

Returns
TypeDescription
Builder<ExportDataRequest,Operation>

getAnnotationSpecSettings()

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

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

Returns
TypeDescription
Builder<GetAnnotationSpecRequest,AnnotationSpec>

getDatasetSettings()

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

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

Returns
TypeDescription
Builder<GetDatasetRequest,Dataset>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public DatasetServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
DatasetServiceStubSettings.Builder

importDataOperationSettings()

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

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

Returns
TypeDescription
Builder<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata>

importDataSettings()

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

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

Returns
TypeDescription
Builder<ImportDataRequest,Operation>

listAnnotationsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListDataItemsRequest,ListDataItemsResponse,ListDataItemsPagedResponse>

listDatasetsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListSavedQueriesRequest,ListSavedQueriesResponse,ListSavedQueriesPagedResponse>

searchDataItemsSettings()

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

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

Returns
TypeDescription
Builder<SearchDataItemsRequest,SearchDataItemsResponse,SearchDataItemsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateDatasetSettings()

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

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

Returns
TypeDescription
Builder<UpdateDatasetRequest,Dataset>