code: func (f *NodeClient) NodeGetCapabilities(ctx context.Context, in *csipb.NodeGetCapabilitiesRequest, opts ...grpc.CallOption) (*csipb.NodeGetCapabilitiesResponse, error) {
  	resp := &csipb.NodeGetCapabilitiesResponse{
  		Capabilities: []*csipb.NodeServiceCapability{},
  	}
  	if f.stageUnstageSet {
  		resp.Capabilities = append(resp.Capabilities, &csipb.NodeServiceCapability{
  			Type: &csipb.NodeServiceCapability_Rpc{
  				Rpc: &csipb.NodeServiceCapability_RPC{
  					Type: csipb.NodeServiceCapability_RPC_STAGE_UNSTAGE_VOLUME,
  				},
  			},
  		})
  	}
  	if f.expansionSet {
  		resp.Capabilities = append(resp.Capabilities, &csipb.NodeServiceCapability{
  			Type: &csipb.NodeServiceCapability_Rpc{
  				Rpc: &csipb.NodeServiceCapability_RPC{
  					Type: csipb.NodeServiceCapability_RPC_EXPAND_VOLUME,
  				},
  			},
  		})
  	}
  	return resp, nil
  }
docs: // NodeGetCapabilities implements csi method