Class NetworkSecurityStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<NetworkSecurityStubSettings,NetworkSecurityStubSettings.Builder>
-
- com.google.cloud.networksecurity.v1beta1.stub.NetworkSecurityStubSettings.Builder
-
- Enclosing class:
- NetworkSecurityStubSettings
public static class NetworkSecurityStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<NetworkSecurityStubSettings,NetworkSecurityStubSettings.Builder>
Builder for NetworkSecurityStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(NetworkSecurityStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkSecurityStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.NetworkSecurityStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata>
createAuthorizationPolicyOperationSettings()
Returns the builder for the settings used for calls to createAuthorizationPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAuthorizationPolicyRequest,com.google.longrunning.Operation>
createAuthorizationPolicySettings()
Returns the builder for the settings used for calls to createAuthorizationPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata>
createClientTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to createClientTlsPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateClientTlsPolicyRequest,com.google.longrunning.Operation>
createClientTlsPolicySettings()
Returns the builder for the settings used for calls to createClientTlsPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata>
createServerTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to createServerTlsPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServerTlsPolicyRequest,com.google.longrunning.Operation>
createServerTlsPolicySettings()
Returns the builder for the settings used for calls to createServerTlsPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteAuthorizationPolicyRequest,com.google.protobuf.Empty,OperationMetadata>
deleteAuthorizationPolicyOperationSettings()
Returns the builder for the settings used for calls to deleteAuthorizationPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAuthorizationPolicyRequest,com.google.longrunning.Operation>
deleteAuthorizationPolicySettings()
Returns the builder for the settings used for calls to deleteAuthorizationPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteClientTlsPolicyRequest,com.google.protobuf.Empty,OperationMetadata>
deleteClientTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to deleteClientTlsPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteClientTlsPolicyRequest,com.google.longrunning.Operation>
deleteClientTlsPolicySettings()
Returns the builder for the settings used for calls to deleteClientTlsPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteServerTlsPolicyRequest,com.google.protobuf.Empty,OperationMetadata>
deleteServerTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to deleteServerTlsPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServerTlsPolicyRequest,com.google.longrunning.Operation>
deleteServerTlsPolicySettings()
Returns the builder for the settings used for calls to deleteServerTlsPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAuthorizationPolicyRequest,AuthorizationPolicy>
getAuthorizationPolicySettings()
Returns the builder for the settings used for calls to getAuthorizationPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetClientTlsPolicyRequest,ClientTlsPolicy>
getClientTlsPolicySettings()
Returns the builder for the settings used for calls to getClientTlsPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServerTlsPolicyRequest,ServerTlsPolicy>
getServerTlsPolicySettings()
Returns the builder for the settings used for calls to getServerTlsPolicy.com.google.api.gax.rpc.PagedCallSettings.Builder<ListAuthorizationPoliciesRequest,ListAuthorizationPoliciesResponse,NetworkSecurityClient.ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings()
Returns the builder for the settings used for calls to listAuthorizationPolicies.com.google.api.gax.rpc.PagedCallSettings.Builder<ListClientTlsPoliciesRequest,ListClientTlsPoliciesResponse,NetworkSecurityClient.ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings()
Returns the builder for the settings used for calls to listClientTlsPolicies.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,NetworkSecurityClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListServerTlsPoliciesRequest,ListServerTlsPoliciesResponse,NetworkSecurityClient.ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings()
Returns the builder for the settings used for calls to listServerTlsPolicies.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata>
updateAuthorizationPolicyOperationSettings()
Returns the builder for the settings used for calls to updateAuthorizationPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAuthorizationPolicyRequest,com.google.longrunning.Operation>
updateAuthorizationPolicySettings()
Returns the builder for the settings used for calls to updateAuthorizationPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata>
updateClientTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to updateClientTlsPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateClientTlsPolicyRequest,com.google.longrunning.Operation>
updateClientTlsPolicySettings()
Returns the builder for the settings used for calls to updateClientTlsPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata>
updateServerTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to updateServerTlsPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServerTlsPolicyRequest,com.google.longrunning.Operation>
updateServerTlsPolicySettings()
Returns the builder for the settings used for calls to updateServerTlsPolicy.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(NetworkSecurityStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public NetworkSecurityStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
listAuthorizationPoliciesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAuthorizationPoliciesRequest,ListAuthorizationPoliciesResponse,NetworkSecurityClient.ListAuthorizationPoliciesPagedResponse> listAuthorizationPoliciesSettings()
Returns the builder for the settings used for calls to listAuthorizationPolicies.
-
getAuthorizationPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAuthorizationPolicyRequest,AuthorizationPolicy> getAuthorizationPolicySettings()
Returns the builder for the settings used for calls to getAuthorizationPolicy.
-
createAuthorizationPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAuthorizationPolicyRequest,com.google.longrunning.Operation> createAuthorizationPolicySettings()
Returns the builder for the settings used for calls to createAuthorizationPolicy.
-
createAuthorizationPolicyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata> createAuthorizationPolicyOperationSettings()
Returns the builder for the settings used for calls to createAuthorizationPolicy.
-
updateAuthorizationPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAuthorizationPolicyRequest,com.google.longrunning.Operation> updateAuthorizationPolicySettings()
Returns the builder for the settings used for calls to updateAuthorizationPolicy.
-
updateAuthorizationPolicyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata> updateAuthorizationPolicyOperationSettings()
Returns the builder for the settings used for calls to updateAuthorizationPolicy.
-
deleteAuthorizationPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAuthorizationPolicyRequest,com.google.longrunning.Operation> deleteAuthorizationPolicySettings()
Returns the builder for the settings used for calls to deleteAuthorizationPolicy.
-
deleteAuthorizationPolicyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteAuthorizationPolicyRequest,com.google.protobuf.Empty,OperationMetadata> deleteAuthorizationPolicyOperationSettings()
Returns the builder for the settings used for calls to deleteAuthorizationPolicy.
-
listServerTlsPoliciesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServerTlsPoliciesRequest,ListServerTlsPoliciesResponse,NetworkSecurityClient.ListServerTlsPoliciesPagedResponse> listServerTlsPoliciesSettings()
Returns the builder for the settings used for calls to listServerTlsPolicies.
-
getServerTlsPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServerTlsPolicyRequest,ServerTlsPolicy> getServerTlsPolicySettings()
Returns the builder for the settings used for calls to getServerTlsPolicy.
-
createServerTlsPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServerTlsPolicyRequest,com.google.longrunning.Operation> createServerTlsPolicySettings()
Returns the builder for the settings used for calls to createServerTlsPolicy.
-
createServerTlsPolicyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata> createServerTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to createServerTlsPolicy.
-
updateServerTlsPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServerTlsPolicyRequest,com.google.longrunning.Operation> updateServerTlsPolicySettings()
Returns the builder for the settings used for calls to updateServerTlsPolicy.
-
updateServerTlsPolicyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata> updateServerTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to updateServerTlsPolicy.
-
deleteServerTlsPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServerTlsPolicyRequest,com.google.longrunning.Operation> deleteServerTlsPolicySettings()
Returns the builder for the settings used for calls to deleteServerTlsPolicy.
-
deleteServerTlsPolicyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteServerTlsPolicyRequest,com.google.protobuf.Empty,OperationMetadata> deleteServerTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to deleteServerTlsPolicy.
-
listClientTlsPoliciesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListClientTlsPoliciesRequest,ListClientTlsPoliciesResponse,NetworkSecurityClient.ListClientTlsPoliciesPagedResponse> listClientTlsPoliciesSettings()
Returns the builder for the settings used for calls to listClientTlsPolicies.
-
getClientTlsPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetClientTlsPolicyRequest,ClientTlsPolicy> getClientTlsPolicySettings()
Returns the builder for the settings used for calls to getClientTlsPolicy.
-
createClientTlsPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateClientTlsPolicyRequest,com.google.longrunning.Operation> createClientTlsPolicySettings()
Returns the builder for the settings used for calls to createClientTlsPolicy.
-
createClientTlsPolicyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata> createClientTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to createClientTlsPolicy.
-
updateClientTlsPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateClientTlsPolicyRequest,com.google.longrunning.Operation> updateClientTlsPolicySettings()
Returns the builder for the settings used for calls to updateClientTlsPolicy.
-
updateClientTlsPolicyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata> updateClientTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to updateClientTlsPolicy.
-
deleteClientTlsPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteClientTlsPolicyRequest,com.google.longrunning.Operation> deleteClientTlsPolicySettings()
Returns the builder for the settings used for calls to deleteClientTlsPolicy.
-
deleteClientTlsPolicyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteClientTlsPolicyRequest,com.google.protobuf.Empty,OperationMetadata> deleteClientTlsPolicyOperationSettings()
Returns the builder for the settings used for calls to deleteClientTlsPolicy.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,NetworkSecurityClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public NetworkSecurityStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<NetworkSecurityStubSettings,NetworkSecurityStubSettings.Builder>
- Throws:
IOException
-
-