Class AppHubSettings.Builder (0.6.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.

Returns
Type Description
Builder<CreateApplicationRequest,Application,OperationMetadata>

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.

Returns
Type Description
Builder<CreateServiceRequest,Service,OperationMetadata>

createServiceProjectAttachmentOperationSettings()

public OperationCallSettings.Builder<CreateServiceProjectAttachmentRequest,ServiceProjectAttachment,OperationMetadata> createServiceProjectAttachmentOperationSettings()

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

Returns
Type Description
Builder<CreateServiceProjectAttachmentRequest,ServiceProjectAttachment,OperationMetadata>

createServiceProjectAttachmentSettings()

public UnaryCallSettings.Builder<CreateServiceProjectAttachmentRequest,Operation> createServiceProjectAttachmentSettings()

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

Returns
Type Description
Builder<CreateServiceProjectAttachmentRequest,Operation>

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.

Returns
Type Description
Builder<CreateWorkloadRequest,Workload,OperationMetadata>

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.

Returns
Type Description
Builder<DeleteApplicationRequest,Empty,OperationMetadata>

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.

Returns
Type Description
Builder<DeleteServiceRequest,Empty,OperationMetadata>

deleteServiceProjectAttachmentOperationSettings()

public OperationCallSettings.Builder<DeleteServiceProjectAttachmentRequest,Empty,OperationMetadata> deleteServiceProjectAttachmentOperationSettings()

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

Returns
Type Description
Builder<DeleteServiceProjectAttachmentRequest,Empty,OperationMetadata>

deleteServiceProjectAttachmentSettings()

public UnaryCallSettings.Builder<DeleteServiceProjectAttachmentRequest,Operation> deleteServiceProjectAttachmentSettings()

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

Returns
Type Description
Builder<DeleteServiceProjectAttachmentRequest,Operation>

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.

Returns
Type Description
Builder<DeleteWorkloadRequest,Empty,OperationMetadata>

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.

Returns
Type Description
Builder<DetachServiceProjectAttachmentRequest,DetachServiceProjectAttachmentResponse>

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.

Returns
Type Description
Builder<GetDiscoveredServiceRequest,DiscoveredService>

getDiscoveredWorkloadSettings()

public UnaryCallSettings.Builder<GetDiscoveredWorkloadRequest,DiscoveredWorkload> getDiscoveredWorkloadSettings()

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

Returns
Type Description
Builder<GetDiscoveredWorkloadRequest,DiscoveredWorkload>

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.

Returns
Type Description
Builder<GetServiceProjectAttachmentRequest,ServiceProjectAttachment>

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.

Returns
Type Description
Builder<ListApplicationsRequest,ListApplicationsResponse,ListApplicationsPagedResponse>

listDiscoveredServicesSettings()

public PagedCallSettings.Builder<ListDiscoveredServicesRequest,ListDiscoveredServicesResponse,AppHubClient.ListDiscoveredServicesPagedResponse> listDiscoveredServicesSettings()

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

Returns
Type Description
Builder<ListDiscoveredServicesRequest,ListDiscoveredServicesResponse,ListDiscoveredServicesPagedResponse>

listDiscoveredWorkloadsSettings()

public PagedCallSettings.Builder<ListDiscoveredWorkloadsRequest,ListDiscoveredWorkloadsResponse,AppHubClient.ListDiscoveredWorkloadsPagedResponse> listDiscoveredWorkloadsSettings()

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

Returns
Type Description
Builder<ListDiscoveredWorkloadsRequest,ListDiscoveredWorkloadsResponse,ListDiscoveredWorkloadsPagedResponse>

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.

Returns
Type Description
Builder<ListServiceProjectAttachmentsRequest,ListServiceProjectAttachmentsResponse,ListServiceProjectAttachmentsPagedResponse>

listServicesSettings()

public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,AppHubClient.ListServicesPagedResponse> listServicesSettings()

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

Returns
Type Description
Builder<ListServicesRequest,ListServicesResponse,ListServicesPagedResponse>

listWorkloadsSettings()

public PagedCallSettings.Builder<ListWorkloadsRequest,ListWorkloadsResponse,AppHubClient.ListWorkloadsPagedResponse> listWorkloadsSettings()

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

Returns
Type Description
Builder<ListWorkloadsRequest,ListWorkloadsResponse,ListWorkloadsPagedResponse>

lookupDiscoveredServiceSettings()

public UnaryCallSettings.Builder<LookupDiscoveredServiceRequest,LookupDiscoveredServiceResponse> lookupDiscoveredServiceSettings()

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

Returns
Type Description
Builder<LookupDiscoveredServiceRequest,LookupDiscoveredServiceResponse>

lookupDiscoveredWorkloadSettings()

public UnaryCallSettings.Builder<LookupDiscoveredWorkloadRequest,LookupDiscoveredWorkloadResponse> lookupDiscoveredWorkloadSettings()

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

Returns
Type Description
Builder<LookupDiscoveredWorkloadRequest,LookupDiscoveredWorkloadResponse>

lookupServiceProjectAttachmentSettings()

public UnaryCallSettings.Builder<LookupServiceProjectAttachmentRequest,LookupServiceProjectAttachmentResponse> lookupServiceProjectAttachmentSettings()

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

Returns
Type Description
Builder<LookupServiceProjectAttachmentRequest,LookupServiceProjectAttachmentResponse>

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.

Returns
Type Description
Builder<UpdateApplicationRequest,Application,OperationMetadata>

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.

Returns
Type Description
Builder<UpdateServiceRequest,Service,OperationMetadata>

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.

Returns
Type Description
Builder<UpdateWorkloadRequest,Workload,OperationMetadata>

updateWorkloadSettings()

public UnaryCallSettings.Builder<UpdateWorkloadRequest,Operation> updateWorkloadSettings()

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

Returns
Type Description
Builder<UpdateWorkloadRequest,Operation>