Class BareMetalSolutionGrpc.BareMetalSolutionStub (0.13.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.13.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  BareMetalSolutionGrpc . BareMetalSolutionStub   extends   AbstractAsyncStub<BareMetalSolutionGrpc . BareMetalSolutionStub > 
   Performs management operations on Bare Metal Solution servers.
 The baremetalsolution.googleapis.com service provides management
 capabilities for Bare Metal Solution servers. To access the API methods, you
 must assign Bare Metal Solution IAM roles containing the desired permissions
 to your staff in your Google Cloud project. You must also enable the Bare
 Metal Solution API. Once enabled, the methods act
 upon specific servers in your Bare Metal Solution environment.
    Inheritance 
    java.lang.Object  >  
    io.grpc.stub.AbstractStub  >  
    io.grpc.stub.AbstractAsyncStub  >  
    BareMetalSolutionGrpc.BareMetalSolutionStub 
   
  
    Inherited Members 
    
      io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel) 
    
    
      io.grpc.stub.AbstractAsyncStub.<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(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.withWaitForReady() 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Methods
   
  
    
protected   BareMetalSolutionGrpc . BareMetalSolutionStub   build ( Channel   channel ,   CallOptions   callOptions )  
  
    
      
        Parameters  
      
        Name Description  
      
        channelio.grpc.Channel  
      
        callOptionsio.grpc.CallOptions  
     
  
  
  Overrides 
  io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions) 
  
    
public   void   detachLun ( DetachLunRequest   request ,   StreamObserver<Operation>   responseObserver )  
   Detach LUN from Instance.
    
public   void   getInstance ( GetInstanceRequest   request ,   StreamObserver<Instance>   responseObserver )  
   Get details about a single server.
    
public   void   getLun ( GetLunRequest   request ,   StreamObserver<Lun>   responseObserver )  
   Get details of a single storage logical unit number(LUN).
    
      
        Parameters  
      
        Name Description  
      
        requestGetLunRequest  
      
        responseObserverio.grpc.stub.StreamObserver <Lun > 
     
  
  
    
public   void   getNetwork ( GetNetworkRequest   request ,   StreamObserver<Network>   responseObserver )  
   Get details of a single network.
    
public   void   getNfsShare ( GetNfsShareRequest   request ,   StreamObserver<NfsShare>   responseObserver )  
   Get details of a single NFS share.
    
public   void   getVolume ( GetVolumeRequest   request ,   StreamObserver<Volume>   responseObserver )  
   Get details of a single storage volume.
    
public   void   listInstances ( ListInstancesRequest   request ,   StreamObserver<ListInstancesResponse>   responseObserver )  
   List servers in a given project and location.
    
public   void   listLuns ( ListLunsRequest   request ,   StreamObserver<ListLunsResponse>   responseObserver )  
   List storage volume luns for given storage volume.
    
public   void   listNetworkUsage ( ListNetworkUsageRequest   request ,   StreamObserver<ListNetworkUsageResponse>   responseObserver )  
   List all Networks (and used IPs for each Network) in the vendor account
 associated with the specified project.
    
public   void   listNetworks ( ListNetworksRequest   request ,   StreamObserver<ListNetworksResponse>   responseObserver )  
   List network in a given project and location.
    
public   void   listNfsShares ( ListNfsSharesRequest   request ,   StreamObserver<ListNfsSharesResponse>   responseObserver )  
  
  
  
    
public   void   listVolumes ( ListVolumesRequest   request ,   StreamObserver<ListVolumesResponse>   responseObserver )  
   List storage volumes in a given project and location.
    
public   void   resetInstance ( ResetInstanceRequest   request ,   StreamObserver<Operation>   responseObserver )  
   Perform an ungraceful, hard reset on a server. Equivalent to shutting the
 power off and then turning it back on.
    
public   void   resizeVolume ( ResizeVolumeRequest   request ,   StreamObserver<Operation>   responseObserver )  
  
  
  
    
public   void   startInstance ( StartInstanceRequest   request ,   StreamObserver<Operation>   responseObserver )  
   Starts a server that was shutdown.
    
public   void   stopInstance ( StopInstanceRequest   request ,   StreamObserver<Operation>   responseObserver )  
  
  
  
    
public   void   updateInstance ( UpdateInstanceRequest   request ,   StreamObserver<Operation>   responseObserver )  
   Update details of a single server.
    
public   void   updateNetwork ( UpdateNetworkRequest   request ,   StreamObserver<Operation>   responseObserver )  
   Update details of a single network.
    
public   void   updateNfsShare ( UpdateNfsShareRequest   request ,   StreamObserver<Operation>   responseObserver )  
   Update details of a single NFS share.
    
public   void   updateVolume ( UpdateVolumeRequest   request ,   StreamObserver<Operation>   responseObserver )  
   Update details of a single storage volume.
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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.
 
 
  
  
  
    
      [[["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-28 UTC."],[],[]]