public static class AppHubStubSettings.Builder extends StubSettings.Builder<AppHubStubSettings,AppHubStubSettings.Builder>
Builder for AppHubStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(AppHubStubSettings settings)
protected Builder(AppHubStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AppHubStubSettings.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 AppHubStubSettings build()
Overrides
createApplicationOperationSettings()
public OperationCallSettings.Builder<CreateApplicationRequest,Application,OperationMetadata> createApplicationOperationSettings()
Returns the builder for the settings used for calls to createApplication.
createApplicationSettings()
public UnaryCallSettings.Builder<CreateApplicationRequest,Operation> createApplicationSettings()
Returns the builder for the settings used for calls to createApplication.
createServiceOperationSettings()
public OperationCallSettings.Builder<CreateServiceRequest,Service,OperationMetadata> createServiceOperationSettings()
Returns the builder for the settings used for calls to createService.
createServiceProjectAttachmentOperationSettings()
public OperationCallSettings.Builder<CreateServiceProjectAttachmentRequest,ServiceProjectAttachment,OperationMetadata> createServiceProjectAttachmentOperationSettings()
Returns the builder for the settings used for calls to createServiceProjectAttachment.
createServiceProjectAttachmentSettings()
public UnaryCallSettings.Builder<CreateServiceProjectAttachmentRequest,Operation> createServiceProjectAttachmentSettings()
Returns the builder for the settings used for calls to createServiceProjectAttachment.
createServiceSettings()
public UnaryCallSettings.Builder<CreateServiceRequest,Operation> createServiceSettings()
Returns the builder for the settings used for calls to createService.
createWorkloadOperationSettings()
public OperationCallSettings.Builder<CreateWorkloadRequest,Workload,OperationMetadata> createWorkloadOperationSettings()
Returns the builder for the settings used for calls to createWorkload.
createWorkloadSettings()
public UnaryCallSettings.Builder<CreateWorkloadRequest,Operation> createWorkloadSettings()
Returns the builder for the settings used for calls to createWorkload.
deleteApplicationOperationSettings()
public OperationCallSettings.Builder<DeleteApplicationRequest,Empty,OperationMetadata> deleteApplicationOperationSettings()
Returns the builder for the settings used for calls to deleteApplication.
deleteApplicationSettings()
public UnaryCallSettings.Builder<DeleteApplicationRequest,Operation> deleteApplicationSettings()
Returns the builder for the settings used for calls to deleteApplication.
deleteServiceOperationSettings()
public OperationCallSettings.Builder<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationSettings()
Returns the builder for the settings used for calls to deleteService.
deleteServiceProjectAttachmentOperationSettings()
public OperationCallSettings.Builder<DeleteServiceProjectAttachmentRequest,Empty,OperationMetadata> deleteServiceProjectAttachmentOperationSettings()
Returns the builder for the settings used for calls to deleteServiceProjectAttachment.
deleteServiceProjectAttachmentSettings()
public UnaryCallSettings.Builder<DeleteServiceProjectAttachmentRequest,Operation> deleteServiceProjectAttachmentSettings()
Returns the builder for the settings used for calls to deleteServiceProjectAttachment.
deleteServiceSettings()
public UnaryCallSettings.Builder<DeleteServiceRequest,Operation> deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.
deleteWorkloadOperationSettings()
public OperationCallSettings.Builder<DeleteWorkloadRequest,Empty,OperationMetadata> deleteWorkloadOperationSettings()
Returns the builder for the settings used for calls to deleteWorkload.
deleteWorkloadSettings()
public UnaryCallSettings.Builder<DeleteWorkloadRequest,Operation> deleteWorkloadSettings()
Returns the builder for the settings used for calls to deleteWorkload.
detachServiceProjectAttachmentSettings()
public UnaryCallSettings.Builder<DetachServiceProjectAttachmentRequest,DetachServiceProjectAttachmentResponse> detachServiceProjectAttachmentSettings()
Returns the builder for the settings used for calls to detachServiceProjectAttachment.
getApplicationSettings()
public UnaryCallSettings.Builder<GetApplicationRequest,Application> getApplicationSettings()
Returns the builder for the settings used for calls to getApplication.
getDiscoveredServiceSettings()
public UnaryCallSettings.Builder<GetDiscoveredServiceRequest,DiscoveredService> getDiscoveredServiceSettings()
Returns the builder for the settings used for calls to getDiscoveredService.
getDiscoveredWorkloadSettings()
public UnaryCallSettings.Builder<GetDiscoveredWorkloadRequest,DiscoveredWorkload> getDiscoveredWorkloadSettings()
Returns the builder for the settings used for calls to getDiscoveredWorkload.
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> | |
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> | |
getServiceProjectAttachmentSettings()
public UnaryCallSettings.Builder<GetServiceProjectAttachmentRequest,ServiceProjectAttachment> getServiceProjectAttachmentSettings()
Returns the builder for the settings used for calls to getServiceProjectAttachment.
getServiceSettings()
public UnaryCallSettings.Builder<GetServiceRequest,Service> getServiceSettings()
Returns the builder for the settings used for calls to getService.
getWorkloadSettings()
public UnaryCallSettings.Builder<GetWorkloadRequest,Workload> getWorkloadSettings()
Returns the builder for the settings used for calls to getWorkload.
listApplicationsSettings()
public PagedCallSettings.Builder<ListApplicationsRequest,ListApplicationsResponse,AppHubClient.ListApplicationsPagedResponse> listApplicationsSettings()
Returns the builder for the settings used for calls to listApplications.
listDiscoveredServicesSettings()
public PagedCallSettings.Builder<ListDiscoveredServicesRequest,ListDiscoveredServicesResponse,AppHubClient.ListDiscoveredServicesPagedResponse> listDiscoveredServicesSettings()
Returns the builder for the settings used for calls to listDiscoveredServices.
listDiscoveredWorkloadsSettings()
public PagedCallSettings.Builder<ListDiscoveredWorkloadsRequest,ListDiscoveredWorkloadsResponse,AppHubClient.ListDiscoveredWorkloadsPagedResponse> listDiscoveredWorkloadsSettings()
Returns the builder for the settings used for calls to listDiscoveredWorkloads.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,AppHubClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listServiceProjectAttachmentsSettings()
public PagedCallSettings.Builder<ListServiceProjectAttachmentsRequest,ListServiceProjectAttachmentsResponse,AppHubClient.ListServiceProjectAttachmentsPagedResponse> listServiceProjectAttachmentsSettings()
Returns the builder for the settings used for calls to listServiceProjectAttachments.
listServicesSettings()
public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,AppHubClient.ListServicesPagedResponse> listServicesSettings()
Returns the builder for the settings used for calls to listServices.
listWorkloadsSettings()
public PagedCallSettings.Builder<ListWorkloadsRequest,ListWorkloadsResponse,AppHubClient.ListWorkloadsPagedResponse> listWorkloadsSettings()
Returns the builder for the settings used for calls to listWorkloads.
lookupDiscoveredServiceSettings()
public UnaryCallSettings.Builder<LookupDiscoveredServiceRequest,LookupDiscoveredServiceResponse> lookupDiscoveredServiceSettings()
Returns the builder for the settings used for calls to lookupDiscoveredService.
lookupDiscoveredWorkloadSettings()
public UnaryCallSettings.Builder<LookupDiscoveredWorkloadRequest,LookupDiscoveredWorkloadResponse> lookupDiscoveredWorkloadSettings()
Returns the builder for the settings used for calls to lookupDiscoveredWorkload.
lookupServiceProjectAttachmentSettings()
public UnaryCallSettings.Builder<LookupServiceProjectAttachmentRequest,LookupServiceProjectAttachmentResponse> lookupServiceProjectAttachmentSettings()
Returns the builder for the settings used for calls to lookupServiceProjectAttachment.
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> | |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
updateApplicationOperationSettings()
public OperationCallSettings.Builder<UpdateApplicationRequest,Application,OperationMetadata> updateApplicationOperationSettings()
Returns the builder for the settings used for calls to updateApplication.
updateApplicationSettings()
public UnaryCallSettings.Builder<UpdateApplicationRequest,Operation> updateApplicationSettings()
Returns the builder for the settings used for calls to updateApplication.
updateServiceOperationSettings()
public OperationCallSettings.Builder<UpdateServiceRequest,Service,OperationMetadata> updateServiceOperationSettings()
Returns the builder for the settings used for calls to updateService.
updateServiceSettings()
public UnaryCallSettings.Builder<UpdateServiceRequest,Operation> updateServiceSettings()
Returns the builder for the settings used for calls to updateService.
updateWorkloadOperationSettings()
public OperationCallSettings.Builder<UpdateWorkloadRequest,Workload,OperationMetadata> updateWorkloadOperationSettings()
Returns the builder for the settings used for calls to updateWorkload.
updateWorkloadSettings()
public UnaryCallSettings.Builder<UpdateWorkloadRequest,Operation> updateWorkloadSettings()
Returns the builder for the settings used for calls to updateWorkload.