Class CloudChannelReportsServiceStubSettings.Builder (3.43.0)

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

Builder for CloudChannelReportsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CloudChannelReportsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CloudChannelReportsServiceStubSettings settings)

protected Builder(CloudChannelReportsServiceStubSettings settings)
Parameter
NameDescription
settingsCloudChannelReportsServiceStubSettings

Methods

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

public CloudChannelReportsServiceStubSettings.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
CloudChannelReportsServiceStubSettings.Builder

build()

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

fetchReportResultsSettings() (deprecated)

public PagedCallSettings.Builder<FetchReportResultsRequest,FetchReportResultsResponse,CloudChannelReportsServiceClient.FetchReportResultsPagedResponse> fetchReportResultsSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
TypeDescription
Builder<FetchReportResultsRequest,FetchReportResultsResponse,FetchReportResultsPagedResponse>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

listReportsSettings() (deprecated)

public PagedCallSettings.Builder<ListReportsRequest,ListReportsResponse,CloudChannelReportsServiceClient.ListReportsPagedResponse> listReportsSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
TypeDescription
Builder<ListReportsRequest,ListReportsResponse,ListReportsPagedResponse>

runReportJobOperationSettings()

public OperationCallSettings.Builder<RunReportJobRequest,RunReportJobResponse,OperationMetadata> runReportJobOperationSettings()

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

Returns
TypeDescription
Builder<RunReportJobRequest,RunReportJobResponse,OperationMetadata>

runReportJobSettings() (deprecated)

public UnaryCallSettings.Builder<RunReportJobRequest,Operation> runReportJobSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
TypeDescription
Builder<RunReportJobRequest,Operation>

unaryMethodSettingsBuilders()

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