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