Package com.google.cloud.dataplex.v1
Class ContentServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ContentServiceSettings,ContentServiceSettings.Builder>
-
- com.google.cloud.dataplex.v1.ContentServiceSettings.Builder
-
- Enclosing class:
- ContentServiceSettings
public static class ContentServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ContentServiceSettings,ContentServiceSettings.Builder>
Builder for ContentServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ContentServiceSettings settings)
protected
Builder(ContentServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentServiceSettings.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.ContentServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateContentRequest,Content>
createContentSettings()
Returns the builder for the settings used for calls to createContent.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteContentRequest,com.google.protobuf.Empty>
deleteContentSettings()
Returns the builder for the settings used for calls to deleteContent.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetContentRequest,Content>
getContentSettings()
Returns the builder for the settings used for calls to getContent.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.ContentServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListContentRequest,ListContentResponse,ContentServiceClient.ListContentPagedResponse>
listContentSettings()
Returns the builder for the settings used for calls to listContent.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ContentServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateContentRequest,Content>
updateContentSettings()
Returns the builder for the settings used for calls to updateContent.-
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(ContentServiceSettings settings)
-
Builder
protected Builder(ContentServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ContentServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ContentServiceSettings.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.
-
createContentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateContentRequest,Content> createContentSettings()
Returns the builder for the settings used for calls to createContent.
-
updateContentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateContentRequest,Content> updateContentSettings()
Returns the builder for the settings used for calls to updateContent.
-
deleteContentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteContentRequest,com.google.protobuf.Empty> deleteContentSettings()
Returns the builder for the settings used for calls to deleteContent.
-
getContentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetContentRequest,Content> getContentSettings()
Returns the builder for the settings used for calls to getContent.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
listContentSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListContentRequest,ListContentResponse,ContentServiceClient.ListContentPagedResponse> listContentSettings()
Returns the builder for the settings used for calls to listContent.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ContentServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public ContentServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ContentServiceSettings,ContentServiceSettings.Builder>
- Throws:
IOException
-
-