@Generated(value="by gapic-generator-java") public class AdminServiceStubSettings extends com.google.api.gax.rpc.StubSettings<AdminServiceStubSettings>
AdminServiceStub.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of createTopic to 30 seconds:
AdminServiceStubSettings.Builder adminServiceSettingsBuilder =
AdminServiceStubSettings.newBuilder();
adminServiceSettingsBuilder
.createTopicSettings()
.setRetrySettings(
adminServiceSettingsBuilder
.createTopicSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AdminServiceStubSettings adminServiceSettings = adminServiceSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
AdminServiceStubSettings.Builder
Builder for AdminServiceStubSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AdminServiceStubSettings(AdminServiceStubSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallSettings<CreateReservationRequest,Reservation> |
createReservationSettings()
Returns the object with the settings used for calls to createReservation.
|
AdminServiceStub |
createStub() |
com.google.api.gax.rpc.UnaryCallSettings<CreateSubscriptionRequest,Subscription> |
createSubscriptionSettings()
Returns the object with the settings used for calls to createSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateTopicRequest,Topic> |
createTopicSettings()
Returns the object with the settings used for calls to createTopic.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeleteReservationRequest,com.google.protobuf.Empty> |
deleteReservationSettings()
Returns the object with the settings used for calls to deleteReservation.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteSubscriptionRequest,com.google.protobuf.Empty> |
deleteSubscriptionSettings()
Returns the object with the settings used for calls to deleteSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteTopicRequest,com.google.protobuf.Empty> |
deleteTopicSettings()
Returns the object with the settings used for calls to deleteTopic.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static String |
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetReservationRequest,Reservation> |
getReservationSettings()
Returns the object with the settings used for calls to getReservation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetSubscriptionRequest,Subscription> |
getSubscriptionSettings()
Returns the object with the settings used for calls to getSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings<GetTopicPartitionsRequest,TopicPartitions> |
getTopicPartitionsSettings()
Returns the object with the settings used for calls to getTopicPartitions.
|
com.google.api.gax.rpc.UnaryCallSettings<GetTopicRequest,Topic> |
getTopicSettings()
Returns the object with the settings used for calls to getTopic.
|
com.google.api.gax.rpc.PagedCallSettings<ListReservationsRequest,ListReservationsResponse,AdminServiceClient.ListReservationsPagedResponse> |
listReservationsSettings()
Returns the object with the settings used for calls to listReservations.
|
com.google.api.gax.rpc.PagedCallSettings<ListReservationTopicsRequest,ListReservationTopicsResponse,AdminServiceClient.ListReservationTopicsPagedResponse> |
listReservationTopicsSettings()
Returns the object with the settings used for calls to listReservationTopics.
|
com.google.api.gax.rpc.PagedCallSettings<ListSubscriptionsRequest,ListSubscriptionsResponse,AdminServiceClient.ListSubscriptionsPagedResponse> |
listSubscriptionsSettings()
Returns the object with the settings used for calls to listSubscriptions.
|
com.google.api.gax.rpc.PagedCallSettings<ListTopicsRequest,ListTopicsResponse,AdminServiceClient.ListTopicsPagedResponse> |
listTopicsSettings()
Returns the object with the settings used for calls to listTopics.
|
com.google.api.gax.rpc.PagedCallSettings<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse,AdminServiceClient.ListTopicSubscriptionsPagedResponse> |
listTopicSubscriptionsSettings()
Returns the object with the settings used for calls to listTopicSubscriptions.
|
static AdminServiceStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static AdminServiceStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.OperationCallSettings<SeekSubscriptionRequest,SeekSubscriptionResponse,OperationMetadata> |
seekSubscriptionOperationSettings()
Returns the object with the settings used for calls to seekSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings<SeekSubscriptionRequest,com.google.longrunning.Operation> |
seekSubscriptionSettings()
Returns the object with the settings used for calls to seekSubscription.
|
AdminServiceStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateReservationRequest,Reservation> |
updateReservationSettings()
Returns the object with the settings used for calls to updateReservation.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateSubscriptionRequest,Subscription> |
updateSubscriptionSettings()
Returns the object with the settings used for calls to updateSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateTopicRequest,Topic> |
updateTopicSettings()
Returns the object with the settings used for calls to updateTopic.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toStringprotected AdminServiceStubSettings(AdminServiceStubSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<CreateTopicRequest,Topic> createTopicSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetTopicRequest,Topic> getTopicSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetTopicPartitionsRequest,TopicPartitions> getTopicPartitionsSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListTopicsRequest,ListTopicsResponse,AdminServiceClient.ListTopicsPagedResponse> listTopicsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateTopicRequest,Topic> updateTopicSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteTopicRequest,com.google.protobuf.Empty> deleteTopicSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse,AdminServiceClient.ListTopicSubscriptionsPagedResponse> listTopicSubscriptionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateSubscriptionRequest,Subscription> createSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetSubscriptionRequest,Subscription> getSubscriptionSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListSubscriptionsRequest,ListSubscriptionsResponse,AdminServiceClient.ListSubscriptionsPagedResponse> listSubscriptionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateSubscriptionRequest,Subscription> updateSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteSubscriptionRequest,com.google.protobuf.Empty> deleteSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SeekSubscriptionRequest,com.google.longrunning.Operation> seekSubscriptionSettings()
public com.google.api.gax.rpc.OperationCallSettings<SeekSubscriptionRequest,SeekSubscriptionResponse,OperationMetadata> seekSubscriptionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateReservationRequest,Reservation> createReservationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetReservationRequest,Reservation> getReservationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListReservationsRequest,ListReservationsResponse,AdminServiceClient.ListReservationsPagedResponse> listReservationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateReservationRequest,Reservation> updateReservationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteReservationRequest,com.google.protobuf.Empty> deleteReservationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListReservationTopicsRequest,ListReservationTopicsResponse,AdminServiceClient.ListReservationTopicsPagedResponse> listReservationTopicsSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public AdminServiceStub createStub() throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static String getDefaultMtlsEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static AdminServiceStubSettings.Builder newBuilder()
public static AdminServiceStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public AdminServiceStubSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.StubSettings<AdminServiceStubSettings>Copyright © 2021 Google LLC. All rights reserved.