Package com.google.cloud.logging.v2
Class ConfigSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>
-
- com.google.cloud.logging.v2.ConfigSettings.Builder
-
- Enclosing class:
- ConfigSettings
public static class ConfigSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>
Builder for ConfigSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ConfigSettings settings)
protected
Builder(ConfigServiceV2StubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ConfigSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata>
copyLogEntriesOperationSettings()
Returns the builder for the settings used for calls to copyLogEntries.com.google.api.gax.rpc.UnaryCallSettings.Builder<CopyLogEntriesRequest,com.google.longrunning.Operation>
copyLogEntriesSettings()
Returns the builder for the settings used for calls to copyLogEntries.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBucketRequest,LogBucket,BucketMetadata>
createBucketAsyncOperationSettings()
Returns the builder for the settings used for calls to createBucketAsync.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBucketRequest,com.google.longrunning.Operation>
createBucketAsyncSettings()
Returns the builder for the settings used for calls to createBucketAsync.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBucketRequest,LogBucket>
createBucketSettings()
Returns the builder for the settings used for calls to createBucket.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateExclusionRequest,LogExclusion>
createExclusionSettings()
Returns the builder for the settings used for calls to createExclusion.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateLinkRequest,Link,LinkMetadata>
createLinkOperationSettings()
Returns the builder for the settings used for calls to createLink.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateLinkRequest,com.google.longrunning.Operation>
createLinkSettings()
Returns the builder for the settings used for calls to createLink.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSinkRequest,LogSink>
createSinkSettings()
Returns the builder for the settings used for calls to createSink.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateViewRequest,LogView>
createViewSettings()
Returns the builder for the settings used for calls to createView.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBucketRequest,com.google.protobuf.Empty>
deleteBucketSettings()
Returns the builder for the settings used for calls to deleteBucket.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteExclusionRequest,com.google.protobuf.Empty>
deleteExclusionSettings()
Returns the builder for the settings used for calls to deleteExclusion.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteLinkRequest,com.google.protobuf.Empty,LinkMetadata>
deleteLinkOperationSettings()
Returns the builder for the settings used for calls to deleteLink.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteLinkRequest,com.google.longrunning.Operation>
deleteLinkSettings()
Returns the builder for the settings used for calls to deleteLink.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSinkRequest,com.google.protobuf.Empty>
deleteSinkSettings()
Returns the builder for the settings used for calls to deleteSink.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteViewRequest,com.google.protobuf.Empty>
deleteViewSettings()
Returns the builder for the settings used for calls to deleteView.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBucketRequest,LogBucket>
getBucketSettings()
Returns the builder for the settings used for calls to getBucket.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCmekSettingsRequest,CmekSettings>
getCmekSettingsSettings()
Returns the builder for the settings used for calls to getCmekSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExclusionRequest,LogExclusion>
getExclusionSettings()
Returns the builder for the settings used for calls to getExclusion.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetLinkRequest,Link>
getLinkSettings()
Returns the builder for the settings used for calls to getLink.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSettingsRequest,Settings>
getSettingsSettings()
Returns the builder for the settings used for calls to getSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSinkRequest,LogSink>
getSinkSettings()
Returns the builder for the settings used for calls to getSink.ConfigServiceV2StubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetViewRequest,LogView>
getViewSettings()
Returns the builder for the settings used for calls to getView.com.google.api.gax.rpc.PagedCallSettings.Builder<ListBucketsRequest,ListBucketsResponse,ConfigClient.ListBucketsPagedResponse>
listBucketsSettings()
Returns the builder for the settings used for calls to listBuckets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListExclusionsRequest,ListExclusionsResponse,ConfigClient.ListExclusionsPagedResponse>
listExclusionsSettings()
Returns the builder for the settings used for calls to listExclusions.com.google.api.gax.rpc.PagedCallSettings.Builder<ListLinksRequest,ListLinksResponse,ConfigClient.ListLinksPagedResponse>
listLinksSettings()
Returns the builder for the settings used for calls to listLinks.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSinksRequest,ListSinksResponse,ConfigClient.ListSinksPagedResponse>
listSinksSettings()
Returns the builder for the settings used for calls to listSinks.com.google.api.gax.rpc.PagedCallSettings.Builder<ListViewsRequest,ListViewsResponse,ConfigClient.ListViewsPagedResponse>
listViewsSettings()
Returns the builder for the settings used for calls to listViews.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteBucketRequest,com.google.protobuf.Empty>
undeleteBucketSettings()
Returns the builder for the settings used for calls to undeleteBucket.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateBucketRequest,LogBucket,BucketMetadata>
updateBucketAsyncOperationSettings()
Returns the builder for the settings used for calls to updateBucketAsync.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBucketRequest,com.google.longrunning.Operation>
updateBucketAsyncSettings()
Returns the builder for the settings used for calls to updateBucketAsync.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBucketRequest,LogBucket>
updateBucketSettings()
Returns the builder for the settings used for calls to updateBucket.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCmekSettingsRequest,CmekSettings>
updateCmekSettingsSettings()
Returns the builder for the settings used for calls to updateCmekSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExclusionRequest,LogExclusion>
updateExclusionSettings()
Returns the builder for the settings used for calls to updateExclusion.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSettingsRequest,Settings>
updateSettingsSettings()
Returns the builder for the settings used for calls to updateSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSinkRequest,LogSink>
updateSinkSettings()
Returns the builder for the settings used for calls to updateSink.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateViewRequest,LogView>
updateViewSettings()
Returns the builder for the settings used for calls to updateView.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ConfigSettings settings)
-
Builder
protected Builder(ConfigServiceV2StubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ConfigServiceV2StubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ConfigSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
listBucketsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBucketsRequest,ListBucketsResponse,ConfigClient.ListBucketsPagedResponse> listBucketsSettings()
Returns the builder for the settings used for calls to listBuckets.
-
getBucketSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBucketRequest,LogBucket> getBucketSettings()
Returns the builder for the settings used for calls to getBucket.
-
createBucketAsyncSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBucketRequest,com.google.longrunning.Operation> createBucketAsyncSettings()
Returns the builder for the settings used for calls to createBucketAsync.
-
createBucketAsyncOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBucketRequest,LogBucket,BucketMetadata> createBucketAsyncOperationSettings()
Returns the builder for the settings used for calls to createBucketAsync.
-
updateBucketAsyncSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBucketRequest,com.google.longrunning.Operation> updateBucketAsyncSettings()
Returns the builder for the settings used for calls to updateBucketAsync.
-
updateBucketAsyncOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateBucketRequest,LogBucket,BucketMetadata> updateBucketAsyncOperationSettings()
Returns the builder for the settings used for calls to updateBucketAsync.
-
createBucketSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBucketRequest,LogBucket> createBucketSettings()
Returns the builder for the settings used for calls to createBucket.
-
updateBucketSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBucketRequest,LogBucket> updateBucketSettings()
Returns the builder for the settings used for calls to updateBucket.
-
deleteBucketSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBucketRequest,com.google.protobuf.Empty> deleteBucketSettings()
Returns the builder for the settings used for calls to deleteBucket.
-
undeleteBucketSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteBucketRequest,com.google.protobuf.Empty> undeleteBucketSettings()
Returns the builder for the settings used for calls to undeleteBucket.
-
listViewsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListViewsRequest,ListViewsResponse,ConfigClient.ListViewsPagedResponse> listViewsSettings()
Returns the builder for the settings used for calls to listViews.
-
getViewSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetViewRequest,LogView> getViewSettings()
Returns the builder for the settings used for calls to getView.
-
createViewSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateViewRequest,LogView> createViewSettings()
Returns the builder for the settings used for calls to createView.
-
updateViewSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateViewRequest,LogView> updateViewSettings()
Returns the builder for the settings used for calls to updateView.
-
deleteViewSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteViewRequest,com.google.protobuf.Empty> deleteViewSettings()
Returns the builder for the settings used for calls to deleteView.
-
listSinksSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSinksRequest,ListSinksResponse,ConfigClient.ListSinksPagedResponse> listSinksSettings()
Returns the builder for the settings used for calls to listSinks.
-
getSinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSinkRequest,LogSink> getSinkSettings()
Returns the builder for the settings used for calls to getSink.
-
createSinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSinkRequest,LogSink> createSinkSettings()
Returns the builder for the settings used for calls to createSink.
-
updateSinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSinkRequest,LogSink> updateSinkSettings()
Returns the builder for the settings used for calls to updateSink.
-
deleteSinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSinkRequest,com.google.protobuf.Empty> deleteSinkSettings()
Returns the builder for the settings used for calls to deleteSink.
-
createLinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateLinkRequest,com.google.longrunning.Operation> createLinkSettings()
Returns the builder for the settings used for calls to createLink.
-
createLinkOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateLinkRequest,Link,LinkMetadata> createLinkOperationSettings()
Returns the builder for the settings used for calls to createLink.
-
deleteLinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteLinkRequest,com.google.longrunning.Operation> deleteLinkSettings()
Returns the builder for the settings used for calls to deleteLink.
-
deleteLinkOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteLinkRequest,com.google.protobuf.Empty,LinkMetadata> deleteLinkOperationSettings()
Returns the builder for the settings used for calls to deleteLink.
-
listLinksSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListLinksRequest,ListLinksResponse,ConfigClient.ListLinksPagedResponse> listLinksSettings()
Returns the builder for the settings used for calls to listLinks.
-
getLinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetLinkRequest,Link> getLinkSettings()
Returns the builder for the settings used for calls to getLink.
-
listExclusionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListExclusionsRequest,ListExclusionsResponse,ConfigClient.ListExclusionsPagedResponse> listExclusionsSettings()
Returns the builder for the settings used for calls to listExclusions.
-
getExclusionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExclusionRequest,LogExclusion> getExclusionSettings()
Returns the builder for the settings used for calls to getExclusion.
-
createExclusionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateExclusionRequest,LogExclusion> createExclusionSettings()
Returns the builder for the settings used for calls to createExclusion.
-
updateExclusionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExclusionRequest,LogExclusion> updateExclusionSettings()
Returns the builder for the settings used for calls to updateExclusion.
-
deleteExclusionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteExclusionRequest,com.google.protobuf.Empty> deleteExclusionSettings()
Returns the builder for the settings used for calls to deleteExclusion.
-
getCmekSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCmekSettingsRequest,CmekSettings> getCmekSettingsSettings()
Returns the builder for the settings used for calls to getCmekSettings.
-
updateCmekSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCmekSettingsRequest,CmekSettings> updateCmekSettingsSettings()
Returns the builder for the settings used for calls to updateCmekSettings.
-
getSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSettingsRequest,Settings> getSettingsSettings()
Returns the builder for the settings used for calls to getSettings.
-
updateSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSettingsRequest,Settings> updateSettingsSettings()
Returns the builder for the settings used for calls to updateSettings.
-
copyLogEntriesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CopyLogEntriesRequest,com.google.longrunning.Operation> copyLogEntriesSettings()
Returns the builder for the settings used for calls to copyLogEntries.
-
copyLogEntriesOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata> copyLogEntriesOperationSettings()
Returns the builder for the settings used for calls to copyLogEntries.
-
build
public ConfigSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>
- Throws:
IOException
-
-