Class FeedsServiceSettings.Builder (0.37.0)

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

Builder for FeedsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FeedsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(FeedsServiceSettings settings)

protected Builder(FeedsServiceSettings settings)
Parameter
Name Description
settings FeedsServiceSettings

Builder(FeedsServiceStubSettings.Builder stubSettings)

protected Builder(FeedsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings FeedsServiceStubSettings.Builder

Methods

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

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

build()

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

createFeedSettings()

public UnaryCallSettings.Builder<CreateFeedRequest,Feed> createFeedSettings()

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

Returns
Type Description
Builder<CreateFeedRequest,Feed>

deleteFeedSettings()

public UnaryCallSettings.Builder<DeleteFeedRequest,Empty> deleteFeedSettings()

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

Returns
Type Description
Builder<DeleteFeedRequest,Empty>

disableFeedSettings()

public UnaryCallSettings.Builder<DisableFeedRequest,Feed> disableFeedSettings()

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

Returns
Type Description
Builder<DisableFeedRequest,Feed>

enableFeedSettings()

public UnaryCallSettings.Builder<EnableFeedRequest,Feed> enableFeedSettings()

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

Returns
Type Description
Builder<EnableFeedRequest,Feed>

fetchServiceAccountForCustomerSettings()

public UnaryCallSettings.Builder<FetchServiceAccountForCustomerRequest,FeedServiceAccount> fetchServiceAccountForCustomerSettings()

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

Returns
Type Description
Builder<FetchServiceAccountForCustomerRequest,FeedServiceAccount>

generateSecretSettings()

public UnaryCallSettings.Builder<GenerateSecretRequest,GenerateSecretResponse> generateSecretSettings()

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

Returns
Type Description
Builder<GenerateSecretRequest,GenerateSecretResponse>

getFeedPackSettings()

public UnaryCallSettings.Builder<GetFeedPackRequest,FeedPack> getFeedPackSettings()

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

Returns
Type Description
Builder<GetFeedPackRequest,FeedPack>

getFeedSettings()

public UnaryCallSettings.Builder<GetFeedRequest,Feed> getFeedSettings()

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

Returns
Type Description
Builder<GetFeedRequest,Feed>

getStubSettingsBuilder()

public FeedsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
FeedsServiceStubSettings.Builder

importPushLogsSettings()

public UnaryCallSettings.Builder<ImportPushLogsRequest,HttpBody> importPushLogsSettings()

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

Returns
Type Description
Builder<ImportPushLogsRequest,com.google.api.HttpBody>

listFeedPacksSettings()

public PagedCallSettings.Builder<ListFeedPacksRequest,ListFeedPacksResponse,FeedsServiceClient.ListFeedPacksPagedResponse> listFeedPacksSettings()

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

Returns
Type Description
Builder<ListFeedPacksRequest,ListFeedPacksResponse,ListFeedPacksPagedResponse>

listFeedSourceTypeSchemasSettings()

public PagedCallSettings.Builder<ListFeedSourceTypeSchemasRequest,ListFeedSourceTypeSchemasResponse,FeedsServiceClient.ListFeedSourceTypeSchemasPagedResponse> listFeedSourceTypeSchemasSettings()

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

Returns
Type Description
Builder<ListFeedSourceTypeSchemasRequest,ListFeedSourceTypeSchemasResponse,ListFeedSourceTypeSchemasPagedResponse>

listFeedsSettings()

public PagedCallSettings.Builder<ListFeedsRequest,ListFeedsResponse,FeedsServiceClient.ListFeedsPagedResponse> listFeedsSettings()

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

Returns
Type Description
Builder<ListFeedsRequest,ListFeedsResponse,ListFeedsPagedResponse>

listLogTypeSchemasSettings()

public PagedCallSettings.Builder<ListLogTypeSchemasRequest,ListLogTypeSchemasResponse,FeedsServiceClient.ListLogTypeSchemasPagedResponse> listLogTypeSchemasSettings()

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

Returns
Type Description
Builder<ListLogTypeSchemasRequest,ListLogTypeSchemasResponse,ListLogTypeSchemasPagedResponse>

updateFeedSettings()

public UnaryCallSettings.Builder<UpdateFeedRequest,Feed> updateFeedSettings()

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

Returns
Type Description
Builder<UpdateFeedRequest,Feed>