Class ServiceManagerStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ServiceManagerStubSettings,ServiceManagerStubSettings.Builder>
-
- com.google.cloud.api.servicemanagement.v1.stub.ServiceManagerStubSettings.Builder
-
- Enclosing class:
- ServiceManagerStubSettings
public static class ServiceManagerStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ServiceManagerStubSettings,ServiceManagerStubSettings.Builder>
Builder for ServiceManagerStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ServiceManagerStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceManagerStubSettings.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.ServiceManagerStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceConfigRequest,com.google.api.Service>
createServiceConfigSettings()
Returns the builder for the settings used for calls to createServiceConfig.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateServiceRequest,ManagedService,OperationMetadata>
createServiceOperationSettings()
Returns the builder for the settings used for calls to createService.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateServiceRolloutRequest,Rollout,OperationMetadata>
createServiceRolloutOperationSettings()
Returns the builder for the settings used for calls to createServiceRollout.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceRolloutRequest,com.google.longrunning.Operation>
createServiceRolloutSettings()
Returns the builder for the settings used for calls to createServiceRollout.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceRequest,com.google.longrunning.Operation>
createServiceSettings()
Returns the builder for the settings used for calls to createService.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteServiceRequest,com.google.protobuf.Empty,OperationMetadata>
deleteServiceOperationSettings()
Returns the builder for the settings used for calls to deleteService.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceRequest,com.google.longrunning.Operation>
deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.com.google.api.gax.rpc.UnaryCallSettings.Builder<GenerateConfigReportRequest,GenerateConfigReportResponse>
generateConfigReportSettings()
Returns the builder for the settings used for calls to generateConfigReport.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<GetServiceConfigRequest,com.google.api.Service>
getServiceConfigSettings()
Returns the builder for the settings used for calls to getServiceConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRolloutRequest,Rollout>
getServiceRolloutSettings()
Returns the builder for the settings used for calls to getServiceRollout.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,ManagedService>
getServiceSettings()
Returns the builder for the settings used for calls to getService.com.google.api.gax.rpc.PagedCallSettings.Builder<ListServiceConfigsRequest,ListServiceConfigsResponse,ServiceManagerClient.ListServiceConfigsPagedResponse>
listServiceConfigsSettings()
Returns the builder for the settings used for calls to listServiceConfigs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListServiceRolloutsRequest,ListServiceRolloutsResponse,ServiceManagerClient.ListServiceRolloutsPagedResponse>
listServiceRolloutsSettings()
Returns the builder for the settings used for calls to listServiceRollouts.com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServiceManagerClient.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.OperationCallSettings.Builder<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata>
submitConfigSourceOperationSettings()
Returns the builder for the settings used for calls to submitConfigSource.com.google.api.gax.rpc.UnaryCallSettings.Builder<SubmitConfigSourceRequest,com.google.longrunning.Operation>
submitConfigSourceSettings()
Returns the builder for the settings used for calls to submitConfigSource.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<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata>
undeleteServiceOperationSettings()
Returns the builder for the settings used for calls to undeleteService.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteServiceRequest,com.google.longrunning.Operation>
undeleteServiceSettings()
Returns the builder for the settings used for calls to undeleteService.-
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(ServiceManagerStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ServiceManagerStubSettings.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()
-
listServicesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServiceManagerClient.ListServicesPagedResponse> listServicesSettings()
Returns the builder for the settings used for calls to listServices.
-
getServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,ManagedService> getServiceSettings()
Returns the builder for the settings used for calls to getService.
-
createServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceRequest,com.google.longrunning.Operation> createServiceSettings()
Returns the builder for the settings used for calls to createService.
-
createServiceOperationSettings
@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<CreateServiceRequest,ManagedService,OperationMetadata> createServiceOperationSettings()
Returns the builder for the settings used for calls to createService.
-
deleteServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceRequest,com.google.longrunning.Operation> deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.
-
deleteServiceOperationSettings
@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<DeleteServiceRequest,com.google.protobuf.Empty,OperationMetadata> deleteServiceOperationSettings()
Returns the builder for the settings used for calls to deleteService.
-
undeleteServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteServiceRequest,com.google.longrunning.Operation> undeleteServiceSettings()
Returns the builder for the settings used for calls to undeleteService.
-
undeleteServiceOperationSettings
@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<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata> undeleteServiceOperationSettings()
Returns the builder for the settings used for calls to undeleteService.
-
listServiceConfigsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServiceConfigsRequest,ListServiceConfigsResponse,ServiceManagerClient.ListServiceConfigsPagedResponse> listServiceConfigsSettings()
Returns the builder for the settings used for calls to listServiceConfigs.
-
getServiceConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceConfigRequest,com.google.api.Service> getServiceConfigSettings()
Returns the builder for the settings used for calls to getServiceConfig.
-
createServiceConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceConfigRequest,com.google.api.Service> createServiceConfigSettings()
Returns the builder for the settings used for calls to createServiceConfig.
-
submitConfigSourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SubmitConfigSourceRequest,com.google.longrunning.Operation> submitConfigSourceSettings()
Returns the builder for the settings used for calls to submitConfigSource.
-
submitConfigSourceOperationSettings
@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<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> submitConfigSourceOperationSettings()
Returns the builder for the settings used for calls to submitConfigSource.
-
listServiceRolloutsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServiceRolloutsRequest,ListServiceRolloutsResponse,ServiceManagerClient.ListServiceRolloutsPagedResponse> listServiceRolloutsSettings()
Returns the builder for the settings used for calls to listServiceRollouts.
-
getServiceRolloutSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRolloutRequest,Rollout> getServiceRolloutSettings()
Returns the builder for the settings used for calls to getServiceRollout.
-
createServiceRolloutSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceRolloutRequest,com.google.longrunning.Operation> createServiceRolloutSettings()
Returns the builder for the settings used for calls to createServiceRollout.
-
createServiceRolloutOperationSettings
@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<CreateServiceRolloutRequest,Rollout,OperationMetadata> createServiceRolloutOperationSettings()
Returns the builder for the settings used for calls to createServiceRollout.
-
generateConfigReportSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GenerateConfigReportRequest,GenerateConfigReportResponse> generateConfigReportSettings()
Returns the builder for the settings used for calls to generateConfigReport.
-
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 ServiceManagerStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ServiceManagerStubSettings,ServiceManagerStubSettings.Builder>
- Throws:
IOException
-
-