Send feedback
Class ProjectsStubSettings.Builder (1.45.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.45.0 keyboard_arrow_down
public static class ProjectsStubSettings . Builder extends StubSettings . Builder<ProjectsStubSettings , ProjectsStubSettings . Builder >
Builder for ProjectsStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(ProjectsStubSettings settings)
protected Builder ( ProjectsStubSettings settings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ProjectsStubSettings . 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.
build()
public ProjectsStubSettings build ()
Overrides
disableXpnHostOperationSettings()
public OperationCallSettings . Builder<DisableXpnHostProjectRequest , Operation , Operation > disableXpnHostOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to disableXpnHost.
disableXpnHostSettings()
public UnaryCallSettings . Builder<DisableXpnHostProjectRequest , Operation > disableXpnHostSettings ()
Returns the builder for the settings used for calls to disableXpnHost.
disableXpnResourceOperationSettings()
public OperationCallSettings . Builder<DisableXpnResourceProjectRequest , Operation , Operation > disableXpnResourceOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to disableXpnResource.
disableXpnResourceSettings()
public UnaryCallSettings . Builder<DisableXpnResourceProjectRequest , Operation > disableXpnResourceSettings ()
Returns the builder for the settings used for calls to disableXpnResource.
enableXpnHostOperationSettings()
public OperationCallSettings . Builder<EnableXpnHostProjectRequest , Operation , Operation > enableXpnHostOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to enableXpnHost.
enableXpnHostSettings()
public UnaryCallSettings . Builder<EnableXpnHostProjectRequest , Operation > enableXpnHostSettings ()
Returns the builder for the settings used for calls to enableXpnHost.
enableXpnResourceOperationSettings()
public OperationCallSettings . Builder<EnableXpnResourceProjectRequest , Operation , Operation > enableXpnResourceOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to enableXpnResource.
enableXpnResourceSettings()
public UnaryCallSettings . Builder<EnableXpnResourceProjectRequest , Operation > enableXpnResourceSettings ()
Returns the builder for the settings used for calls to enableXpnResource.
getEndpoint()
public String getEndpoint ()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getSettings()
public UnaryCallSettings . Builder<GetProjectRequest , Project > getSettings ()
Returns the builder for the settings used for calls to get.
getXpnHostSettings()
public UnaryCallSettings . Builder<GetXpnHostProjectRequest , Project > getXpnHostSettings ()
Returns the builder for the settings used for calls to getXpnHost.
getXpnResourcesSettings()
public PagedCallSettings . Builder<GetXpnResourcesProjectsRequest , ProjectsGetXpnResources , ProjectsClient . GetXpnResourcesPagedResponse > getXpnResourcesSettings ()
Returns the builder for the settings used for calls to getXpnResources.
listXpnHostsSettings()
public PagedCallSettings . Builder<ListXpnHostsProjectsRequest , XpnHostList , ProjectsClient . ListXpnHostsPagedResponse > listXpnHostsSettings ()
Returns the builder for the settings used for calls to listXpnHosts.
moveDiskOperationSettings()
public OperationCallSettings . Builder<MoveDiskProjectRequest , Operation , Operation > moveDiskOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to moveDisk.
moveDiskSettings()
public UnaryCallSettings . Builder<MoveDiskProjectRequest , Operation > moveDiskSettings ()
Returns the builder for the settings used for calls to moveDisk.
moveInstanceOperationSettings()
public OperationCallSettings . Builder<MoveInstanceProjectRequest , Operation , Operation > moveInstanceOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to moveInstance.
moveInstanceSettings()
public UnaryCallSettings . Builder<MoveInstanceProjectRequest , Operation > moveInstanceSettings ()
Returns the builder for the settings used for calls to moveInstance.
public OperationCallSettings . Builder<SetCommonInstanceMetadataProjectRequest , Operation , Operation > setCommonInstanceMetadataOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to setCommonInstanceMetadata.
public UnaryCallSettings . Builder<SetCommonInstanceMetadataProjectRequest , Operation > setCommonInstanceMetadataSettings ()
Returns the builder for the settings used for calls to setCommonInstanceMetadata.
setDefaultNetworkTierOperationSettings()
public OperationCallSettings . Builder<SetDefaultNetworkTierProjectRequest , Operation , Operation > setDefaultNetworkTierOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to setDefaultNetworkTier.
setDefaultNetworkTierSettings()
public UnaryCallSettings . Builder<SetDefaultNetworkTierProjectRequest , Operation > setDefaultNetworkTierSettings ()
Returns the builder for the settings used for calls to setDefaultNetworkTier.
setUsageExportBucketOperationSettings()
public OperationCallSettings . Builder<SetUsageExportBucketProjectRequest , Operation , Operation > setUsageExportBucketOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to setUsageExportBucket.
setUsageExportBucketSettings()
public UnaryCallSettings . Builder<SetUsageExportBucketProjectRequest , Operation > setUsageExportBucketSettings ()
Returns the builder for the settings used for calls to setUsageExportBucket.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
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 2025-02-04 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 2025-02-04 UTC."],[],[]]