Package com.google.cloud.apphub.v1.stub
Class AppHubStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<AppHubStubSettings,AppHubStubSettings.Builder>
com.google.cloud.apphub.v1.stub.AppHubStubSettings.Builder
- Enclosing class:
- AppHubStubSettings
public static class AppHubStubSettings.Builder
extends StubSettings.Builder<AppHubStubSettings,AppHubStubSettings.Builder>
Builder for AppHubStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(AppHubStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createApplication.Returns the builder for the settings used for calls to createApplication.Returns the builder for the settings used for calls to createService.OperationCallSettings.Builder<CreateServiceProjectAttachmentRequest,ServiceProjectAttachment, OperationMetadata> Returns the builder for the settings used for calls to createServiceProjectAttachment.Returns the builder for the settings used for calls to createServiceProjectAttachment.Returns the builder for the settings used for calls to createService.Returns the builder for the settings used for calls to createWorkload.Returns the builder for the settings used for calls to createWorkload.OperationCallSettings.Builder<DeleteApplicationRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteApplication.Returns the builder for the settings used for calls to deleteApplication.OperationCallSettings.Builder<DeleteServiceRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteService.OperationCallSettings.Builder<DeleteServiceProjectAttachmentRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteServiceProjectAttachment.Returns the builder for the settings used for calls to deleteServiceProjectAttachment.Returns the builder for the settings used for calls to deleteService.OperationCallSettings.Builder<DeleteWorkloadRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteWorkload.Returns the builder for the settings used for calls to deleteWorkload.UnaryCallSettings.Builder<DetachServiceProjectAttachmentRequest,DetachServiceProjectAttachmentResponse> Returns the builder for the settings used for calls to detachServiceProjectAttachment.Returns the builder for the settings used for calls to getApplication.Returns the builder for the settings used for calls to getDiscoveredService.Returns the builder for the settings used for calls to getDiscoveredWorkload.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getServiceProjectAttachment.Returns the builder for the settings used for calls to getService.Returns the builder for the settings used for calls to getWorkload.PagedCallSettings.Builder<ListApplicationsRequest,ListApplicationsResponse, AppHubClient.ListApplicationsPagedResponse> Returns the builder for the settings used for calls to listApplications.PagedCallSettings.Builder<ListDiscoveredServicesRequest,ListDiscoveredServicesResponse, AppHubClient.ListDiscoveredServicesPagedResponse> Returns the builder for the settings used for calls to listDiscoveredServices.PagedCallSettings.Builder<ListDiscoveredWorkloadsRequest,ListDiscoveredWorkloadsResponse, AppHubClient.ListDiscoveredWorkloadsPagedResponse> Returns the builder for the settings used for calls to listDiscoveredWorkloads.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, AppHubClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListServiceProjectAttachmentsRequest,ListServiceProjectAttachmentsResponse, AppHubClient.ListServiceProjectAttachmentsPagedResponse> Returns the builder for the settings used for calls to listServiceProjectAttachments.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse, AppHubClient.ListServicesPagedResponse> Returns the builder for the settings used for calls to listServices.PagedCallSettings.Builder<ListWorkloadsRequest,ListWorkloadsResponse, AppHubClient.ListWorkloadsPagedResponse> Returns the builder for the settings used for calls to listWorkloads.Returns the builder for the settings used for calls to lookupDiscoveredService.Returns the builder for the settings used for calls to lookupDiscoveredWorkload.UnaryCallSettings.Builder<LookupServiceProjectAttachmentRequest,LookupServiceProjectAttachmentResponse> Returns the builder for the settings used for calls to lookupServiceProjectAttachment.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateApplication.Returns the builder for the settings used for calls to updateApplication.Returns the builder for the settings used for calls to updateService.Returns the builder for the settings used for calls to updateService.Returns the builder for the settings used for calls to updateWorkload.Returns the builder for the settings used for calls to updateWorkload.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
lookupServiceProjectAttachmentSettings
public UnaryCallSettings.Builder<LookupServiceProjectAttachmentRequest,LookupServiceProjectAttachmentResponse> lookupServiceProjectAttachmentSettings()Returns the builder for the settings used for calls to lookupServiceProjectAttachment. -
listServiceProjectAttachmentsSettings
public PagedCallSettings.Builder<ListServiceProjectAttachmentsRequest,ListServiceProjectAttachmentsResponse, listServiceProjectAttachmentsSettings()AppHubClient.ListServiceProjectAttachmentsPagedResponse> Returns the builder for the settings used for calls to listServiceProjectAttachments. -
createServiceProjectAttachmentSettings
public UnaryCallSettings.Builder<CreateServiceProjectAttachmentRequest,Operation> createServiceProjectAttachmentSettings()Returns the builder for the settings used for calls to createServiceProjectAttachment. -
createServiceProjectAttachmentOperationSettings
public OperationCallSettings.Builder<CreateServiceProjectAttachmentRequest,ServiceProjectAttachment, createServiceProjectAttachmentOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createServiceProjectAttachment. -
getServiceProjectAttachmentSettings
public UnaryCallSettings.Builder<GetServiceProjectAttachmentRequest,ServiceProjectAttachment> getServiceProjectAttachmentSettings()Returns the builder for the settings used for calls to getServiceProjectAttachment. -
deleteServiceProjectAttachmentSettings
public UnaryCallSettings.Builder<DeleteServiceProjectAttachmentRequest,Operation> deleteServiceProjectAttachmentSettings()Returns the builder for the settings used for calls to deleteServiceProjectAttachment. -
deleteServiceProjectAttachmentOperationSettings
public OperationCallSettings.Builder<DeleteServiceProjectAttachmentRequest,com.google.protobuf.Empty, deleteServiceProjectAttachmentOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteServiceProjectAttachment. -
detachServiceProjectAttachmentSettings
public UnaryCallSettings.Builder<DetachServiceProjectAttachmentRequest,DetachServiceProjectAttachmentResponse> detachServiceProjectAttachmentSettings()Returns the builder for the settings used for calls to detachServiceProjectAttachment. -
listDiscoveredServicesSettings
public PagedCallSettings.Builder<ListDiscoveredServicesRequest,ListDiscoveredServicesResponse, listDiscoveredServicesSettings()AppHubClient.ListDiscoveredServicesPagedResponse> Returns the builder for the settings used for calls to listDiscoveredServices. -
getDiscoveredServiceSettings
public UnaryCallSettings.Builder<GetDiscoveredServiceRequest,DiscoveredService> getDiscoveredServiceSettings()Returns the builder for the settings used for calls to getDiscoveredService. -
lookupDiscoveredServiceSettings
public UnaryCallSettings.Builder<LookupDiscoveredServiceRequest,LookupDiscoveredServiceResponse> lookupDiscoveredServiceSettings()Returns the builder for the settings used for calls to lookupDiscoveredService. -
listServicesSettings
public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse, listServicesSettings()AppHubClient.ListServicesPagedResponse> Returns the builder for the settings used for calls to listServices. -
createServiceSettings
Returns the builder for the settings used for calls to createService. -
createServiceOperationSettings
public OperationCallSettings.Builder<CreateServiceRequest,Service, createServiceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createService. -
getServiceSettings
Returns the builder for the settings used for calls to getService. -
updateServiceSettings
Returns the builder for the settings used for calls to updateService. -
updateServiceOperationSettings
public OperationCallSettings.Builder<UpdateServiceRequest,Service, updateServiceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateService. -
deleteServiceSettings
Returns the builder for the settings used for calls to deleteService. -
deleteServiceOperationSettings
public OperationCallSettings.Builder<DeleteServiceRequest,com.google.protobuf.Empty, deleteServiceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteService. -
listDiscoveredWorkloadsSettings
public PagedCallSettings.Builder<ListDiscoveredWorkloadsRequest,ListDiscoveredWorkloadsResponse, listDiscoveredWorkloadsSettings()AppHubClient.ListDiscoveredWorkloadsPagedResponse> Returns the builder for the settings used for calls to listDiscoveredWorkloads. -
getDiscoveredWorkloadSettings
public UnaryCallSettings.Builder<GetDiscoveredWorkloadRequest,DiscoveredWorkload> getDiscoveredWorkloadSettings()Returns the builder for the settings used for calls to getDiscoveredWorkload. -
lookupDiscoveredWorkloadSettings
public UnaryCallSettings.Builder<LookupDiscoveredWorkloadRequest,LookupDiscoveredWorkloadResponse> lookupDiscoveredWorkloadSettings()Returns the builder for the settings used for calls to lookupDiscoveredWorkload. -
listWorkloadsSettings
public PagedCallSettings.Builder<ListWorkloadsRequest,ListWorkloadsResponse, listWorkloadsSettings()AppHubClient.ListWorkloadsPagedResponse> Returns the builder for the settings used for calls to listWorkloads. -
createWorkloadSettings
Returns the builder for the settings used for calls to createWorkload. -
createWorkloadOperationSettings
public OperationCallSettings.Builder<CreateWorkloadRequest,Workload, createWorkloadOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createWorkload. -
getWorkloadSettings
Returns the builder for the settings used for calls to getWorkload. -
updateWorkloadSettings
Returns the builder for the settings used for calls to updateWorkload. -
updateWorkloadOperationSettings
public OperationCallSettings.Builder<UpdateWorkloadRequest,Workload, updateWorkloadOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateWorkload. -
deleteWorkloadSettings
Returns the builder for the settings used for calls to deleteWorkload. -
deleteWorkloadOperationSettings
public OperationCallSettings.Builder<DeleteWorkloadRequest,com.google.protobuf.Empty, deleteWorkloadOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteWorkload. -
listApplicationsSettings
public PagedCallSettings.Builder<ListApplicationsRequest,ListApplicationsResponse, listApplicationsSettings()AppHubClient.ListApplicationsPagedResponse> Returns the builder for the settings used for calls to listApplications. -
createApplicationSettings
Returns the builder for the settings used for calls to createApplication. -
createApplicationOperationSettings
public OperationCallSettings.Builder<CreateApplicationRequest,Application, createApplicationOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createApplication. -
getApplicationSettings
Returns the builder for the settings used for calls to getApplication. -
updateApplicationSettings
Returns the builder for the settings used for calls to updateApplication. -
updateApplicationOperationSettings
public OperationCallSettings.Builder<UpdateApplicationRequest,Application, updateApplicationOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateApplication. -
deleteApplicationSettings
Returns the builder for the settings used for calls to deleteApplication. -
deleteApplicationOperationSettings
public OperationCallSettings.Builder<DeleteApplicationRequest,com.google.protobuf.Empty, deleteApplicationOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteApplication. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()AppHubClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classStubSettings.Builder<AppHubStubSettings,AppHubStubSettings.Builder> - Throws:
IOException
-