public static class KeyDashboardServiceStubSettings.Builder extends StubSettings.Builder<KeyDashboardServiceStubSettings,KeyDashboardServiceStubSettings.Builder>
Builder for KeyDashboardServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(KeyDashboardServiceStubSettings settings)
protected Builder(KeyDashboardServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | KeyDashboardServiceStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public KeyDashboardServiceStubSettings.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 |
KeyDashboardServiceStubSettings.Builder |
build()
public KeyDashboardServiceStubSettings build()
Returns | |
---|---|
Type | Description |
KeyDashboardServiceStubSettings |
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 |
listCryptoKeysSettings()
public PagedCallSettings.Builder<ListCryptoKeysRequest,ListCryptoKeysResponse,KeyDashboardServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysSettings()
Returns the builder for the settings used for calls to listCryptoKeys.
Returns | |
---|---|
Type | Description |
Builder<ListCryptoKeysRequest,ListCryptoKeysResponse,ListCryptoKeysPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |