Send feedback
Class ProjectsSettings.Builder (1.7.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.7.2 keyboard_arrow_down
public static class ProjectsSettings . Builder extends ClientSettings . Builder<ProjectsSettings , ProjectsSettings . Builder >
Builder for ProjectsSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(ProjectsSettings settings)
protected Builder ( ProjectsSettings settings )
Parameter
Builder(ProjectsStubSettings.Builder stubSettings)
protected Builder ( ProjectsStubSettings . Builder stubSettings )
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ProjectsSettings . 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
Returns
build()
public ProjectsSettings build ()
Returns
Overrides
Exceptions
disableXpnHostOperationSettings()
public OperationCallSettings . Builder<DisableXpnHostProjectRequest , Operation , Operation > disableXpnHostOperationSettings ()
Returns the builder for the settings used for calls to disableXpnHost.
Returns
disableXpnHostSettings()
public UnaryCallSettings . Builder<DisableXpnHostProjectRequest , Operation > disableXpnHostSettings ()
Returns the builder for the settings used for calls to disableXpnHost.
Returns
disableXpnResourceOperationSettings()
public OperationCallSettings . Builder<DisableXpnResourceProjectRequest , Operation , Operation > disableXpnResourceOperationSettings ()
Returns the builder for the settings used for calls to disableXpnResource.
Returns
disableXpnResourceSettings()
public UnaryCallSettings . Builder<DisableXpnResourceProjectRequest , Operation > disableXpnResourceSettings ()
Returns the builder for the settings used for calls to disableXpnResource.
Returns
enableXpnHostOperationSettings()
public OperationCallSettings . Builder<EnableXpnHostProjectRequest , Operation , Operation > enableXpnHostOperationSettings ()
Returns the builder for the settings used for calls to enableXpnHost.
Returns
enableXpnHostSettings()
public UnaryCallSettings . Builder<EnableXpnHostProjectRequest , Operation > enableXpnHostSettings ()
Returns the builder for the settings used for calls to enableXpnHost.
Returns
enableXpnResourceOperationSettings()
public OperationCallSettings . Builder<EnableXpnResourceProjectRequest , Operation , Operation > enableXpnResourceOperationSettings ()
Returns the builder for the settings used for calls to enableXpnResource.
Returns
enableXpnResourceSettings()
public UnaryCallSettings . Builder<EnableXpnResourceProjectRequest , Operation > enableXpnResourceSettings ()
Returns the builder for the settings used for calls to enableXpnResource.
Returns
getSettings()
public UnaryCallSettings . Builder<GetProjectRequest , Project > getSettings ()
Returns the builder for the settings used for calls to get.
Returns
getStubSettingsBuilder()
public ProjectsStubSettings . Builder getStubSettingsBuilder ()
Returns
getXpnHostSettings()
public UnaryCallSettings . Builder<GetXpnHostProjectRequest , Project > getXpnHostSettings ()
Returns the builder for the settings used for calls to getXpnHost.
Returns
getXpnResourcesSettings()
public PagedCallSettings . Builder<GetXpnResourcesProjectsRequest , ProjectsGetXpnResources , ProjectsClient . GetXpnResourcesPagedResponse > getXpnResourcesSettings ()
Returns the builder for the settings used for calls to getXpnResources.
Returns
listXpnHostsSettings()
public PagedCallSettings . Builder<ListXpnHostsProjectsRequest , XpnHostList , ProjectsClient . ListXpnHostsPagedResponse > listXpnHostsSettings ()
Returns the builder for the settings used for calls to listXpnHosts.
Returns
moveDiskOperationSettings()
public OperationCallSettings . Builder<MoveDiskProjectRequest , Operation , Operation > moveDiskOperationSettings ()
Returns the builder for the settings used for calls to moveDisk.
Returns
moveDiskSettings()
public UnaryCallSettings . Builder<MoveDiskProjectRequest , Operation > moveDiskSettings ()
Returns the builder for the settings used for calls to moveDisk.
Returns
moveInstanceOperationSettings()
public OperationCallSettings . Builder<MoveInstanceProjectRequest , Operation , Operation > moveInstanceOperationSettings ()
Returns the builder for the settings used for calls to moveInstance.
Returns
moveInstanceSettings()
public UnaryCallSettings . Builder<MoveInstanceProjectRequest , Operation > moveInstanceSettings ()
Returns the builder for the settings used for calls to moveInstance.
Returns
public OperationCallSettings . Builder<SetCommonInstanceMetadataProjectRequest , Operation , Operation > setCommonInstanceMetadataOperationSettings ()
Returns the builder for the settings used for calls to setCommonInstanceMetadata.
Returns
public UnaryCallSettings . Builder<SetCommonInstanceMetadataProjectRequest , Operation > setCommonInstanceMetadataSettings ()
Returns the builder for the settings used for calls to setCommonInstanceMetadata.
Returns
setDefaultNetworkTierOperationSettings()
public OperationCallSettings . Builder<SetDefaultNetworkTierProjectRequest , Operation , Operation > setDefaultNetworkTierOperationSettings ()
Returns the builder for the settings used for calls to setDefaultNetworkTier.
Returns
setDefaultNetworkTierSettings()
public UnaryCallSettings . Builder<SetDefaultNetworkTierProjectRequest , Operation > setDefaultNetworkTierSettings ()
Returns the builder for the settings used for calls to setDefaultNetworkTier.
Returns
setUsageExportBucketOperationSettings()
public OperationCallSettings . Builder<SetUsageExportBucketProjectRequest , Operation , Operation > setUsageExportBucketOperationSettings ()
Returns the builder for the settings used for calls to setUsageExportBucket.
Returns
setUsageExportBucketSettings()
public UnaryCallSettings . Builder<SetUsageExportBucketProjectRequest , Operation > setUsageExportBucketSettings ()
Returns the builder for the settings used for calls to setUsageExportBucket.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]