Class ServingConfigServiceGrpc.ServingConfigServiceBlockingV2Stub (2.80.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ServingConfigServiceGrpc . ServingConfigServiceBlockingV2Stub   extends   AbstractBlockingStub<ServingConfigServiceGrpc . ServingConfigServiceBlockingV2Stub > 
   
  A stub to allow clients to do synchronous rpc calls to service ServingConfigService.
 Service for modifying ServingConfig.
 
  
    Inheritance 
    java.lang.Object    >  
    io.grpc.stub.AbstractStub    >  
    io.grpc.stub.AbstractBlockingStub    >  
    ServingConfigServiceGrpc.ServingConfigServiceBlockingV2Stub 
   
  
    Inherited Members 
    
      io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel) 
    
    
      io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions) 
    
    
      io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T) 
    
    
      io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions) 
    
    
      io.grpc.stub.AbstractStub.getCallOptions() 
    
    
      io.grpc.stub.AbstractStub.getChannel() 
    
    
      io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials) 
    
    
      io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel) 
    
    
      io.grpc.stub.AbstractStub.withCompression(java.lang.String) 
    
    
      io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline) 
    
    
      io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration) 
    
    
      io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit) 
    
    
      io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor) 
    
    
      io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...) 
    
    
      io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int) 
    
    
      io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int) 
    
    
      io.grpc.stub.AbstractStub.withOnReadyThreshold(int) 
    
    
      io.grpc.stub.AbstractStub.withWaitForReady() 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Methods
   
   
  addControl(AddControlRequest request) 
  
    
public   ServingConfig   addControl ( AddControlRequest   request )  
   
   Enables a Control on the specified ServingConfig.
 The control is added in the last position of the list of controls
 it belongs to (e.g. if it's a facet spec control it will be applied
 in the last position of servingConfig.facetSpecIds)
 Returns a ALREADY_EXISTS error if the control has already been applied.
 Returns a FAILED_PRECONDITION error if the addition could exceed maximum
 number of control allowed for that type of control.
 
  
  
   
  build(Channel channel, CallOptions callOptions) 
  
    
protected   ServingConfigServiceGrpc . ServingConfigServiceBlockingV2Stub   build ( Channel   channel ,   CallOptions   callOptions )  
   
  
    
      
        Parameters  
       
      
        Name  
        Description  
       
      
        channel 
        io.grpc.Channel  
       
      
        callOptions 
        io.grpc.CallOptions  
       
     
  
  
  Overrides 
  io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions) 
   
  createServingConfig(CreateServingConfigRequest request) 
  
    
public   ServingConfig   createServingConfig ( CreateServingConfigRequest   request )  
   
   Creates a ServingConfig.
 A maximum of 100 ServingConfig s
 are allowed in a Catalog , otherwise
 a FAILED_PRECONDITION error is returned.
 
  
  
   
  deleteServingConfig(DeleteServingConfigRequest request) 
  
    
public   Empty   deleteServingConfig ( DeleteServingConfigRequest   request )  
   
   Deletes a ServingConfig.
 Returns a NotFound error if the ServingConfig does not exist.
 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Empty  
         
       
     
  
   
  getServingConfig(GetServingConfigRequest request) 
  
    
public   ServingConfig   getServingConfig ( GetServingConfigRequest   request )  
   
   Gets a ServingConfig.
 Returns a NotFound error if the ServingConfig does not exist.
 
  
  
   
  listServingConfigs(ListServingConfigsRequest request) 
  
    
public   ListServingConfigsResponse   listServingConfigs ( ListServingConfigsRequest   request )  
   
   Lists all ServingConfigs linked to this catalog.
 
  
  
   
  removeControl(RemoveControlRequest request) 
  
    
public   ServingConfig   removeControl ( RemoveControlRequest   request )  
   
   Disables a Control on the specified ServingConfig.
 The control is removed from the ServingConfig.
 Returns a NOT_FOUND error if the Control is not enabled for the
 ServingConfig.
 
  
  
   
  updateServingConfig(UpdateServingConfigRequest request) 
  
    
public   ServingConfig   updateServingConfig ( UpdateServingConfigRequest   request )  
   
  
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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-30 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-30 UTC."],[],[]]