Class AdminServiceStubSettings.Builder (1.13.6)

public static class AdminServiceStubSettings.Builder extends StubSettings.Builder<AdminServiceStubSettings,AdminServiceStubSettings.Builder>

Builder for AdminServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AdminServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AdminServiceStubSettings settings)

protected Builder(AdminServiceStubSettings settings)
Parameter
Name Description
settings AdminServiceStubSettings

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,Void>
Returns
Type Description
AdminServiceStubSettings.Builder

build()

public AdminServiceStubSettings build()
Returns
Type Description
AdminServiceStubSettings
Overrides
Exceptions
Type Description
IOException

createReservationSettings()

public UnaryCallSettings.Builder<CreateReservationRequest,Reservation> createReservationSettings()

Returns the builder for the settings used for calls to createReservation.

Returns
Type Description
Builder<CreateReservationRequest,Reservation>

createSubscriptionSettings()

public UnaryCallSettings.Builder<CreateSubscriptionRequest,Subscription> createSubscriptionSettings()

Returns the builder for the settings used for calls to createSubscription.

Returns
Type Description
Builder<CreateSubscriptionRequest,Subscription>

createTopicSettings()

public UnaryCallSettings.Builder<CreateTopicRequest,Topic> createTopicSettings()

Returns the builder for the settings used for calls to createTopic.

Returns
Type Description
Builder<CreateTopicRequest,Topic>

deleteReservationSettings()

public UnaryCallSettings.Builder<DeleteReservationRequest,Empty> deleteReservationSettings()

Returns the builder for the settings used for calls to deleteReservation.

Returns
Type Description
Builder<DeleteReservationRequest,Empty>

deleteSubscriptionSettings()

public UnaryCallSettings.Builder<DeleteSubscriptionRequest,Empty> deleteSubscriptionSettings()

Returns the builder for the settings used for calls to deleteSubscription.

Returns
Type Description
Builder<DeleteSubscriptionRequest,Empty>

deleteTopicSettings()

public UnaryCallSettings.Builder<DeleteTopicRequest,Empty> deleteTopicSettings()

Returns the builder for the settings used for calls to deleteTopic.

Returns
Type Description
Builder<DeleteTopicRequest,Empty>

getReservationSettings()

public UnaryCallSettings.Builder<GetReservationRequest,Reservation> getReservationSettings()

Returns the builder for the settings used for calls to getReservation.

Returns
Type Description
Builder<GetReservationRequest,Reservation>

getSubscriptionSettings()

public UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> getSubscriptionSettings()

Returns the builder for the settings used for calls to getSubscription.

Returns
Type Description
Builder<GetSubscriptionRequest,Subscription>

getTopicPartitionsSettings()

public UnaryCallSettings.Builder<GetTopicPartitionsRequest,TopicPartitions> getTopicPartitionsSettings()

Returns the builder for the settings used for calls to getTopicPartitions.

Returns
Type Description
Builder<GetTopicPartitionsRequest,TopicPartitions>

getTopicSettings()

public UnaryCallSettings.Builder<GetTopicRequest,Topic> getTopicSettings()

Returns the builder for the settings used for calls to getTopic.

Returns
Type Description
Builder<GetTopicRequest,Topic>

listReservationTopicsSettings()

public PagedCallSettings.Builder<ListReservationTopicsRequest,ListReservationTopicsResponse,AdminServiceClient.ListReservationTopicsPagedResponse> listReservationTopicsSettings()

Returns the builder for the settings used for calls to listReservationTopics.

Returns
Type Description
Builder<ListReservationTopicsRequest,ListReservationTopicsResponse,ListReservationTopicsPagedResponse>

listReservationsSettings()

public PagedCallSettings.Builder<ListReservationsRequest,ListReservationsResponse,AdminServiceClient.ListReservationsPagedResponse> listReservationsSettings()

Returns the builder for the settings used for calls to listReservations.

Returns
Type Description
Builder<ListReservationsRequest,ListReservationsResponse,ListReservationsPagedResponse>

listSubscriptionsSettings()

public PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,AdminServiceClient.ListSubscriptionsPagedResponse> listSubscriptionsSettings()

Returns the builder for the settings used for calls to listSubscriptions.

Returns
Type Description
Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,ListSubscriptionsPagedResponse>

listTopicSubscriptionsSettings()

public PagedCallSettings.Builder<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse,AdminServiceClient.ListTopicSubscriptionsPagedResponse> listTopicSubscriptionsSettings()

Returns the builder for the settings used for calls to listTopicSubscriptions.

Returns
Type Description
Builder<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse,ListTopicSubscriptionsPagedResponse>

listTopicsSettings()

public PagedCallSettings.Builder<ListTopicsRequest,ListTopicsResponse,AdminServiceClient.ListTopicsPagedResponse> listTopicsSettings()

Returns the builder for the settings used for calls to listTopics.

Returns
Type Description
Builder<ListTopicsRequest,ListTopicsResponse,ListTopicsPagedResponse>

seekSubscriptionOperationSettings()

public OperationCallSettings.Builder<SeekSubscriptionRequest,SeekSubscriptionResponse,OperationMetadata> seekSubscriptionOperationSettings()

Returns the builder for the settings used for calls to seekSubscription.

Returns
Type Description
Builder<SeekSubscriptionRequest,SeekSubscriptionResponse,OperationMetadata>

seekSubscriptionSettings()

public UnaryCallSettings.Builder<SeekSubscriptionRequest,Operation> seekSubscriptionSettings()

Returns the builder for the settings used for calls to seekSubscription.

Returns
Type Description
Builder<SeekSubscriptionRequest,Operation>

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.

Returns
Type Description
Builder<UpdateReservationRequest,Reservation>

updateSubscriptionSettings()

public UnaryCallSettings.Builder<UpdateSubscriptionRequest,Subscription> updateSubscriptionSettings()

Returns the builder for the settings used for calls to updateSubscription.

Returns
Type Description
Builder<UpdateSubscriptionRequest,Subscription>

updateTopicSettings()

public UnaryCallSettings.Builder<UpdateTopicRequest,Topic> updateTopicSettings()

Returns the builder for the settings used for calls to updateTopic.

Returns
Type Description
Builder<UpdateTopicRequest,Topic>