Class AppHubSettings.Builder (0.3.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
NameDescription
clientContextClientContext

Builder(AppHubSettings settings)

protected Builder(AppHubSettings settings)
Parameter
NameDescription
settingsAppHubSettings

Builder(AppHubStubSettings.Builder stubSettings)

protected Builder(AppHubStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAppHubStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AppHubSettings.Builder

build()

public AppHubSettings build()
Returns
TypeDescription
AppHubSettings
Overrides
Exceptions
TypeDescription
IOException

createApplicationOperationSettings()

public OperationCallSettings.Builder<CreateApplicationRequest,Application,OperationMetadata> createApplicationOperationSettings()

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

Returns
TypeDescription
Builder<CreateApplicationRequest,Application,OperationMetadata>

createApplicationSettings()

public UnaryCallSettings.Builder<CreateApplicationRequest,Operation> createApplicationSettings()

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

Returns
TypeDescription
Builder<CreateApplicationRequest,Operation>

createServiceOperationSettings()

public OperationCallSettings.Builder<CreateServiceRequest,Service,OperationMetadata> createServiceOperationSettings()

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

Returns
TypeDescription
Builder<CreateServiceRequest,Service,OperationMetadata>

createServiceProjectAttachmentOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateServiceProjectAttachmentRequest,ServiceProjectAttachment,OperationMetadata>

createServiceProjectAttachmentSettings()

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

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

Returns
TypeDescription
Builder<CreateServiceProjectAttachmentRequest,Operation>

createServiceSettings()

public UnaryCallSettings.Builder<CreateServiceRequest,Operation> createServiceSettings()

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

Returns
TypeDescription
Builder<CreateServiceRequest,Operation>

createWorkloadOperationSettings()

public OperationCallSettings.Builder<CreateWorkloadRequest,Workload,OperationMetadata> createWorkloadOperationSettings()

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

Returns
TypeDescription
Builder<CreateWorkloadRequest,Workload,OperationMetadata>

createWorkloadSettings()

public UnaryCallSettings.Builder<CreateWorkloadRequest,Operation> createWorkloadSettings()

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

Returns
TypeDescription
Builder<CreateWorkloadRequest,Operation>

deleteApplicationOperationSettings()

public OperationCallSettings.Builder<DeleteApplicationRequest,Empty,OperationMetadata> deleteApplicationOperationSettings()

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

Returns
TypeDescription
Builder<DeleteApplicationRequest,Empty,OperationMetadata>

deleteApplicationSettings()

public UnaryCallSettings.Builder<DeleteApplicationRequest,Operation> deleteApplicationSettings()

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

Returns
TypeDescription
Builder<DeleteApplicationRequest,Operation>

deleteServiceOperationSettings()

public OperationCallSettings.Builder<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationSettings()

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

Returns
TypeDescription
Builder<DeleteServiceRequest,Empty,OperationMetadata>

deleteServiceProjectAttachmentOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteServiceProjectAttachmentRequest,Empty,OperationMetadata>

deleteServiceProjectAttachmentSettings()

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

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

Returns
TypeDescription
Builder<DeleteServiceProjectAttachmentRequest,Operation>

deleteServiceSettings()

public UnaryCallSettings.Builder<DeleteServiceRequest,Operation> deleteServiceSettings()

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

Returns
TypeDescription
Builder<DeleteServiceRequest,Operation>

deleteWorkloadOperationSettings()

public OperationCallSettings.Builder<DeleteWorkloadRequest,Empty,OperationMetadata> deleteWorkloadOperationSettings()

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

Returns
TypeDescription
Builder<DeleteWorkloadRequest,Empty,OperationMetadata>

deleteWorkloadSettings()

public UnaryCallSettings.Builder<DeleteWorkloadRequest,Operation> deleteWorkloadSettings()

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

Returns
TypeDescription
Builder<DeleteWorkloadRequest,Operation>

detachServiceProjectAttachmentSettings()

public UnaryCallSettings.Builder<DetachServiceProjectAttachmentRequest,DetachServiceProjectAttachmentResponse> detachServiceProjectAttachmentSettings()

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

Returns
TypeDescription
Builder<DetachServiceProjectAttachmentRequest,DetachServiceProjectAttachmentResponse>

getApplicationSettings()

public UnaryCallSettings.Builder<GetApplicationRequest,Application> getApplicationSettings()

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

Returns
TypeDescription
Builder<GetApplicationRequest,Application>

getDiscoveredServiceSettings()

public UnaryCallSettings.Builder<GetDiscoveredServiceRequest,DiscoveredService> getDiscoveredServiceSettings()

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

Returns
TypeDescription
Builder<GetDiscoveredServiceRequest,DiscoveredService>

getDiscoveredWorkloadSettings()

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

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

Returns
TypeDescription
Builder<GetDiscoveredWorkloadRequest,DiscoveredWorkload>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<GetServiceProjectAttachmentRequest,ServiceProjectAttachment>

getServiceSettings()

public UnaryCallSettings.Builder<GetServiceRequest,Service> getServiceSettings()

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

Returns
TypeDescription
Builder<GetServiceRequest,Service>

getStubSettingsBuilder()

public AppHubStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
AppHubStubSettings.Builder

getWorkloadSettings()

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

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

Returns
TypeDescription
Builder<GetWorkloadRequest,Workload>

listApplicationsSettings()

public PagedCallSettings.Builder<ListApplicationsRequest,ListApplicationsResponse,AppHubClient.ListApplicationsPagedResponse> listApplicationsSettings()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListWorkloadsRequest,ListWorkloadsResponse,ListWorkloadsPagedResponse>

lookupDiscoveredServiceSettings()

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

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

Returns
TypeDescription
Builder<LookupDiscoveredServiceRequest,LookupDiscoveredServiceResponse>

lookupDiscoveredWorkloadSettings()

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

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

Returns
TypeDescription
Builder<LookupDiscoveredWorkloadRequest,LookupDiscoveredWorkloadResponse>

lookupServiceProjectAttachmentSettings()

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

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

Returns
TypeDescription
Builder<LookupServiceProjectAttachmentRequest,LookupServiceProjectAttachmentResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<UpdateApplicationRequest,Application,OperationMetadata>

updateApplicationSettings()

public UnaryCallSettings.Builder<UpdateApplicationRequest,Operation> updateApplicationSettings()

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

Returns
TypeDescription
Builder<UpdateApplicationRequest,Operation>

updateServiceOperationSettings()

public OperationCallSettings.Builder<UpdateServiceRequest,Service,OperationMetadata> updateServiceOperationSettings()

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

Returns
TypeDescription
Builder<UpdateServiceRequest,Service,OperationMetadata>

updateServiceSettings()

public UnaryCallSettings.Builder<UpdateServiceRequest,Operation> updateServiceSettings()

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

Returns
TypeDescription
Builder<UpdateServiceRequest,Operation>

updateWorkloadOperationSettings()

public OperationCallSettings.Builder<UpdateWorkloadRequest,Workload,OperationMetadata> updateWorkloadOperationSettings()

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

Returns
TypeDescription
Builder<UpdateWorkloadRequest,Workload,OperationMetadata>

updateWorkloadSettings()

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

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

Returns
TypeDescription
Builder<UpdateWorkloadRequest,Operation>