Class DnsThreatDetectorServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<DnsThreatDetectorServiceStubSettings,DnsThreatDetectorServiceStubSettings.Builder>
com.google.cloud.networksecurity.v1beta1.stub.DnsThreatDetectorServiceStubSettings.Builder
- Enclosing class:
- DnsThreatDetectorServiceStubSettings
public static class DnsThreatDetectorServiceStubSettings.Builder
extends StubSettings.Builder<DnsThreatDetectorServiceStubSettings,DnsThreatDetectorServiceStubSettings.Builder>
Builder for DnsThreatDetectorServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DnsThreatDetectorServiceStubSettings settings) -
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 createDnsThreatDetector.UnaryCallSettings.Builder<DeleteDnsThreatDetectorRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteDnsThreatDetector.Returns the builder for the settings used for calls to getDnsThreatDetector.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListDnsThreatDetectorsRequest,ListDnsThreatDetectorsResponse, DnsThreatDetectorServiceClient.ListDnsThreatDetectorsPagedResponse> Returns the builder for the settings used for calls to listDnsThreatDetectors.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, DnsThreatDetectorServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateDnsThreatDetector.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public DnsThreatDetectorServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listDnsThreatDetectorsSettings
public PagedCallSettings.Builder<ListDnsThreatDetectorsRequest,ListDnsThreatDetectorsResponse, listDnsThreatDetectorsSettings()DnsThreatDetectorServiceClient.ListDnsThreatDetectorsPagedResponse> Returns the builder for the settings used for calls to listDnsThreatDetectors. -
getDnsThreatDetectorSettings
public UnaryCallSettings.Builder<GetDnsThreatDetectorRequest,DnsThreatDetector> getDnsThreatDetectorSettings()Returns the builder for the settings used for calls to getDnsThreatDetector. -
createDnsThreatDetectorSettings
public UnaryCallSettings.Builder<CreateDnsThreatDetectorRequest,DnsThreatDetector> createDnsThreatDetectorSettings()Returns the builder for the settings used for calls to createDnsThreatDetector. -
updateDnsThreatDetectorSettings
public UnaryCallSettings.Builder<UpdateDnsThreatDetectorRequest,DnsThreatDetector> updateDnsThreatDetectorSettings()Returns the builder for the settings used for calls to updateDnsThreatDetector. -
deleteDnsThreatDetectorSettings
public UnaryCallSettings.Builder<DeleteDnsThreatDetectorRequest,com.google.protobuf.Empty> deleteDnsThreatDetectorSettings()Returns the builder for the settings used for calls to deleteDnsThreatDetector. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()DnsThreatDetectorServiceClient.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 classStubSettings.Builder<DnsThreatDetectorServiceStubSettings,DnsThreatDetectorServiceStubSettings.Builder> - Throws:
IOException
-