Class AppHubSettings.Builder (0.22.0)

public static class AppHubSettings.Builder extends ClientSettings.Builder<AppHubSettings,AppHubSettings.Builder>

Builder for AppHubSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AppHubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AppHubSettings settings)

protected Builder(AppHubSettings settings)
Parameter
Name Description
settings AppHubSettings

Builder(AppHubStubSettings.Builder stubSettings)

protected Builder(AppHubStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AppHubStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public AppHubSettings.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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
AppHubSettings.Builder

build()

public AppHubSettings build()
Returns
Type Description
AppHubSettings
Overrides
Exceptions
Type Description
IOException

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.

Returns
Type Description
Builder<CreateApplicationRequest,Operation>

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.

Returns
Type Description
Builder<CreateServiceRequest,Operation>

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.

Returns
Type Description
Builder<CreateWorkloadRequest,Operation>

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.

Returns
Type Description
Builder<DeleteApplicationRequest,Operation>

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.

Returns
Type Description
Builder<DeleteServiceRequest,Operation>

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.

Returns
Type Description
Builder<DeleteWorkloadRequest,Operation>

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.

Returns
Type Description
Builder<GetApplicationRequest,Application>

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.

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.

Returns
Type Description
Builder<GetServiceRequest,Service>

getStubSettingsBuilder()

public AppHubStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AppHubStubSettings.Builder

getWorkloadSettings()

public UnaryCallSettings.Builder<GetWorkloadRequest,Workload> getWorkloadSettings()

Returns the builder for the settings used for calls to getWorkload.

Returns
Type Description
Builder<GetWorkloadRequest,Workload>

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.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

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>

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.

Returns
Type Description
Builder<UpdateApplicationRequest,Operation>

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.

Returns
Type Description
Builder<UpdateServiceRequest,Operation>

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.

Returns
Type Description
Builder<UpdateWorkloadRequest,Operation>