Class RegistrationServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<RegistrationServiceStubSettings,RegistrationServiceStubSettings.Builder>
-
- com.google.cloud.servicedirectory.v1.stub.RegistrationServiceStubSettings.Builder
-
- Enclosing class:
- RegistrationServiceStubSettings
public static class RegistrationServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<RegistrationServiceStubSettings,RegistrationServiceStubSettings.Builder>
Builder for RegistrationServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(RegistrationServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegistrationServiceStubSettings.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.RegistrationServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEndpointRequest,Endpoint>
createEndpointSettings()
Returns the builder for the settings used for calls to createEndpoint.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNamespaceRequest,Namespace>
createNamespaceSettings()
Returns the builder for the settings used for calls to createNamespace.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceRequest,Service>
createServiceSettings()
Returns the builder for the settings used for calls to createService.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEndpointRequest,com.google.protobuf.Empty>
deleteEndpointSettings()
Returns the builder for the settings used for calls to deleteEndpoint.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNamespaceRequest,com.google.protobuf.Empty>
deleteNamespaceSettings()
Returns the builder for the settings used for calls to deleteNamespace.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceRequest,com.google.protobuf.Empty>
deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEndpointRequest,Endpoint>
getEndpointSettings()
Returns the builder for the settings used for calls to getEndpoint.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<GetNamespaceRequest,Namespace>
getNamespaceSettings()
Returns the builder for the settings used for calls to getNamespace.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,Service>
getServiceSettings()
Returns the builder for the settings used for calls to getService.com.google.api.gax.rpc.PagedCallSettings.Builder<ListEndpointsRequest,ListEndpointsResponse,RegistrationServiceClient.ListEndpointsPagedResponse>
listEndpointsSettings()
Returns the builder for the settings used for calls to listEndpoints.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,RegistrationServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListNamespacesRequest,ListNamespacesResponse,RegistrationServiceClient.ListNamespacesPagedResponse>
listNamespacesSettings()
Returns the builder for the settings used for calls to listNamespaces.com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,RegistrationServiceClient.ListServicesPagedResponse>
listServicesSettings()
Returns the builder for the settings used for calls to listServices.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.UnaryCallSettings.Builder<UpdateEndpointRequest,Endpoint>
updateEndpointSettings()
Returns the builder for the settings used for calls to updateEndpoint.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNamespaceRequest,Namespace>
updateNamespaceSettings()
Returns the builder for the settings used for calls to updateNamespace.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServiceRequest,Service>
updateServiceSettings()
Returns the builder for the settings used for calls to updateService.-
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(RegistrationServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public RegistrationServiceStubSettings.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()
-
createNamespaceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNamespaceRequest,Namespace> createNamespaceSettings()
Returns the builder for the settings used for calls to createNamespace.
-
listNamespacesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNamespacesRequest,ListNamespacesResponse,RegistrationServiceClient.ListNamespacesPagedResponse> listNamespacesSettings()
Returns the builder for the settings used for calls to listNamespaces.
-
getNamespaceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNamespaceRequest,Namespace> getNamespaceSettings()
Returns the builder for the settings used for calls to getNamespace.
-
updateNamespaceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNamespaceRequest,Namespace> updateNamespaceSettings()
Returns the builder for the settings used for calls to updateNamespace.
-
deleteNamespaceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNamespaceRequest,com.google.protobuf.Empty> deleteNamespaceSettings()
Returns the builder for the settings used for calls to deleteNamespace.
-
createServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceRequest,Service> createServiceSettings()
Returns the builder for the settings used for calls to createService.
-
listServicesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,RegistrationServiceClient.ListServicesPagedResponse> listServicesSettings()
Returns the builder for the settings used for calls to listServices.
-
getServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,Service> getServiceSettings()
Returns the builder for the settings used for calls to getService.
-
updateServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServiceRequest,Service> updateServiceSettings()
Returns the builder for the settings used for calls to updateService.
-
deleteServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceRequest,com.google.protobuf.Empty> deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.
-
createEndpointSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEndpointRequest,Endpoint> createEndpointSettings()
Returns the builder for the settings used for calls to createEndpoint.
-
listEndpointsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListEndpointsRequest,ListEndpointsResponse,RegistrationServiceClient.ListEndpointsPagedResponse> listEndpointsSettings()
Returns the builder for the settings used for calls to listEndpoints.
-
getEndpointSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEndpointRequest,Endpoint> getEndpointSettings()
Returns the builder for the settings used for calls to getEndpoint.
-
updateEndpointSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEndpointRequest,Endpoint> updateEndpointSettings()
Returns the builder for the settings used for calls to updateEndpoint.
-
deleteEndpointSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEndpointRequest,com.google.protobuf.Empty> deleteEndpointSettings()
Returns the builder for the settings used for calls to deleteEndpoint.
-
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.
-
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.
-
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.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,RegistrationServiceClient.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.
-
build
public RegistrationServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<RegistrationServiceStubSettings,RegistrationServiceStubSettings.Builder>
- Throws:
IOException
-
-