Send feedback
  
   
 
  
    
      Class ProjectsStubSettings.Builder (1.88.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_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 ()  
  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 ()  
  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 ()  
  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 ()  
  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.
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 ()  
  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 ()  
  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.
setCloudArmorTierOperationSettings() 
  
    
public   OperationCallSettings . Builder<SetCloudArmorTierProjectRequest , Operation , Operation >  setCloudArmorTierOperationSettings ()  
  Returns the builder for the settings used for calls to setCloudArmorTier.
setCloudArmorTierSettings() 
  
    
public   UnaryCallSettings . Builder<SetCloudArmorTierProjectRequest , Operation >  setCloudArmorTierSettings ()  
  Returns the builder for the settings used for calls to setCloudArmorTier.
    
public   OperationCallSettings . Builder<SetCommonInstanceMetadataProjectRequest , Operation , Operation >  setCommonInstanceMetadataOperationSettings ()  
  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 ()  
  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 ()  
  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-10-28 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-10-28 UTC."],[],[]]