public static class DatasetServiceStubSettings.Builder extends StubSettings.Builder<DatasetServiceStubSettings,DatasetServiceStubSettings.Builder>
Builder for DatasetServiceStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
protected Builder(DatasetServiceStubSettings settings)
Parameter
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.
Parameter
Returns
public DatasetServiceStubSettings build()
Returns
Overrides
Exceptions
public OperationCallSettings.Builder<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata> createDatasetOperationSettings()
Returns the builder for the settings used for calls to createDataset.
Returns
public UnaryCallSettings.Builder<CreateDatasetRequest,Operation> createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.
Returns
public OperationCallSettings.Builder<DeleteDatasetRequest,Empty,DeleteOperationMetadata> deleteDatasetOperationSettings()
Returns the builder for the settings used for calls to deleteDataset.
Returns
public UnaryCallSettings.Builder<DeleteDatasetRequest,Operation> deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
Returns
public OperationCallSettings.Builder<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata> exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.
Returns
public UnaryCallSettings.Builder<ExportDataRequest,Operation> exportDataSettings()
Returns the builder for the settings used for calls to exportData.
Returns
public UnaryCallSettings.Builder<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecSettings()
Returns the builder for the settings used for calls to getAnnotationSpec.
Returns
public UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
Returns
public OperationCallSettings.Builder<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata> importDataOperationSettings()
Returns the builder for the settings used for calls to importData.
Returns
public UnaryCallSettings.Builder<ImportDataRequest,Operation> importDataSettings()
Returns the builder for the settings used for calls to importData.
Returns
public PagedCallSettings.Builder<ListAnnotationsRequest,ListAnnotationsResponse,DatasetServiceClient.ListAnnotationsPagedResponse> listAnnotationsSettings()
Returns the builder for the settings used for calls to listAnnotations.
Returns
public PagedCallSettings.Builder<ListDataItemsRequest,ListDataItemsResponse,DatasetServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()
Returns the builder for the settings used for calls to listDataItems.
Returns
public PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,DatasetServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
Returns
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.
Returns