public static class AdminServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<AdminServiceStubSettings,AdminServiceStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(AdminServiceStubSettings settings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
| Modifier and Type | Method and Description |
|---|---|
AdminServiceStubSettings.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.
|
AdminServiceStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSubscriptionRequest,Subscription> |
createSubscriptionSettings()
Returns the builder for the settings used for calls to createSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTopicRequest,Topic> |
createTopicSettings()
Returns the builder for the settings used for calls to createTopic.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSubscriptionRequest,com.google.protobuf.Empty> |
deleteSubscriptionSettings()
Returns the builder for the settings used for calls to deleteSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTopicRequest,com.google.protobuf.Empty> |
deleteTopicSettings()
Returns the builder for the settings used for calls to deleteTopic.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> |
getSubscriptionSettings()
Returns the builder for the settings used for calls to getSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTopicPartitionsRequest,TopicPartitions> |
getTopicPartitionsSettings()
Returns the builder for the settings used for calls to getTopicPartitions.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTopicRequest,Topic> |
getTopicSettings()
Returns the builder for the settings used for calls to getTopic.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,AdminServiceClient.ListSubscriptionsPagedResponse> |
listSubscriptionsSettings()
Returns the builder for the settings used for calls to listSubscriptions.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListTopicsRequest,ListTopicsResponse,AdminServiceClient.ListTopicsPagedResponse> |
listTopicsSettings()
Returns the builder for the settings used for calls to listTopics.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse,AdminServiceClient.ListTopicSubscriptionsPagedResponse> |
listTopicSubscriptionsSettings()
Returns the builder for the settings used for calls to listTopicSubscriptions.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSubscriptionRequest,Subscription> |
updateSubscriptionSettings()
Returns the builder for the settings used for calls to updateSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTopicRequest,Topic> |
updateTopicSettings()
Returns the builder for the settings used for calls to updateTopic.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(AdminServiceStubSettings settings)
public AdminServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exceptionpublic com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTopicRequest,Topic> createTopicSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTopicRequest,Topic> getTopicSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTopicPartitionsRequest,TopicPartitions> getTopicPartitionsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTopicsRequest,ListTopicsResponse,AdminServiceClient.ListTopicsPagedResponse> listTopicsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTopicRequest,Topic> updateTopicSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTopicRequest,com.google.protobuf.Empty> deleteTopicSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse,AdminServiceClient.ListTopicSubscriptionsPagedResponse> listTopicSubscriptionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSubscriptionRequest,Subscription> createSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> getSubscriptionSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,AdminServiceClient.ListSubscriptionsPagedResponse> listSubscriptionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSubscriptionRequest,Subscription> updateSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSubscriptionRequest,com.google.protobuf.Empty> deleteSubscriptionSettings()
public AdminServiceStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<AdminServiceStubSettings,AdminServiceStubSettings.Builder>IOExceptionCopyright © 2021 Google LLC. All rights reserved.