public static class NetworkServicesSettings.Builder extends ClientSettings.Builder<NetworkServicesSettings,NetworkServicesSettings.Builder>
Builder for NetworkServicesSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(NetworkServicesSettings settings)
protected Builder(NetworkServicesSettings settings)
Builder(NetworkServicesStubSettings.Builder stubSettings)
protected Builder(NetworkServicesStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public NetworkServicesSettings.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.
build()
public NetworkServicesSettings build()
Overrides
createEndpointPolicyOperationSettings()
public OperationCallSettings.Builder<CreateEndpointPolicyRequest,EndpointPolicy,OperationMetadata> createEndpointPolicyOperationSettings()
Returns the builder for the settings used for calls to createEndpointPolicy.
createEndpointPolicySettings()
public UnaryCallSettings.Builder<CreateEndpointPolicyRequest,Operation> createEndpointPolicySettings()
Returns the builder for the settings used for calls to createEndpointPolicy.
createGatewayOperationSettings()
public OperationCallSettings.Builder<CreateGatewayRequest,Gateway,OperationMetadata> createGatewayOperationSettings()
Returns the builder for the settings used for calls to createGateway.
createGatewaySettings()
public UnaryCallSettings.Builder<CreateGatewayRequest,Operation> createGatewaySettings()
Returns the builder for the settings used for calls to createGateway.
createGrpcRouteOperationSettings()
public OperationCallSettings.Builder<CreateGrpcRouteRequest,GrpcRoute,OperationMetadata> createGrpcRouteOperationSettings()
Returns the builder for the settings used for calls to createGrpcRoute.
createGrpcRouteSettings()
public UnaryCallSettings.Builder<CreateGrpcRouteRequest,Operation> createGrpcRouteSettings()
Returns the builder for the settings used for calls to createGrpcRoute.
createHttpRouteOperationSettings()
public OperationCallSettings.Builder<CreateHttpRouteRequest,HttpRoute,OperationMetadata> createHttpRouteOperationSettings()
Returns the builder for the settings used for calls to createHttpRoute.
createHttpRouteSettings()
public UnaryCallSettings.Builder<CreateHttpRouteRequest,Operation> createHttpRouteSettings()
Returns the builder for the settings used for calls to createHttpRoute.
createMeshOperationSettings()
public OperationCallSettings.Builder<CreateMeshRequest,Mesh,OperationMetadata> createMeshOperationSettings()
Returns the builder for the settings used for calls to createMesh.
createMeshSettings()
public UnaryCallSettings.Builder<CreateMeshRequest,Operation> createMeshSettings()
Returns the builder for the settings used for calls to createMesh.
createServiceBindingOperationSettings()
public OperationCallSettings.Builder<CreateServiceBindingRequest,ServiceBinding,OperationMetadata> createServiceBindingOperationSettings()
Returns the builder for the settings used for calls to createServiceBinding.
createServiceBindingSettings()
public UnaryCallSettings.Builder<CreateServiceBindingRequest,Operation> createServiceBindingSettings()
Returns the builder for the settings used for calls to createServiceBinding.
createTcpRouteOperationSettings()
public OperationCallSettings.Builder<CreateTcpRouteRequest,TcpRoute,OperationMetadata> createTcpRouteOperationSettings()
Returns the builder for the settings used for calls to createTcpRoute.
createTcpRouteSettings()
public UnaryCallSettings.Builder<CreateTcpRouteRequest,Operation> createTcpRouteSettings()
Returns the builder for the settings used for calls to createTcpRoute.
createTlsRouteOperationSettings()
public OperationCallSettings.Builder<CreateTlsRouteRequest,TlsRoute,OperationMetadata> createTlsRouteOperationSettings()
Returns the builder for the settings used for calls to createTlsRoute.
createTlsRouteSettings()
public UnaryCallSettings.Builder<CreateTlsRouteRequest,Operation> createTlsRouteSettings()
Returns the builder for the settings used for calls to createTlsRoute.
deleteEndpointPolicyOperationSettings()
public OperationCallSettings.Builder<DeleteEndpointPolicyRequest,Empty,OperationMetadata> deleteEndpointPolicyOperationSettings()
Returns the builder for the settings used for calls to deleteEndpointPolicy.
deleteEndpointPolicySettings()
public UnaryCallSettings.Builder<DeleteEndpointPolicyRequest,Operation> deleteEndpointPolicySettings()
Returns the builder for the settings used for calls to deleteEndpointPolicy.
deleteGatewayOperationSettings()
public OperationCallSettings.Builder<DeleteGatewayRequest,Empty,OperationMetadata> deleteGatewayOperationSettings()
Returns the builder for the settings used for calls to deleteGateway.
deleteGatewaySettings()
public UnaryCallSettings.Builder<DeleteGatewayRequest,Operation> deleteGatewaySettings()
Returns the builder for the settings used for calls to deleteGateway.
deleteGrpcRouteOperationSettings()
public OperationCallSettings.Builder<DeleteGrpcRouteRequest,Empty,OperationMetadata> deleteGrpcRouteOperationSettings()
Returns the builder for the settings used for calls to deleteGrpcRoute.
deleteGrpcRouteSettings()
public UnaryCallSettings.Builder<DeleteGrpcRouteRequest,Operation> deleteGrpcRouteSettings()
Returns the builder for the settings used for calls to deleteGrpcRoute.
deleteHttpRouteOperationSettings()
public OperationCallSettings.Builder<DeleteHttpRouteRequest,Empty,OperationMetadata> deleteHttpRouteOperationSettings()
Returns the builder for the settings used for calls to deleteHttpRoute.
deleteHttpRouteSettings()
public UnaryCallSettings.Builder<DeleteHttpRouteRequest,Operation> deleteHttpRouteSettings()
Returns the builder for the settings used for calls to deleteHttpRoute.
deleteMeshOperationSettings()
public OperationCallSettings.Builder<DeleteMeshRequest,Empty,OperationMetadata> deleteMeshOperationSettings()
Returns the builder for the settings used for calls to deleteMesh.
deleteMeshSettings()
public UnaryCallSettings.Builder<DeleteMeshRequest,Operation> deleteMeshSettings()
Returns the builder for the settings used for calls to deleteMesh.
deleteServiceBindingOperationSettings()
public OperationCallSettings.Builder<DeleteServiceBindingRequest,Empty,OperationMetadata> deleteServiceBindingOperationSettings()
Returns the builder for the settings used for calls to deleteServiceBinding.
deleteServiceBindingSettings()
public UnaryCallSettings.Builder<DeleteServiceBindingRequest,Operation> deleteServiceBindingSettings()
Returns the builder for the settings used for calls to deleteServiceBinding.
deleteTcpRouteOperationSettings()
public OperationCallSettings.Builder<DeleteTcpRouteRequest,Empty,OperationMetadata> deleteTcpRouteOperationSettings()
Returns the builder for the settings used for calls to deleteTcpRoute.
deleteTcpRouteSettings()
public UnaryCallSettings.Builder<DeleteTcpRouteRequest,Operation> deleteTcpRouteSettings()
Returns the builder for the settings used for calls to deleteTcpRoute.
deleteTlsRouteOperationSettings()
public OperationCallSettings.Builder<DeleteTlsRouteRequest,Empty,OperationMetadata> deleteTlsRouteOperationSettings()
Returns the builder for the settings used for calls to deleteTlsRoute.
deleteTlsRouteSettings()
public UnaryCallSettings.Builder<DeleteTlsRouteRequest,Operation> deleteTlsRouteSettings()
Returns the builder for the settings used for calls to deleteTlsRoute.
getEndpointPolicySettings()
public UnaryCallSettings.Builder<GetEndpointPolicyRequest,EndpointPolicy> getEndpointPolicySettings()
Returns the builder for the settings used for calls to getEndpointPolicy.
getGatewaySettings()
public UnaryCallSettings.Builder<GetGatewayRequest,Gateway> getGatewaySettings()
Returns the builder for the settings used for calls to getGateway.
getGrpcRouteSettings()
public UnaryCallSettings.Builder<GetGrpcRouteRequest,GrpcRoute> getGrpcRouteSettings()
Returns the builder for the settings used for calls to getGrpcRoute.
getHttpRouteSettings()
public UnaryCallSettings.Builder<GetHttpRouteRequest,HttpRoute> getHttpRouteSettings()
Returns the builder for the settings used for calls to getHttpRoute.
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns |
Type |
Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getMeshSettings()
public UnaryCallSettings.Builder<GetMeshRequest,Mesh> getMeshSettings()
Returns the builder for the settings used for calls to getMesh.
getServiceBindingSettings()
public UnaryCallSettings.Builder<GetServiceBindingRequest,ServiceBinding> getServiceBindingSettings()
Returns the builder for the settings used for calls to getServiceBinding.
getStubSettingsBuilder()
public NetworkServicesStubSettings.Builder getStubSettingsBuilder()
getTcpRouteSettings()
public UnaryCallSettings.Builder<GetTcpRouteRequest,TcpRoute> getTcpRouteSettings()
Returns the builder for the settings used for calls to getTcpRoute.
getTlsRouteSettings()
public UnaryCallSettings.Builder<GetTlsRouteRequest,TlsRoute> getTlsRouteSettings()
Returns the builder for the settings used for calls to getTlsRoute.
listEndpointPoliciesSettings()
public PagedCallSettings.Builder<ListEndpointPoliciesRequest,ListEndpointPoliciesResponse,NetworkServicesClient.ListEndpointPoliciesPagedResponse> listEndpointPoliciesSettings()
Returns the builder for the settings used for calls to listEndpointPolicies.
listGatewaysSettings()
public PagedCallSettings.Builder<ListGatewaysRequest,ListGatewaysResponse,NetworkServicesClient.ListGatewaysPagedResponse> listGatewaysSettings()
Returns the builder for the settings used for calls to listGateways.
listGrpcRoutesSettings()
public PagedCallSettings.Builder<ListGrpcRoutesRequest,ListGrpcRoutesResponse,NetworkServicesClient.ListGrpcRoutesPagedResponse> listGrpcRoutesSettings()
Returns the builder for the settings used for calls to listGrpcRoutes.
listHttpRoutesSettings()
public PagedCallSettings.Builder<ListHttpRoutesRequest,ListHttpRoutesResponse,NetworkServicesClient.ListHttpRoutesPagedResponse> listHttpRoutesSettings()
Returns the builder for the settings used for calls to listHttpRoutes.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,NetworkServicesClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listMeshesSettings()
public PagedCallSettings.Builder<ListMeshesRequest,ListMeshesResponse,NetworkServicesClient.ListMeshesPagedResponse> listMeshesSettings()
Returns the builder for the settings used for calls to listMeshes.
listServiceBindingsSettings()
public PagedCallSettings.Builder<ListServiceBindingsRequest,ListServiceBindingsResponse,NetworkServicesClient.ListServiceBindingsPagedResponse> listServiceBindingsSettings()
Returns the builder for the settings used for calls to listServiceBindings.
listTcpRoutesSettings()
public PagedCallSettings.Builder<ListTcpRoutesRequest,ListTcpRoutesResponse,NetworkServicesClient.ListTcpRoutesPagedResponse> listTcpRoutesSettings()
Returns the builder for the settings used for calls to listTcpRoutes.
listTlsRoutesSettings()
public PagedCallSettings.Builder<ListTlsRoutesRequest,ListTlsRoutesResponse,NetworkServicesClient.ListTlsRoutesPagedResponse> listTlsRoutesSettings()
Returns the builder for the settings used for calls to listTlsRoutes.
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns |
Type |
Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns |
Type |
Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
updateEndpointPolicyOperationSettings()
public OperationCallSettings.Builder<UpdateEndpointPolicyRequest,EndpointPolicy,OperationMetadata> updateEndpointPolicyOperationSettings()
Returns the builder for the settings used for calls to updateEndpointPolicy.
updateEndpointPolicySettings()
public UnaryCallSettings.Builder<UpdateEndpointPolicyRequest,Operation> updateEndpointPolicySettings()
Returns the builder for the settings used for calls to updateEndpointPolicy.
updateGatewayOperationSettings()
public OperationCallSettings.Builder<UpdateGatewayRequest,Gateway,OperationMetadata> updateGatewayOperationSettings()
Returns the builder for the settings used for calls to updateGateway.
updateGatewaySettings()
public UnaryCallSettings.Builder<UpdateGatewayRequest,Operation> updateGatewaySettings()
Returns the builder for the settings used for calls to updateGateway.
updateGrpcRouteOperationSettings()
public OperationCallSettings.Builder<UpdateGrpcRouteRequest,GrpcRoute,OperationMetadata> updateGrpcRouteOperationSettings()
Returns the builder for the settings used for calls to updateGrpcRoute.
updateGrpcRouteSettings()
public UnaryCallSettings.Builder<UpdateGrpcRouteRequest,Operation> updateGrpcRouteSettings()
Returns the builder for the settings used for calls to updateGrpcRoute.
updateHttpRouteOperationSettings()
public OperationCallSettings.Builder<UpdateHttpRouteRequest,HttpRoute,OperationMetadata> updateHttpRouteOperationSettings()
Returns the builder for the settings used for calls to updateHttpRoute.
updateHttpRouteSettings()
public UnaryCallSettings.Builder<UpdateHttpRouteRequest,Operation> updateHttpRouteSettings()
Returns the builder for the settings used for calls to updateHttpRoute.
updateMeshOperationSettings()
public OperationCallSettings.Builder<UpdateMeshRequest,Mesh,OperationMetadata> updateMeshOperationSettings()
Returns the builder for the settings used for calls to updateMesh.
updateMeshSettings()
public UnaryCallSettings.Builder<UpdateMeshRequest,Operation> updateMeshSettings()
Returns the builder for the settings used for calls to updateMesh.
updateTcpRouteOperationSettings()
public OperationCallSettings.Builder<UpdateTcpRouteRequest,TcpRoute,OperationMetadata> updateTcpRouteOperationSettings()
Returns the builder for the settings used for calls to updateTcpRoute.
updateTcpRouteSettings()
public UnaryCallSettings.Builder<UpdateTcpRouteRequest,Operation> updateTcpRouteSettings()
Returns the builder for the settings used for calls to updateTcpRoute.
updateTlsRouteOperationSettings()
public OperationCallSettings.Builder<UpdateTlsRouteRequest,TlsRoute,OperationMetadata> updateTlsRouteOperationSettings()
Returns the builder for the settings used for calls to updateTlsRoute.
updateTlsRouteSettings()
public UnaryCallSettings.Builder<UpdateTlsRouteRequest,Operation> updateTlsRouteSettings()
Returns the builder for the settings used for calls to updateTlsRoute.