Class ConfigSettings.Builder (3.13.6)

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
NameDescription
clientContextClientContext

Builder(ConfigSettings settings)

protected Builder(ConfigSettings settings)
Parameter
NameDescription
settingsConfigSettings

Builder(ConfigServiceV2StubSettings.Builder stubSettings)

protected Builder(ConfigServiceV2StubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsConfigServiceV2StubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ConfigSettings.Builder

build()

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

copyLogEntriesOperationSettings()

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

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

Returns
TypeDescription
Builder<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata>

copyLogEntriesSettings()

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

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

Returns
TypeDescription
Builder<CopyLogEntriesRequest,Operation>

createBucketSettings()

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

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

Returns
TypeDescription
Builder<CreateBucketRequest,LogBucket>

createExclusionSettings()

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

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

Returns
TypeDescription
Builder<CreateExclusionRequest,LogExclusion>

createSinkSettings()

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

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

Returns
TypeDescription
Builder<CreateSinkRequest,LogSink>

createViewSettings()

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

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

Returns
TypeDescription
Builder<CreateViewRequest,LogView>

deleteBucketSettings()

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

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

Returns
TypeDescription
Builder<DeleteBucketRequest,Empty>

deleteExclusionSettings()

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

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

Returns
TypeDescription
Builder<DeleteExclusionRequest,Empty>

deleteSinkSettings()

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

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

Returns
TypeDescription
Builder<DeleteSinkRequest,Empty>

deleteViewSettings()

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

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

Returns
TypeDescription
Builder<DeleteViewRequest,Empty>

getBucketSettings()

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

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

Returns
TypeDescription
Builder<GetBucketRequest,LogBucket>

getCmekSettingsSettings()

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

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

Returns
TypeDescription
Builder<GetCmekSettingsRequest,CmekSettings>

getExclusionSettings()

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

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

Returns
TypeDescription
Builder<GetExclusionRequest,LogExclusion>

getSettingsSettings()

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

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

Returns
TypeDescription
Builder<GetSettingsRequest,Settings>

getSinkSettings()

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

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

Returns
TypeDescription
Builder<GetSinkRequest,LogSink>

getStubSettingsBuilder()

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

getViewSettings()

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

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

Returns
TypeDescription
Builder<GetViewRequest,LogView>

listBucketsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListExclusionsRequest,ListExclusionsResponse,ListExclusionsPagedResponse>

listSinksSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListViewsRequest,ListViewsResponse,ListViewsPagedResponse>

undeleteBucketSettings()

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

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

Returns
TypeDescription
Builder<UndeleteBucketRequest,Empty>

updateBucketSettings()

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

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

Returns
TypeDescription
Builder<UpdateBucketRequest,LogBucket>

updateCmekSettingsSettings()

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

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

Returns
TypeDescription
Builder<UpdateCmekSettingsRequest,CmekSettings>

updateExclusionSettings()

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

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

Returns
TypeDescription
Builder<UpdateExclusionRequest,LogExclusion>

updateSettingsSettings()

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

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

Returns
TypeDescription
Builder<UpdateSettingsRequest,Settings>

updateSinkSettings()

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

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

Returns
TypeDescription
Builder<UpdateSinkRequest,LogSink>

updateViewSettings()

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

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

Returns
TypeDescription
Builder<UpdateViewRequest,LogView>