Class PolicyBasedRoutingServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<PolicyBasedRoutingServiceSettings,PolicyBasedRoutingServiceSettings.Builder>
com.google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingServiceSettings.Builder
- Enclosing class:
- PolicyBasedRoutingServiceSettings
public static class PolicyBasedRoutingServiceSettings.Builder
extends ClientSettings.Builder<PolicyBasedRoutingServiceSettings,PolicyBasedRoutingServiceSettings.Builder>
Builder for PolicyBasedRoutingServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(PolicyBasedRoutingServiceSettings settings) protectedBuilder(PolicyBasedRoutingServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createPolicyBasedRoute.Returns the builder for the settings used for calls to createPolicyBasedRoute.OperationCallSettings.Builder<DeletePolicyBasedRouteRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deletePolicyBasedRoute.Returns the builder for the settings used for calls to deletePolicyBasedRoute.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getPolicyBasedRoute.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, PolicyBasedRoutingServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListPolicyBasedRoutesRequest,ListPolicyBasedRoutesResponse, PolicyBasedRoutingServiceClient.ListPolicyBasedRoutesPagedResponse> Returns the builder for the settings used for calls to listPolicyBasedRoutes.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public PolicyBasedRoutingServiceSettings.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.
-
listPolicyBasedRoutesSettings
public PagedCallSettings.Builder<ListPolicyBasedRoutesRequest,ListPolicyBasedRoutesResponse, listPolicyBasedRoutesSettings()PolicyBasedRoutingServiceClient.ListPolicyBasedRoutesPagedResponse> Returns the builder for the settings used for calls to listPolicyBasedRoutes. -
getPolicyBasedRouteSettings
public UnaryCallSettings.Builder<GetPolicyBasedRouteRequest,PolicyBasedRoute> getPolicyBasedRouteSettings()Returns the builder for the settings used for calls to getPolicyBasedRoute. -
createPolicyBasedRouteSettings
public UnaryCallSettings.Builder<CreatePolicyBasedRouteRequest,Operation> createPolicyBasedRouteSettings()Returns the builder for the settings used for calls to createPolicyBasedRoute. -
createPolicyBasedRouteOperationSettings
public OperationCallSettings.Builder<CreatePolicyBasedRouteRequest,PolicyBasedRoute, createPolicyBasedRouteOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createPolicyBasedRoute. -
deletePolicyBasedRouteSettings
public UnaryCallSettings.Builder<DeletePolicyBasedRouteRequest,Operation> deletePolicyBasedRouteSettings()Returns the builder for the settings used for calls to deletePolicyBasedRoute. -
deletePolicyBasedRouteOperationSettings
public OperationCallSettings.Builder<DeletePolicyBasedRouteRequest,com.google.protobuf.Empty, deletePolicyBasedRouteOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deletePolicyBasedRoute. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()PolicyBasedRoutingServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<PolicyBasedRoutingServiceSettings,PolicyBasedRoutingServiceSettings.Builder> - Throws:
IOException
-