public static class QuotaServiceStubSettings.Builder extends StubSettings.Builder<QuotaServiceStubSettings,QuotaServiceStubSettings.Builder>
Builder for QuotaServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(QuotaServiceStubSettings settings)
protected Builder(QuotaServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | QuotaServiceStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public QuotaServiceStubSettings.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<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
QuotaServiceStubSettings.Builder |
build()
public QuotaServiceStubSettings build()
Returns | |
---|---|
Type | Description |
QuotaServiceStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Returns | |
---|---|
Type | Description |
String |
listQuotaGroupsSettings()
public PagedCallSettings.Builder<ListQuotaGroupsRequest,ListQuotaGroupsResponse,QuotaServiceClient.ListQuotaGroupsPagedResponse> listQuotaGroupsSettings()
Returns the builder for the settings used for calls to listQuotaGroups.
Returns | |
---|---|
Type | Description |
Builder<ListQuotaGroupsRequest,ListQuotaGroupsResponse,ListQuotaGroupsPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |