Package com.google.cloud.pubsublite.v1
Class AdminServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<AdminServiceSettings,AdminServiceSettings.Builder>
com.google.cloud.pubsublite.v1.AdminServiceSettings.Builder
- Enclosing class:
- AdminServiceSettings
public static class AdminServiceSettings.Builder
extends com.google.api.gax.rpc.ClientSettings.Builder<AdminServiceSettings,AdminServiceSettings.Builder>
Builder for AdminServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext) protectedBuilder(AdminServiceSettings settings) protectedBuilder(AdminServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(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.build()com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReservationRequest,Reservation> Returns the builder for the settings used for calls to createReservation.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSubscriptionRequest,Subscription> Returns the builder for the settings used for calls to createSubscription.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTopicRequest,Topic> Returns the builder for the settings used for calls to createTopic.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReservationRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteReservation.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSubscriptionRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteSubscription.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTopicRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteTopic.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReservationRequest,Reservation> Returns the builder for the settings used for calls to getReservation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> Returns the builder for the settings used for calls to getSubscription.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTopicPartitionsRequest,TopicPartitions> Returns the builder for the settings used for calls to getTopicPartitions.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTopicRequest,Topic> Returns the builder for the settings used for calls to getTopic.com.google.api.gax.rpc.PagedCallSettings.Builder<ListReservationsRequest,ListReservationsResponse, AdminServiceClient.ListReservationsPagedResponse> Returns the builder for the settings used for calls to listReservations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListReservationTopicsRequest,ListReservationTopicsResponse, AdminServiceClient.ListReservationTopicsPagedResponse> Returns the builder for the settings used for calls to listReservationTopics.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse, AdminServiceClient.ListSubscriptionsPagedResponse> Returns the builder for the settings used for calls to listSubscriptions.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTopicsRequest,ListTopicsResponse, AdminServiceClient.ListTopicsPagedResponse> Returns the builder for the settings used for calls to listTopics.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse, AdminServiceClient.ListTopicSubscriptionsPagedResponse> Returns the builder for the settings used for calls to listTopicSubscriptions.com.google.api.gax.rpc.OperationCallSettings.Builder<SeekSubscriptionRequest,SeekSubscriptionResponse, OperationMetadata> Returns the builder for the settings used for calls to seekSubscription.com.google.api.gax.rpc.UnaryCallSettings.Builder<SeekSubscriptionRequest,com.google.longrunning.Operation> Returns the builder for the settings used for calls to seekSubscription.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateReservationRequest,Reservation> Returns the builder for the settings used for calls to updateReservation.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSubscriptionRequest,Subscription> Returns the builder for the settings used for calls to updateSubscription.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTopicRequest,Topic> Returns the builder for the settings used for calls to updateTopic.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, setUniverseDomain, setWatchdogCheckInterval, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public AdminServiceSettings.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.
-
createTopicSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTopicRequest,Topic> createTopicSettings()Returns the builder for the settings used for calls to createTopic. -
getTopicSettings
Returns the builder for the settings used for calls to getTopic. -
getTopicPartitionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTopicPartitionsRequest,TopicPartitions> getTopicPartitionsSettings()Returns the builder for the settings used for calls to getTopicPartitions. -
listTopicsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTopicsRequest,ListTopicsResponse, listTopicsSettings()AdminServiceClient.ListTopicsPagedResponse> Returns the builder for the settings used for calls to listTopics. -
updateTopicSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTopicRequest,Topic> updateTopicSettings()Returns the builder for the settings used for calls to updateTopic. -
deleteTopicSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTopicRequest,com.google.protobuf.Empty> deleteTopicSettings()Returns the builder for the settings used for calls to deleteTopic. -
listTopicSubscriptionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse, listTopicSubscriptionsSettings()AdminServiceClient.ListTopicSubscriptionsPagedResponse> Returns the builder for the settings used for calls to listTopicSubscriptions. -
createSubscriptionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSubscriptionRequest,Subscription> createSubscriptionSettings()Returns the builder for the settings used for calls to createSubscription. -
getSubscriptionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> getSubscriptionSettings()Returns the builder for the settings used for calls to getSubscription. -
listSubscriptionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse, listSubscriptionsSettings()AdminServiceClient.ListSubscriptionsPagedResponse> Returns the builder for the settings used for calls to listSubscriptions. -
updateSubscriptionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSubscriptionRequest,Subscription> updateSubscriptionSettings()Returns the builder for the settings used for calls to updateSubscription. -
deleteSubscriptionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSubscriptionRequest,com.google.protobuf.Empty> deleteSubscriptionSettings()Returns the builder for the settings used for calls to deleteSubscription. -
seekSubscriptionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SeekSubscriptionRequest,com.google.longrunning.Operation> seekSubscriptionSettings()Returns the builder for the settings used for calls to seekSubscription. -
seekSubscriptionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SeekSubscriptionRequest,SeekSubscriptionResponse, seekSubscriptionOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to seekSubscription. -
createReservationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReservationRequest,Reservation> createReservationSettings()Returns the builder for the settings used for calls to createReservation. -
getReservationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReservationRequest,Reservation> getReservationSettings()Returns the builder for the settings used for calls to getReservation. -
listReservationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListReservationsRequest,ListReservationsResponse, listReservationsSettings()AdminServiceClient.ListReservationsPagedResponse> Returns the builder for the settings used for calls to listReservations. -
updateReservationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateReservationRequest,Reservation> updateReservationSettings()Returns the builder for the settings used for calls to updateReservation. -
deleteReservationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReservationRequest,com.google.protobuf.Empty> deleteReservationSettings()Returns the builder for the settings used for calls to deleteReservation. -
listReservationTopicsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListReservationTopicsRequest,ListReservationTopicsResponse, listReservationTopicsSettings()AdminServiceClient.ListReservationTopicsPagedResponse> Returns the builder for the settings used for calls to listReservationTopics. -
build
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<AdminServiceSettings,AdminServiceSettings.Builder> - Throws:
IOException
-