Class AppHubStubSettings.Builder (0.1.0)

public static class AppHubStubSettings.Builder extends StubSettings.Builder<AppHubStubSettings,AppHubStubSettings.Builder>

Builder for AppHubStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AppHubStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AppHubStubSettings settings)

protected Builder(AppHubStubSettings settings)
Parameter
NameDescription
settingsAppHubStubSettings

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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AppHubStubSettings.Builder

build()

public AppHubStubSettings build()
Returns
TypeDescription
AppHubStubSettings
Overrides
Exceptions
TypeDescription
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.

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
TypeDescription
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
TypeDescription
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.

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
TypeDescription
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
TypeDescription
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.

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.

Returns
TypeDescription
String
Overrides

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.

getServiceSettings()

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

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

Returns
TypeDescription
Builder<GetServiceRequest,Service>

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.

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

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
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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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.

Returns
TypeDescription
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
TypeDescription
Builder<UpdateWorkloadRequest,Operation>