public static class AdminServiceSettings.Builder extends ClientSettings.Builder<AdminServiceSettings,AdminServiceSettings.Builder>
Builder for AdminServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(AdminServiceSettings settings)
protected Builder(AdminServiceSettings settings)
Parameter
Builder(AdminServiceStubSettings.Builder stubSettings)
protected Builder(AdminServiceStubSettings.Builder stubSettings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AdminServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
Parameter
Returns
build()
public AdminServiceSettings build()
Returns
Overrides
Exceptions
createReservationSettings()
public UnaryCallSettings.Builder<CreateReservationRequest,Reservation> createReservationSettings()
Returns the builder for the settings used for calls to createReservation.
Returns
createSubscriptionSettings()
public UnaryCallSettings.Builder<CreateSubscriptionRequest,Subscription> createSubscriptionSettings()
Returns the builder for the settings used for calls to createSubscription.
Returns
createTopicSettings()
public UnaryCallSettings.Builder<CreateTopicRequest,Topic> createTopicSettings()
Returns the builder for the settings used for calls to createTopic.
Returns
deleteReservationSettings()
public UnaryCallSettings.Builder<DeleteReservationRequest,Empty> deleteReservationSettings()
Returns the builder for the settings used for calls to deleteReservation.
Returns
deleteSubscriptionSettings()
public UnaryCallSettings.Builder<DeleteSubscriptionRequest,Empty> deleteSubscriptionSettings()
Returns the builder for the settings used for calls to deleteSubscription.
Returns
deleteTopicSettings()
public UnaryCallSettings.Builder<DeleteTopicRequest,Empty> deleteTopicSettings()
Returns the builder for the settings used for calls to deleteTopic.
Returns
getReservationSettings()
public UnaryCallSettings.Builder<GetReservationRequest,Reservation> getReservationSettings()
Returns the builder for the settings used for calls to getReservation.
Returns
getStubSettingsBuilder()
public AdminServiceStubSettings.Builder getStubSettingsBuilder()
Returns
getSubscriptionSettings()
public UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> getSubscriptionSettings()
Returns the builder for the settings used for calls to getSubscription.
Returns
getTopicPartitionsSettings()
public UnaryCallSettings.Builder<GetTopicPartitionsRequest,TopicPartitions> getTopicPartitionsSettings()
Returns the builder for the settings used for calls to getTopicPartitions.
Returns
getTopicSettings()
public UnaryCallSettings.Builder<GetTopicRequest,Topic> getTopicSettings()
Returns the builder for the settings used for calls to getTopic.
Returns
listReservationTopicsSettings()
public PagedCallSettings.Builder<ListReservationTopicsRequest,ListReservationTopicsResponse,AdminServiceClient.ListReservationTopicsPagedResponse> listReservationTopicsSettings()
Returns the builder for the settings used for calls to listReservationTopics.
Returns
listReservationsSettings()
public PagedCallSettings.Builder<ListReservationsRequest,ListReservationsResponse,AdminServiceClient.ListReservationsPagedResponse> listReservationsSettings()
Returns the builder for the settings used for calls to listReservations.
Returns
listSubscriptionsSettings()
public PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,AdminServiceClient.ListSubscriptionsPagedResponse> listSubscriptionsSettings()
Returns the builder for the settings used for calls to listSubscriptions.
Returns
listTopicSubscriptionsSettings()
public PagedCallSettings.Builder<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse,AdminServiceClient.ListTopicSubscriptionsPagedResponse> listTopicSubscriptionsSettings()
Returns the builder for the settings used for calls to listTopicSubscriptions.
Returns
listTopicsSettings()
public PagedCallSettings.Builder<ListTopicsRequest,ListTopicsResponse,AdminServiceClient.ListTopicsPagedResponse> listTopicsSettings()
Returns the builder for the settings used for calls to listTopics.
Returns
seekSubscriptionOperationSettings()
public OperationCallSettings.Builder<SeekSubscriptionRequest,SeekSubscriptionResponse,OperationMetadata> seekSubscriptionOperationSettings()
Returns the builder for the settings used for calls to seekSubscription.
Returns
seekSubscriptionSettings()
public UnaryCallSettings.Builder<SeekSubscriptionRequest,Operation> seekSubscriptionSettings()
Returns the builder for the settings used for calls to seekSubscription.
Returns
updateReservationSettings()
public UnaryCallSettings.Builder<UpdateReservationRequest,Reservation> updateReservationSettings()
Returns the builder for the settings used for calls to updateReservation.
Returns
updateSubscriptionSettings()
public UnaryCallSettings.Builder<UpdateSubscriptionRequest,Subscription> updateSubscriptionSettings()
Returns the builder for the settings used for calls to updateSubscription.
Returns
updateTopicSettings()
public UnaryCallSettings.Builder<UpdateTopicRequest,Topic> updateTopicSettings()
Returns the builder for the settings used for calls to updateTopic.
Returns