public static class ServiceManagerStubSettings.Builder extends StubSettings.Builder<ServiceManagerStubSettings,ServiceManagerStubSettings.Builder>
Builder for ServiceManagerStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ServiceManagerStubSettings settings)
protected Builder(ServiceManagerStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ServiceManagerStubSettings.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 ServiceManagerStubSettings build()
Overrides
createServiceConfigSettings()
public UnaryCallSettings.Builder<CreateServiceConfigRequest,Service> createServiceConfigSettings()
Returns the builder for the settings used for calls to createServiceConfig.
createServiceOperationSettings()
public OperationCallSettings.Builder<CreateServiceRequest,ManagedService,OperationMetadata> createServiceOperationSettings()
Returns the builder for the settings used for calls to createService.
createServiceRolloutOperationSettings()
public OperationCallSettings.Builder<CreateServiceRolloutRequest,Rollout,OperationMetadata> createServiceRolloutOperationSettings()
Returns the builder for the settings used for calls to createServiceRollout.
createServiceRolloutSettings()
public UnaryCallSettings.Builder<CreateServiceRolloutRequest,Operation> createServiceRolloutSettings()
Returns the builder for the settings used for calls to createServiceRollout.
createServiceSettings()
public UnaryCallSettings.Builder<CreateServiceRequest,Operation> createServiceSettings()
Returns the builder for the settings used for calls to createService.
deleteServiceOperationSettings()
public OperationCallSettings.Builder<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationSettings()
Returns the builder for the settings used for calls to deleteService.
deleteServiceSettings()
public UnaryCallSettings.Builder<DeleteServiceRequest,Operation> deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.
generateConfigReportSettings()
public UnaryCallSettings.Builder<GenerateConfigReportRequest,GenerateConfigReportResponse> generateConfigReportSettings()
Returns the builder for the settings used for calls to generateConfigReport.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
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> | |
getServiceConfigSettings()
public UnaryCallSettings.Builder<GetServiceConfigRequest,Service> getServiceConfigSettings()
Returns the builder for the settings used for calls to getServiceConfig.
getServiceRolloutSettings()
public UnaryCallSettings.Builder<GetServiceRolloutRequest,Rollout> getServiceRolloutSettings()
Returns the builder for the settings used for calls to getServiceRollout.
getServiceSettings()
public UnaryCallSettings.Builder<GetServiceRequest,ManagedService> getServiceSettings()
Returns the builder for the settings used for calls to getService.
listServiceConfigsSettings()
public PagedCallSettings.Builder<ListServiceConfigsRequest,ListServiceConfigsResponse,ServiceManagerClient.ListServiceConfigsPagedResponse> listServiceConfigsSettings()
Returns the builder for the settings used for calls to listServiceConfigs.
listServiceRolloutsSettings()
public PagedCallSettings.Builder<ListServiceRolloutsRequest,ListServiceRolloutsResponse,ServiceManagerClient.ListServiceRolloutsPagedResponse> listServiceRolloutsSettings()
Returns the builder for the settings used for calls to listServiceRollouts.
listServicesSettings()
public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServiceManagerClient.ListServicesPagedResponse> listServicesSettings()
Returns the builder for the settings used for calls to listServices.
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> | |
submitConfigSourceOperationSettings()
public OperationCallSettings.Builder<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> submitConfigSourceOperationSettings()
Returns the builder for the settings used for calls to submitConfigSource.
submitConfigSourceSettings()
public UnaryCallSettings.Builder<SubmitConfigSourceRequest,Operation> submitConfigSourceSettings()
Returns the builder for the settings used for calls to submitConfigSource.
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> | |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
undeleteServiceOperationSettings()
public OperationCallSettings.Builder<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata> undeleteServiceOperationSettings()
Returns the builder for the settings used for calls to undeleteService.
undeleteServiceSettings()
public UnaryCallSettings.Builder<UndeleteServiceRequest,Operation> undeleteServiceSettings()
Returns the builder for the settings used for calls to undeleteService.