Package com.google.cloud.support.v2
Class CommentServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<CommentServiceSettings,CommentServiceSettings.Builder>
-
- com.google.cloud.support.v2.CommentServiceSettings.Builder
-
- Enclosing class:
- CommentServiceSettings
public static class CommentServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<CommentServiceSettings,CommentServiceSettings.Builder>
Builder for CommentServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CommentServiceSettings settings)
protected
Builder(CommentServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentServiceSettings.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.CommentServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCommentRequest,Comment>
createCommentSettings()
Returns the builder for the settings used for calls to createComment.CommentServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListCommentsRequest,ListCommentsResponse,CommentServiceClient.ListCommentsPagedResponse>
listCommentsSettings()
Returns the builder for the settings used for calls to listComments.-
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(CommentServiceSettings settings)
-
Builder
protected Builder(CommentServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public CommentServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public CommentServiceSettings.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.
-
listCommentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCommentsRequest,ListCommentsResponse,CommentServiceClient.ListCommentsPagedResponse> listCommentsSettings()
Returns the builder for the settings used for calls to listComments.
-
createCommentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCommentRequest,Comment> createCommentSettings()
Returns the builder for the settings used for calls to createComment.
-
build
public CommentServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<CommentServiceSettings,CommentServiceSettings.Builder>
- Throws:
IOException
-
-