Class ModelServiceStubSettings.Builder (2.78.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.78.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   class  ModelServiceStubSettings . Builder   extends   StubSettings . Builder<ModelServiceStubSettings , ModelServiceStubSettings . Builder > 
  Builder for ModelServiceStubSettings.
Constructors
   
  Builder() 
  
  Builder(ClientContext clientContext) 
  
    
protected   Builder ( ClientContext   clientContext )  
  
  Builder(ModelServiceStubSettings settings) 
  
    
protected   Builder ( ModelServiceStubSettings   settings )  
  
  Methods
   
  applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) 
  
    
public   ModelServiceStubSettings . 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   ModelServiceStubSettings   build ()  
  
  Overrides 
  
  
  createModelOperationSettings() 
  
    
public   OperationCallSettings . Builder<CreateModelRequest , Model , CreateModelMetadata >  createModelOperationSettings ()  
  Returns the builder for the settings used for calls to createModel.
createModelSettings() 
  
    
public   UnaryCallSettings . Builder<CreateModelRequest , Operation >  createModelSettings ()  
  Returns the builder for the settings used for calls to createModel.
deleteModelSettings() 
  
    
public   UnaryCallSettings . Builder<DeleteModelRequest , Empty >  deleteModelSettings ()  
  Returns the builder for the settings used for calls to deleteModel.
getModelSettings() 
  
    
public   UnaryCallSettings . Builder<GetModelRequest , Model >  getModelSettings ()  
  Returns the builder for the settings used for calls to getModel.
listModelsSettings() 
  
    
public   PagedCallSettings . Builder<ListModelsRequest , ListModelsResponse , ModelServiceClient . ListModelsPagedResponse >  listModelsSettings ()  
  Returns the builder for the settings used for calls to listModels.
pauseModelSettings() 
  
    
public   UnaryCallSettings . Builder<PauseModelRequest , Model >  pauseModelSettings ()  
  Returns the builder for the settings used for calls to pauseModel.
resumeModelSettings() 
  
    
public   UnaryCallSettings . Builder<ResumeModelRequest , Model >  resumeModelSettings ()  
  Returns the builder for the settings used for calls to resumeModel.
tuneModelOperationSettings() 
  
    
public   OperationCallSettings . Builder<TuneModelRequest , TuneModelResponse , TuneModelMetadata >  tuneModelOperationSettings ()  
  Returns the builder for the settings used for calls to tuneModel.
tuneModelSettings() 
  
    
public   UnaryCallSettings . Builder<TuneModelRequest , Operation >  tuneModelSettings ()  
  Returns the builder for the settings used for calls to tuneModel.
unaryMethodSettingsBuilders() 
  
    
public   ImmutableList<UnaryCallSettings . Builder <? , ? >>  unaryMethodSettingsBuilders ()  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.common.collect.ImmutableList <Builder <? ,? >> 
     
  
  updateModelSettings() 
  
    
public   UnaryCallSettings . Builder<UpdateModelRequest , Model >  updateModelSettings ()  
  Returns the builder for the settings used for calls to updateModel.
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]