Class ConfigSettings.Builder (3.20.4)

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

Builder for ConfigSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ConfigSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConfigSettings settings)

protected Builder(ConfigSettings settings)
Parameter
Name Description
settings ConfigSettings

Builder(ConfigServiceV2StubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

copyLogEntriesOperationSettings()

public OperationCallSettings.Builder<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata> copyLogEntriesOperationSettings()

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

Returns
Type Description
Builder<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata>

copyLogEntriesSettings()

public UnaryCallSettings.Builder<CopyLogEntriesRequest,Operation> copyLogEntriesSettings()

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

Returns
Type Description
Builder<CopyLogEntriesRequest,Operation>

createBucketAsyncOperationSettings()

public OperationCallSettings.Builder<CreateBucketRequest,LogBucket,BucketMetadata> createBucketAsyncOperationSettings()

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

Returns
Type Description
Builder<CreateBucketRequest,LogBucket,BucketMetadata>

createBucketAsyncSettings()

public UnaryCallSettings.Builder<CreateBucketRequest,Operation> createBucketAsyncSettings()

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

Returns
Type Description
Builder<CreateBucketRequest,Operation>

createBucketSettings()

public UnaryCallSettings.Builder<CreateBucketRequest,LogBucket> createBucketSettings()

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

Returns
Type Description
Builder<CreateBucketRequest,LogBucket>

createExclusionSettings()

public UnaryCallSettings.Builder<CreateExclusionRequest,LogExclusion> createExclusionSettings()

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

Returns
Type Description
Builder<CreateExclusionRequest,LogExclusion>

createLinkOperationSettings()

public OperationCallSettings.Builder<CreateLinkRequest,Link,LinkMetadata> createLinkOperationSettings()

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

Returns
Type Description
Builder<CreateLinkRequest,Link,LinkMetadata>

createLinkSettings()

public UnaryCallSettings.Builder<CreateLinkRequest,Operation> createLinkSettings()

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

Returns
Type Description
Builder<CreateLinkRequest,Operation>

createSinkSettings()

public UnaryCallSettings.Builder<CreateSinkRequest,LogSink> createSinkSettings()

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

Returns
Type Description
Builder<CreateSinkRequest,LogSink>

createViewSettings()

public UnaryCallSettings.Builder<CreateViewRequest,LogView> createViewSettings()

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

Returns
Type Description
Builder<CreateViewRequest,LogView>

deleteBucketSettings()

public UnaryCallSettings.Builder<DeleteBucketRequest,Empty> deleteBucketSettings()

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

Returns
Type Description
Builder<DeleteBucketRequest,Empty>

deleteExclusionSettings()

public UnaryCallSettings.Builder<DeleteExclusionRequest,Empty> deleteExclusionSettings()

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

Returns
Type Description
Builder<DeleteExclusionRequest,Empty>

deleteLinkOperationSettings()

public OperationCallSettings.Builder<DeleteLinkRequest,Empty,LinkMetadata> deleteLinkOperationSettings()

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

Returns
Type Description
Builder<DeleteLinkRequest,Empty,LinkMetadata>

deleteLinkSettings()

public UnaryCallSettings.Builder<DeleteLinkRequest,Operation> deleteLinkSettings()

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

Returns
Type Description
Builder<DeleteLinkRequest,Operation>

deleteSinkSettings()

public UnaryCallSettings.Builder<DeleteSinkRequest,Empty> deleteSinkSettings()

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

Returns
Type Description
Builder<DeleteSinkRequest,Empty>

deleteViewSettings()

public UnaryCallSettings.Builder<DeleteViewRequest,Empty> deleteViewSettings()

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

Returns
Type Description
Builder<DeleteViewRequest,Empty>

getBucketSettings()

public UnaryCallSettings.Builder<GetBucketRequest,LogBucket> getBucketSettings()

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

Returns
Type Description
Builder<GetBucketRequest,LogBucket>

getCmekSettingsSettings()

public UnaryCallSettings.Builder<GetCmekSettingsRequest,CmekSettings> getCmekSettingsSettings()

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

Returns
Type Description
Builder<GetCmekSettingsRequest,CmekSettings>

getExclusionSettings()

public UnaryCallSettings.Builder<GetExclusionRequest,LogExclusion> getExclusionSettings()

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

Returns
Type Description
Builder<GetExclusionRequest,LogExclusion>

getLinkSettings()

public UnaryCallSettings.Builder<GetLinkRequest,Link> getLinkSettings()

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

Returns
Type Description
Builder<GetLinkRequest,Link>

getSettingsSettings()

public UnaryCallSettings.Builder<GetSettingsRequest,Settings> getSettingsSettings()

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

Returns
Type Description
Builder<GetSettingsRequest,Settings>

getSinkSettings()

public UnaryCallSettings.Builder<GetSinkRequest,LogSink> getSinkSettings()

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

Returns
Type Description
Builder<GetSinkRequest,LogSink>

getStubSettingsBuilder()

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

getViewSettings()

public UnaryCallSettings.Builder<GetViewRequest,LogView> getViewSettings()

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

Returns
Type Description
Builder<GetViewRequest,LogView>

listBucketsSettings()

public PagedCallSettings.Builder<ListBucketsRequest,ListBucketsResponse,ConfigClient.ListBucketsPagedResponse> listBucketsSettings()

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

Returns
Type Description
Builder<ListBucketsRequest,ListBucketsResponse,ListBucketsPagedResponse>

listExclusionsSettings()

public PagedCallSettings.Builder<ListExclusionsRequest,ListExclusionsResponse,ConfigClient.ListExclusionsPagedResponse> listExclusionsSettings()

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

Returns
Type Description
Builder<ListExclusionsRequest,ListExclusionsResponse,ListExclusionsPagedResponse>

listLinksSettings()

public PagedCallSettings.Builder<ListLinksRequest,ListLinksResponse,ConfigClient.ListLinksPagedResponse> listLinksSettings()

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

Returns
Type Description
Builder<ListLinksRequest,ListLinksResponse,ListLinksPagedResponse>

listSinksSettings()

public PagedCallSettings.Builder<ListSinksRequest,ListSinksResponse,ConfigClient.ListSinksPagedResponse> listSinksSettings()

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

Returns
Type Description
Builder<ListSinksRequest,ListSinksResponse,ListSinksPagedResponse>

listViewsSettings()

public PagedCallSettings.Builder<ListViewsRequest,ListViewsResponse,ConfigClient.ListViewsPagedResponse> listViewsSettings()

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

Returns
Type Description
Builder<ListViewsRequest,ListViewsResponse,ListViewsPagedResponse>

undeleteBucketSettings()

public UnaryCallSettings.Builder<UndeleteBucketRequest,Empty> undeleteBucketSettings()

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

Returns
Type Description
Builder<UndeleteBucketRequest,Empty>

updateBucketAsyncOperationSettings()

public OperationCallSettings.Builder<UpdateBucketRequest,LogBucket,BucketMetadata> updateBucketAsyncOperationSettings()

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

Returns
Type Description
Builder<UpdateBucketRequest,LogBucket,BucketMetadata>

updateBucketAsyncSettings()

public UnaryCallSettings.Builder<UpdateBucketRequest,Operation> updateBucketAsyncSettings()

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

Returns
Type Description
Builder<UpdateBucketRequest,Operation>

updateBucketSettings()

public UnaryCallSettings.Builder<UpdateBucketRequest,LogBucket> updateBucketSettings()

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

Returns
Type Description
Builder<UpdateBucketRequest,LogBucket>

updateCmekSettingsSettings()

public UnaryCallSettings.Builder<UpdateCmekSettingsRequest,CmekSettings> updateCmekSettingsSettings()

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

Returns
Type Description
Builder<UpdateCmekSettingsRequest,CmekSettings>

updateExclusionSettings()

public UnaryCallSettings.Builder<UpdateExclusionRequest,LogExclusion> updateExclusionSettings()

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

Returns
Type Description
Builder<UpdateExclusionRequest,LogExclusion>

updateSettingsSettings()

public UnaryCallSettings.Builder<UpdateSettingsRequest,Settings> updateSettingsSettings()

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

Returns
Type Description
Builder<UpdateSettingsRequest,Settings>

updateSinkSettings()

public UnaryCallSettings.Builder<UpdateSinkRequest,LogSink> updateSinkSettings()

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

Returns
Type Description
Builder<UpdateSinkRequest,LogSink>

updateViewSettings()

public UnaryCallSettings.Builder<UpdateViewRequest,LogView> updateViewSettings()

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

Returns
Type Description
Builder<UpdateViewRequest,LogView>